From 5573bf19f80d194e70e291e9fb47f0505cf51180 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sat, 4 Jan 2025 20:17:45 +0000 Subject: [PATCH] fix(deps): update rust crate kxio to v5 --- Cargo.toml | 10 +++------- src/tests/run.rs | 2 ++ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index aefb506..cfe337f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,22 +7,18 @@ publish = false # NOTE: Not a CLI tool or a library, so don't release to crates. [dependencies] anyhow = "1.0" bon = "3.0" -ignore = "0.4" file-format = { version = "0.26", features = ["reader-txt"] } - - -kxio = "3.1" - +ignore = "0.4" +kxio = "5.0" regex = "1.10" serde = { version = "1.0", features = ["derive"] } tokio = { version = "1.37", features = ["full"] } [dev-dependencies] assert2 = "0.3" +mutants = "0.0" pretty_assertions = "1.4" rstest = "0.24" -mutants = "0.0" - [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } diff --git a/src/tests/run.rs b/src/tests/run.rs index 08363d7..c1a9ac4 100644 --- a/src/tests/run.rs +++ b/src/tests/run.rs @@ -35,6 +35,7 @@ async fn run_with_some_invalids() /* -> Result<()> */ //then assert!(result.is_err()); // there is an invalid file + net.assert_no_unused_plans(); } #[tokio::test] @@ -64,4 +65,5 @@ async fn run_with_no_invalids() { //then assert!(result.is_ok()); // there is an invalid file + net.assert_no_unused_plans(); }