`alloc`-only `HashMap`?
Rust Internals [Unofficial]
April 10, 2026
That is an interesting suggestion, although that's a lot of new API surface to hash out (pun intended).
But if this existed, I would probably transition indexmap to use it instead of direct hashbrown, for example.
Discussion in the ATmosphere