Paul Campbell
3699733e32
- Replace the woodpecker config with forgejo actions. - Add issue number to TODOs to pass CI check - Remove special clang/mold linker commands - Remove docker builder - Add lints.rust.unexoected_cfgs to allo tarpaulin_include - fix: revert upgrade to secrecy 0.10
55 lines
1.1 KiB
TOML
55 lines
1.1 KiB
TOML
[package]
|
|
name = "kxio"
|
|
version = "1.2.0"
|
|
edition = "2021"
|
|
authors = ["Paul Campbell <pcampbell@kemitix.net>"]
|
|
description = "Provides injectable Filesystem and Network resources to make code more testable"
|
|
license = "MIT"
|
|
repository = "https://git.kemitix.net/kemitix/kxio"
|
|
exclude = [".cargo_home"]
|
|
|
|
[features]
|
|
default = ["fs", "network"]
|
|
fs = []
|
|
network = []
|
|
|
|
[lints.rust]
|
|
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] }
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
# logging
|
|
tracing = "0.1"
|
|
|
|
# network
|
|
async-trait = "0.1"
|
|
http = "1.1"
|
|
reqwest = "0.12"
|
|
secrecy = "0.8"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
serde-xml-rs = "0.6"
|
|
thiserror = "1.0"
|
|
|
|
# fs
|
|
tempfile = "3.10"
|
|
path-clean = "1.0"
|
|
|
|
# boilerplate
|
|
derive_more = { version = "1.0.0-beta", features = [
|
|
"from",
|
|
"display",
|
|
"constructor",
|
|
] }
|
|
|
|
[dev-dependencies]
|
|
# testing
|
|
assert2 = "0.3"
|
|
pretty_assertions = "1.4"
|
|
test-log = "0.2"
|
|
tokio-test = "0.4"
|
|
|
|
[package.metadata.bin]
|
|
# Conventional commits githook
|
|
cc-cli = { version = "0.1" }
|