External Publication
Visit Post

`alloc`-only `HashMap`?

Rust Internals [Unofficial] April 7, 2026
Source

AngheloAlf:

no_std crates can use BTreeMap too 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

Loading comments...