From a9012782643501c5313dd5747fc8d5450e01cd49 Mon Sep 17 00:00:00 2001 From: Hector Martin Date: Thu, 7 Dec 2023 20:06:13 +0900 Subject: [PATCH] Cargo.toml: Upgrade configparser and enable indexmap We need this to keep speaker order stable for blackbox dumps to have meaning. Signed-off-by: Hector Martin --- Cargo.lock | 29 +++++++++++++++++++++++++++-- Cargo.toml | 2 +- 2 files changed, 28 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9537753..3b18012 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -160,9 +160,12 @@ dependencies = [ [[package]] name = "configparser" -version = "2.1.0" +version = "3.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7201ee416d124d589a820111ba755930df8b75855321a9a1b87312a0597ec8f" +checksum = "e0e56e414a2a52ab2a104f85cd40933c2fbc278b83637facf646ecf451b49237" +dependencies = [ + "indexmap", +] [[package]] name = "core-foundation-sys" @@ -170,6 +173,12 @@ version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa" +[[package]] +name = "equivalent" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" + [[package]] name = "errno" version = "0.2.8" @@ -191,6 +200,12 @@ dependencies = [ "libc", ] +[[package]] +name = "hashbrown" +version = "0.14.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" + [[package]] name = "heck" version = "0.4.1" @@ -235,6 +250,16 @@ dependencies = [ "cc", ] +[[package]] +name = "indexmap" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f" +dependencies = [ + "equivalent", + "hashbrown", +] + [[package]] name = "io-lifetimes" version = "1.0.5" diff --git a/Cargo.toml b/Cargo.toml index a64a41a..e4d9dc3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ repository = "https://github.com/AsahiLinux/speakersafetyd/" [dependencies] alsa = "^0.8.1" -configparser = { version = "^2.1.0"} +configparser = { version = "^3.0.3", features=["indexmap"] } clap = { version = "4.1.6", features=["derive"] } log = "0.4.17" clap-verbosity-flag = "2.0.0"