52 lines
1 KiB
TOML
52 lines
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 = []
|
|
|
|
# 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.6", 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" }
|