build(deps): update rust crate indexmap to v2 (#5405)

* build(deps): update rust crate indexmap to v2

* enable `indexmap2`-feature in `schemars`

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
David Knaack 2023-09-06 18:10:50 +09:00 committed by GitHub
parent 78f53d133a
commit 4045b4989f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

4
Cargo.lock generated
View File

@ -1802,6 +1802,7 @@ checksum = "d5477fe2230a79769d8dc68e0eabf5437907c0457a5614a9e8dddb67f65eb65d"
dependencies = [
"equivalent",
"hashbrown 0.14.0",
"serde",
]
[[package]]
@ -2755,6 +2756,7 @@ checksum = "763f8cd0d4c71ed8389c90cb8100cba87e763bd01a8e614d4f0af97bcd50a161"
dependencies = [
"dyn-clone",
"indexmap 1.9.3",
"indexmap 2.0.0",
"schemars_derive",
"serde",
"serde_json",
@ -3017,7 +3019,7 @@ dependencies = [
"gix-features",
"guess_host_triple",
"home",
"indexmap 1.9.3",
"indexmap 2.0.0",
"log",
"mockall",
"nix 0.27.1",

View File

@ -51,7 +51,7 @@ gethostname = "0.4.3"
# default feature restriction addresses https://github.com/starship/starship/issues/4251
gix = { version = "0.52.0", default-features = false, features = ["max-performance-safe"] }
gix-features = { version = "0.33.0", optional = true }
indexmap = { version = "1.9.3", features = ["serde"] }
indexmap = { version = "2.0.0", features = ["serde"] }
log = { version = "0.4.20", features = ["std"] }
# notify-rust is optional (on by default) because the crate doesn't currently build for darwin with nix
# see: https://github.com/NixOS/nixpkgs/issues/160876
@ -98,7 +98,7 @@ shell-words = "1.1.0"
[dependencies.schemars]
version = "0.8.13"
optional = true
features = ["preserve_order", "indexmap"]
features = ["preserve_order", "indexmap2"]
[target.'cfg(windows)'.dependencies]
deelevate = "0.2.0"