codegen: Use toml instead of toml_edit

This commit is contained in:
Taiki Endo
2025-07-10 00:20:52 +09:00
parent bd0f8cfaf1
commit ea7f99bca8
2 changed files with 2 additions and 2 deletions

View File

@@ -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"] }

View File

@@ -397,7 +397,7 @@ fn main() -> Result<()> {
eprintln!("download complete");
}
if pubkey.is_none() {
let cargo_manifest = toml_edit::de::from_str::<cargo_manifest::Manifest>(
let cargo_manifest = toml::de::from_str::<cargo_manifest::Manifest>(
&fs::read_to_string(crate_download_cache)?,
)?;
eprintln!(