diff --git a/Cargo.toml b/Cargo.toml index 9ae3d94..181e329 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,7 +39,7 @@ 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" diff --git a/src/manifest/mod.rs b/src/manifest/mod.rs index 8063dfe..6a76988 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;