codegen: Use toml_edit directly

This commit is contained in:
Taiki Endo
2023-10-25 00:12:46 +09:00
parent ac89944b5b
commit 6bb3a496f8
2 changed files with 2 additions and 2 deletions

View File

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