From ea7f99bca8af1c04dd07d402bd50233e94131a9f Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Thu, 10 Jul 2025 00:20:52 +0900 Subject: [PATCH] codegen: Use toml instead of toml_edit --- tools/codegen/Cargo.toml | 2 +- tools/codegen/src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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!(