From 8820be95a4b7b917c9873eabcabdd615bb3ece22 Mon Sep 17 00:00:00 2001 From: Daniel Norman Date: Mon, 12 Oct 2026 17:18:06 +0200 Subject: [PATCH] radicle, node: Enable `std` feature of `indexmap` The crates `radicle` and `radicle-node` need the default hasher for `IndexMap` and `IndexSet`, which currently gets enabled indirectly by `serde_json`, which depends on `indexmap` with `std` enabled by default. Make the dependency on the `std` feature of `indexmap` explicit. Co-authored-by: Lorenz Leutgeb --- crates/radicle-node/Cargo.toml | 2 +- crates/radicle/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/radicle-node/Cargo.toml b/crates/radicle-node/Cargo.toml index 14e9d53b1..c6e355d0b 100644 --- a/crates/radicle-node/Cargo.toml +++ b/crates/radicle-node/Cargo.toml @@ -27,7 +27,7 @@ dhat = { version = "0.3.3", optional = true } fastrand = { workspace = true } getrandom = { workspace = true, features = ["std"] } gix-packetline = { workspace = true, features = ["blocking-io"] } -indexmap = { workspace = true } +indexmap = { workspace = true, features = ["std"] } lexopt = { workspace = true } log = { workspace = true, features = ["kv", "std"] } mio = { version = "1", features = ["net", "os-poll"] } diff --git a/crates/radicle/Cargo.toml b/crates/radicle/Cargo.toml index 3eb5df6fc..d8a0d7300 100644 --- a/crates/radicle/Cargo.toml +++ b/crates/radicle/Cargo.toml @@ -36,7 +36,7 @@ dunce = { workspace = true } fast-glob = { version = "0.3.2" } fastrand = { workspace = true, features = ["std"] } git2 = { workspace = true, features = ["vendored-libgit2"] } -indexmap = { workspace = true, features = ["serde"] } +indexmap = { workspace = true, features = ["serde", "std"] } log = { workspace = true, features = ["std"] } multibase = { workspace = true, features = ["std"] } nonempty = { workspace = true, features = ["serialize"] }