Update toml and toml_edit crates (#8963)

Eliminates a few duplicate versions from the dependency tree.
This commit is contained in:
Heikki Linnakangas
2024-09-08 21:47:23 +03:00
committed by GitHub
parent 93ec7503e0
commit 89c5e80b3f
8 changed files with 26 additions and 56 deletions

View File

@@ -174,7 +174,7 @@ async fn main() -> anyhow::Result<()> {
println!("specified prefix '{}' failed validation", cmd.prefix);
return Ok(());
};
let toml_document = toml_edit::Document::from_str(&cmd.config_toml_str)?;
let toml_document = toml_edit::DocumentMut::from_str(&cmd.config_toml_str)?;
let toml_item = toml_document
.get("remote_storage")
.expect("need remote_storage");