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 <marcan@marcan.st>
This commit is contained in:
Hector Martin 2023-12-07 20:06:13 +09:00
parent 38bc94fa77
commit a901278264
2 changed files with 28 additions and 3 deletions

29
Cargo.lock generated
View file

@ -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"

View file

@ -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"