Paul Campbell
5e0e7c2d71
- adds tokio::sync as a dependency to provide an async Mutex for Clone of Net and MockNet ## ƒs - adds `Clone` to `DirItem` - adds `Default`, `PartialEq` and `Eq` to `FileSystem`, `PathMarker`, `FileMarker` and `DirMarker` - adds `Default` to `PathReal` - adds `Clone`, `Debug`, `Default`, `PartialEq` and `Eq` to `Reader` ## net - `MockNet::try_from` now returns a `Future`, so should be `await`ed - adds `Debug` to `Plan` - adds `Debug` and `Default` to `Net` - adds `Debug`, `Clone` and `Default` to `MockNet` - adds `Debug`, `Clone`, `PartialEq` and `Eq` to `MatchRequest` - adds `Debug` and `Clone` to `WhenRequest`
41 lines
1 KiB
TOML
41 lines
1 KiB
TOML
[package]
|
|
name = "kxio"
|
|
version = "2.1.1"
|
|
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"]
|
|
|
|
[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]
|
|
derive_more = { version = "1.0", features = [
|
|
"constructor",
|
|
"display",
|
|
"from"
|
|
] }
|
|
http = "1.1"
|
|
path-clean = "1.0"
|
|
reqwest = { version = "0.12", features = [ "json" ] }
|
|
url = "2.5"
|
|
tempfile = "3.10"
|
|
tokio = { version = "1.41", features = [ "sync" ] }
|
|
|
|
[dev-dependencies]
|
|
assert2 = "0.3"
|
|
pretty_assertions = "1.4"
|
|
test-log = "0.2"
|
|
tokio = { version = "1.41", features = [
|
|
"macros",
|
|
"rt-multi-thread"
|
|
] }
|
|
tokio-test = "0.4"
|
|
|
|
[package.metadata.bin]
|
|
# Conventional commits githook
|
|
cc-cli = { version = "0.1" }
|