2024-04-08 14:33:39 +01:00
|
|
|
[package]
|
|
|
|
name = "kxio"
|
2024-11-20 20:48:13 +00:00
|
|
|
version = "3.0.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-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]
|
2024-11-17 11:24:28 +00:00
|
|
|
bytes = "1.8"
|
2024-11-06 20:32:39 +00:00
|
|
|
derive_more = { version = "1.0", features = [
|
2024-11-09 07:52:42 +00:00
|
|
|
"constructor",
|
2024-11-06 20:32:39 +00:00
|
|
|
"display",
|
2024-11-09 07:52:42 +00:00
|
|
|
"from"
|
2024-11-06 20:32:39 +00:00
|
|
|
] }
|
2024-04-08 17:46:19 +01:00
|
|
|
http = "1.1"
|
2024-11-04 10:22:31 +00:00
|
|
|
path-clean = "1.0"
|
2024-11-15 09:06:45 +00:00
|
|
|
reqwest = { version = "0.12", features = [ "json" ] }
|
2024-11-12 07:13:59 +00:00
|
|
|
url = "2.5"
|
2024-04-08 14:33:39 +01:00
|
|
|
tempfile = "3.10"
|
feat: Add Debug, Clone, Default, PartialEq, Eq, Send, Sync to as many or our types as possible.
- 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`
WIP: mutation tests
2024-11-16 08:46:07 +00:00
|
|
|
tokio = { version = "1.41", features = [ "sync" ] }
|
2024-04-27 20:31:23 +01:00
|
|
|
|
2024-04-08 15:19:06 +01:00
|
|
|
[dev-dependencies]
|
|
|
|
assert2 = "0.3"
|
|
|
|
pretty_assertions = "1.4"
|
|
|
|
test-log = "0.2"
|
2024-11-09 07:52:42 +00:00
|
|
|
tokio = { version = "1.41", features = [
|
|
|
|
"macros",
|
|
|
|
"rt-multi-thread"
|
|
|
|
] }
|
2024-04-08 15:19:06 +01:00
|
|
|
tokio-test = "0.4"
|
|
|
|
|
2024-04-08 14:33:39 +01:00
|
|
|
[package.metadata.bin]
|
|
|
|
# Conventional commits githook
|
|
|
|
cc-cli = { version = "0.1" }
|