mirror of
https://github.com/taiki-e/install-action.git
synced 2026-05-10 14:40:32 +00:00
codegen: Use toml instead of toml_edit
This commit is contained in:
@@ -16,7 +16,7 @@ serde_json = "1"
|
|||||||
sha2 = "0.10"
|
sha2 = "0.10"
|
||||||
spdx = "0.10"
|
spdx = "0.10"
|
||||||
tar = "0.4"
|
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?
|
# TODO: call curl command instead of using ureq?
|
||||||
ureq = { version = "2", features = ["json"] }
|
ureq = { version = "2", features = ["json"] }
|
||||||
|
|
||||||
|
|||||||
@@ -397,7 +397,7 @@ fn main() -> Result<()> {
|
|||||||
eprintln!("download complete");
|
eprintln!("download complete");
|
||||||
}
|
}
|
||||||
if pubkey.is_none() {
|
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)?,
|
&fs::read_to_string(crate_download_cache)?,
|
||||||
)?;
|
)?;
|
||||||
eprintln!(
|
eprintln!(
|
||||||
|
|||||||
Reference in New Issue
Block a user