From 9f05d6aef60447d7994f9395329d41a30c3017f9 Mon Sep 17 00:00:00 2001 From: Michael Weiss Date: Mon, 30 Dec 2024 18:31:17 +0100 Subject: [PATCH] Update the `config` crate from 0.13.4 to 0.15.4 We had to revert the update to version 0.14 in 4c6f027 due to a breaking change that made the `config` crate case-insensitive regarding configuration keys/settings. The impact of that upstream change/"regression" was tracked in [0], the change finally got reverted in [1], and version 0.15.0 was released with the original (case-sensitive) behaviour. [0]: https://github.com/mehcode/config-rs/issues/531 [1]: https://github.com/rust-cli/config-rs/pull/613 Signed-off-by: Michael Weiss --- Cargo.lock | 52 +++++++--------------------------------------------- Cargo.toml | 2 +- 2 files changed, 8 insertions(+), 46 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 05a3cd4e..3e807725 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -121,17 +121,6 @@ dependencies = [ "unicode-width", ] -[[package]] -name = "async-trait" -version = "0.1.83" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "721cae7de5c34fbb2acd27e21e6d2cf7b886dce0c27388d46c4e6c47ea4318dd" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.93", -] - [[package]] name = "atomic-waker" version = "1.1.2" @@ -269,7 +258,7 @@ dependencies = [ "terminal_size", "tokio", "tokio-stream", - "toml 0.8.19", + "toml", "tracing", "tracing-chrome", "tracing-subscriber", @@ -425,16 +414,14 @@ dependencies = [ [[package]] name = "config" -version = "0.13.4" +version = "0.15.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23738e11972c7643e4ec947840fc463b6a571afcd3e735bdfce7d03c7a784aca" +checksum = "3d84f8d224ac58107d53d3ec2b9ad39fd8c8c4e285d3c9cb35485ffd2ca88cb3" dependencies = [ - "async-trait", - "lazy_static", - "nom", "pathdiff", "serde", - "toml 0.5.11", + "toml", + "winnow", ] [[package]] @@ -1098,7 +1085,7 @@ dependencies = [ "os_info", "serde", "serde_derive", - "toml 0.8.19", + "toml", "uuid", ] @@ -1633,7 +1620,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fd01039851e82f8799046eabbb354056283fb265c8ec0996af940f4e85a380ff" dependencies = [ "serde", - "toml 0.8.19", + "toml", ] [[package]] @@ -1653,12 +1640,6 @@ version = "0.3.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" -[[package]] -name = "minimal-lexical" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" - [[package]] name = "miniz_oxide" version = "0.8.2" @@ -1696,16 +1677,6 @@ dependencies = [ "tempfile", ] -[[package]] -name = "nom" -version = "7.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" -dependencies = [ - "memchr", - "minimal-lexical", -] - [[package]] name = "nu-ansi-term" version = "0.46.0" @@ -2966,15 +2937,6 @@ dependencies = [ "tokio", ] -[[package]] -name = "toml" -version = "0.5.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234" -dependencies = [ - "serde", -] - [[package]] name = "toml" version = "0.8.19" diff --git a/Cargo.toml b/Cargo.toml index 89b9a76f..26544be8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,7 +32,7 @@ chrono = "0.4" clap = { version = "4", features = ["cargo"] } clap_complete = "4" colored = "2" -config = { version = "0.13", default-features = false, features = [ "toml" ] } +config = { version = "0.15", default-features = false, features = [ "toml" ] } csv = "1" daggy = { version = "0.8", features = [ "serde" ] } dialoguer = "0.11"