From 42afb9c740aeec92be5e420d1556295bc513da20 Mon Sep 17 00:00:00 2001 From: Muhammad Hamza Date: Tue, 30 May 2023 19:42:48 +0500 Subject: [PATCH] update other deps as well --- Cargo.toml | 6 +++--- src/manifest/mod.rs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 67109416..04d4bd57 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -31,7 +31,7 @@ serde_json = "1.0.91" siphasher = "0.3.10" strsim = "0.10.0" clap = { version = "4.2.5", features = ["derive"] } -toml = "0.5.11" +toml = "0.7.3" ureq = { version = "2.6.2", features = ["json"] } walkdir = "2.3.2" which = "4.4.0" @@ -39,8 +39,8 @@ which = "4.4.0" [dev-dependencies] assert_cmd = "2.0.8" lazy_static = "1.4.0" -predicates = "2.1.5" -serial_test = "1.0.0" +predicates = "3.0.3" +serial_test = "2.0.0" tempfile = "3.3.0" reqwest = { version = "0.11.14", features = ["blocking"] } diff --git a/src/manifest/mod.rs b/src/manifest/mod.rs index 26c28e47..dc7bfbc7 100644 --- a/src/manifest/mod.rs +++ b/src/manifest/mod.rs @@ -437,7 +437,7 @@ impl CrateData { pub fn parse_crate_data(manifest_path: &Path) -> Result { let manifest = fs::read_to_string(&manifest_path) .with_context(|| anyhow!("failed to read: {}", manifest_path.display()))?; - let manifest = &mut toml::Deserializer::new(&manifest); + let manifest = toml::Deserializer::new(&manifest); let mut unused_keys = BTreeSet::new(); let levenshtein_threshold = 1;