diff --git a/tools/codegen/Cargo.toml b/tools/codegen/Cargo.toml index 6a375cce..fe6b8c9e 100644 --- a/tools/codegen/Cargo.toml +++ b/tools/codegen/Cargo.toml @@ -16,7 +16,7 @@ serde_json = "1" sha2 = "0.10" spdx = "0.10" tar = "0.4" -toml_edit = { version = "0.23", default-features = false, features = ["parse", "serde"] } +toml = { version = "0.9", default-features = false, features = ["parse", "serde"] } # TODO: call curl command instead of using ureq? ureq = { version = "2", features = ["json"] } diff --git a/tools/codegen/src/main.rs b/tools/codegen/src/main.rs index f1abc07a..757c86be 100644 --- a/tools/codegen/src/main.rs +++ b/tools/codegen/src/main.rs @@ -397,7 +397,7 @@ fn main() -> Result<()> { eprintln!("download complete"); } if pubkey.is_none() { - let cargo_manifest = toml_edit::de::from_str::( + let cargo_manifest = toml::de::from_str::( &fs::read_to_string(crate_download_cache)?, )?; eprintln!(