Closed cuviper closed 4 months ago
ahash
, a dependency of v1 indexmap, no longer compiles on new Rust nightly versions: https://github.com/tkaitchuck/aHash/issues/200
As a result, the latest version of tower no longer builds on Rust nightly
This PR should fix that problem
ahash
, a dependency of v1 indexmap
I'm not sure what you're seeing, but indexmap
has never had a dependency on ahash
. Even its hashbrown
dependency has always been with default-features = false
to avoid ahash
there, unless something else enabled that.
ahash
, a dependency of v1 indexmapI'm not sure what you're seeing, but
indexmap
has never had a dependency onahash
. Even itshashbrown
dependency has always been withdefault-features = false
to avoidahash
there, unless something else enabled that.
You're right, I wasn't precise. ahash
is a dependency on more level down as you pointed out: tower
-> indexmap
-> hashbrown
-> ahash
.
Pulling in tower by itself with no other crates, even with features = ["full"]
set, still compiles on nightly because hashbrown
has default-features = false
set by default.
It seems some other crate in our workspace is turning on the ahash
feature of hashbrown
. The output of cargo tree
was showing ahash
in the tree underneath tower
even though the feature got turned on elsewhere.
So in that case, bumping indexmap to v2 on tower probably wouldn't help out since there is some other crate somewhere depending on it and turning on the feature.
Apologies for the confusion here.
OK -- cargo tree -i ahash -e features
may help you track that down!
This has been released as part of tower@v0.5.0
.
Thanks again for your contribution!
We were later able to relax
hashbrown
andindexmap
to MSRV 1.63, so I've updated that here. Either way, this is well beyondtower
's stated 6-month MSRV policy.