Bump indexmap to 2.0 (#9643)

# Description
Apart from `polars` (only used with `--features dataframe`) and the
dev-dependencies our deps use `indexmap 2.0`.
Thus the default or `extra` `cargo build` will reduce deps.
This also will help deduplicating `hashbrown` and `ahash`.

For #8060

- Bump `indexmap` to 2.0
- Remove unneeded `serde` feature from `indexmap`

# User-Facing Changes
None
This commit is contained in:
Stefan Holderbach
2023-07-10 10:30:01 +02:00
committed by GitHub
parent 92354a817c
commit a3702e1eb7
6 changed files with 10 additions and 10 deletions

View File

@ -13,4 +13,4 @@ version = "0.82.1"
nu-engine = { path = "../nu-engine", version = "0.82.1" }
nu-path = { path = "../nu-path", version = "0.82.1" }
nu-protocol = { version = "0.82.1", path = "../nu-protocol" }
indexmap = { version = "1.7", features = ["serde-1"] }
indexmap = { version = "2.0" }

View File

@ -20,7 +20,7 @@ nu-protocol = { path = "../nu-protocol", version = "0.82.1" }
# Potential dependencies for extras
chrono = { version = "0.4", features = ["std", "unstable-locales"], default-features = false }
fancy-regex = "0.11"
indexmap = { version = "1.7", features = ["serde-1"] }
indexmap = { version = "2.0" }
num = { version = "0.4", optional = true }
serde = { version = "1.0", features = ["derive"] }
sqlparser = { version = "0.34", features = ["serde"], optional = true }

View File

@ -49,7 +49,7 @@ filesize = "0.2"
filetime = "0.2"
fs_extra = "1.3"
htmlescape = "0.3"
indexmap = { version = "1.7", features = ["serde-1"] }
indexmap = "2.0"
indicatif = "0.17"
is-root = "0.1"
itertools = "0.10"

View File

@ -19,7 +19,7 @@ byte-unit = "4.0"
chrono = { version = "0.4", features = [ "serde", "std", "unstable-locales" ], default-features = false }
chrono-humanize = "0.2"
fancy-regex = "0.11"
indexmap = { version = "1.7" }
indexmap = "2.0"
lru = "0.10"
miette = { version = "5.9", features = ["fancy-no-backtrace"] }
num-format = "0.4"

View File

@ -12,7 +12,7 @@ version = "0.82.1"
nu-plugin = { path = "../nu-plugin", version = "0.82.1" }
nu-protocol = { path = "../nu-protocol", version = "0.82.1", features = ["plugin"] }
indexmap = { version = "1.7", features = ["serde-1"] }
indexmap = "2.0"
eml-parser = "0.1"
ical = "0.8"
rust-ini = "0.19.0"