`alloc`-only `HashMap`?
Rust Internals [Unofficial]
April 7, 2026
AngheloAlf:
no_stdcrates can useBTreeMaptoo without issue, so it isn't that big of a deal imo
You would need some sort of Ord-wrapper to make it work for key types that are not Ord, assuming the keys can be totally ordered.
Discussion in the ATmosphere