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
|
|
|
|
2024-04-16 06:57:59 +01:00
|
|
|
[features]
|
2024-04-28 12:34:51 +01:00
|
|
|
default = ["fs", "network"]
|
2024-04-16 06:57:59 +01:00
|
|
|
fs = []
|
|
|
|
network = []
|
|
|
|
|
2024-10-29 22:11:26 +00:00
|
|
|
[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"
|
|
|
|
|
2024-04-08 15:19:06 +01:00
|
|
|
# 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"
|
2024-10-29 22:11:26 +00:00
|
|
|
secrecy = "0.8"
|
2024-04-08 15:19:06 +01:00
|
|
|
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"
|
2024-04-28 14:58:55 +01:00
|
|
|
path-clean = "1.0"
|
2024-04-08 14:33:39 +01:00
|
|
|
|
2024-05-17 12:00:18 +01:00
|
|
|
# boilerplate
|
2024-08-01 19:15:41 +01:00
|
|
|
derive_more = { version = "1.0.0-beta", features = [
|
2024-05-17 12:00:18 +01:00
|
|
|
"from",
|
|
|
|
"display",
|
|
|
|
"constructor",
|
|
|
|
] }
|
2024-04-27 20:31:23 +01:00
|
|
|
|
2024-04-08 15:19:06 +01:00
|
|
|
[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" }
|