From ca6fe904ee2afc0d52aa41f19f953242c7f2efd5 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Thu, 22 Sep 2022 14:07:25 +0000 Subject: [PATCH] Downgrade `hashbrown` to meet MSRV `hashbrown` depends on `ahash` which depends on `once_cell`. Sadly, in https://github.com/matklad/once_cell/issues/201 the `once_cell` maintainer decided they didn't want to do the work of having an MSRV policy for `once_cell`, making `ahash`, and thus `hashbrown` require the latest compiler. I've reached out to `ahash` to suggest they drop the dependency (as they could trivially work around not having it), but until then we simply downgrade `hashbrown`. `rust-bitcoin` also requires an older `hashbrown` so we're actually reducing our total `no-std` code here anyway. --- lightning/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightning/Cargo.toml b/lightning/Cargo.toml index e6b1dc6f5a4..c2c3077a5df 100644 --- a/lightning/Cargo.toml +++ b/lightning/Cargo.toml @@ -40,7 +40,7 @@ default = ["std", "grind_signatures"] [dependencies] bitcoin = { version = "0.29.0", default-features = false, features = ["secp-recovery"] } -hashbrown = { version = "0.11", optional = true } +hashbrown = { version = "0.8", optional = true } hex = { version = "0.4", optional = true } regex = { version = "1.5.6", optional = true } backtrace = { version = "0.3", optional = true }