diff --git a/Cargo.lock b/Cargo.lock index fc772ad..a6898e1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -997,7 +997,7 @@ dependencies = [ "pear", "serde", "tempfile", - "toml", + "toml 0.8.23", "uncased", "version_check", ] @@ -1201,7 +1201,7 @@ dependencies = [ "test-util", "time", "tokio", - "toml", + "toml 1.1.5+spec-1.1.0", "zeroize", ] @@ -1247,7 +1247,7 @@ dependencies = [ "thiserror", "time", "tokio", - "toml", + "toml 1.1.5+spec-1.1.0", "tower", "tower-http 0.7.1", "tracing", @@ -1309,7 +1309,7 @@ dependencies = [ "thiserror", "time", "tokio", - "toml", + "toml 1.1.5+spec-1.1.0", "toml_edit 0.22.27", "tracing", "url", @@ -3375,6 +3375,15 @@ dependencies = [ "serde", ] +[[package]] +name = "serde_spanned" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6662b5879511e06e8999a8a235d848113e942c9124f211511b16466ee2995f26" +dependencies = [ + "serde_core", +] + [[package]] name = "serde_urlencoded" version = "0.7.1" @@ -3767,11 +3776,26 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc1beb996b9d83529a9e75c17a1686767d148d70663143c7854d8b4a09ced362" dependencies = [ "serde", - "serde_spanned", + "serde_spanned 0.6.9", "toml_datetime 0.6.11", "toml_edit 0.22.27", ] +[[package]] +name = "toml" +version = "1.1.5+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12c0ba9680044b4ce98d391a62094047eada0d64860b80166c39f4a6b5640785" +dependencies = [ + "indexmap", + "serde_core", + "serde_spanned 1.1.1", + "toml_datetime 1.1.1+spec-1.1.0", + "toml_parser", + "toml_writer", + "winnow 1.0.4", +] + [[package]] name = "toml_datetime" version = "0.6.11" @@ -3798,7 +3822,7 @@ checksum = "41fe8c660ae4257887cf66394862d21dbca4a6ddd26f04a3560410406a2f819a" dependencies = [ "indexmap", "serde", - "serde_spanned", + "serde_spanned 0.6.9", "toml_datetime 0.6.11", "toml_write", "winnow 0.7.15", @@ -3831,6 +3855,12 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5d99f8c9a7727884afe522e9bd5edbfc91a3312b36a77b5fb8926e4c31a41801" +[[package]] +name = "toml_writer" +version = "1.1.2+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d56353a2a665ad0f41a421187180aab746c8c325620617ad883a99a1cbe66d2" + [[package]] name = "tower" version = "0.5.3" diff --git a/Cargo.toml b/Cargo.toml index 0e528f4..e028749 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -184,7 +184,7 @@ indicatif = { version = "=0.18.6", default-features = false, features = ["unicod figment = { version = "=0.10.19", features = ["toml", "env"] } # TOML serialization for writing the tool config (`config init`, `catalogs --sync`, the # wizard). Pinned to the version figment already brings, so no duplicate crate enters. -toml = "=0.8.23" +toml = "=1.1.5" # Format-preserving TOML editing, already in the tree via `toml`. A tool config is updated # in place rather than re-serialised, so operator comments and inline credentials survive. toml_edit = "=0.22.27"