kxio/Cargo.toml

56 lines
1.1 KiB
TOML
Raw Normal View History

2024-04-08 14:33:39 +01:00
[package]
name = "kxio"
2024-05-17 12:00:18 +01:00
version = "1.2.0"
2024-04-08 14:33:39 +01:00
edition = "2021"
2024-04-08 18:12:14 +01:00
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"]
2024-04-08 14:33:39 +01:00
[features]
default = ["fs", "network"]
fs = []
network = []
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] }
2024-04-08 14:33:39 +01:00
# 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"
2024-04-08 17:46:19 +01:00
http = "1.1"
2024-04-08 17:01:50 +01:00
reqwest = "0.12"
secrecy = "0.8"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde-xml-rs = "0.6"
thiserror = "1.0"
2024-04-08 14:33:39 +01:00
# fs
tempfile = "3.10"
path-clean = "1.0"
2024-04-08 14:33:39 +01:00
2024-05-17 12:00:18 +01:00
# boilerplate
derive_more = { version = "1.0.0-beta", features = [
2024-05-17 12:00:18 +01:00
"from",
"display",
"constructor",
] }
[dev-dependencies]
# testing
assert2 = "0.3"
pretty_assertions = "1.4"
test-log = "0.2"
tokio-test = "0.4"
2024-04-08 14:33:39 +01:00
[package.metadata.bin]
# Conventional commits githook
cc-cli = { version = "0.1" }