From 4045b4989f6025b01ead7f88361ec927bf195a15 Mon Sep 17 00:00:00 2001 From: David Knaack Date: Wed, 6 Sep 2023 18:10:50 +0900 Subject: [PATCH] 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> --- Cargo.lock | 4 +++- Cargo.toml | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 92aeddca..02ac25f6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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", diff --git a/Cargo.toml b/Cargo.toml index 69ec498b..b674ae4e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"