{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreiccje5xx77eu5g6jp43qzaaofkpuyhnjvqlnz6c3debtujbxb6rdq",
    "uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3miyhtqwxidy2"
  },
  "path": "/t/alloc-only-hashmap/24071#post_13",
  "publishedAt": "2026-04-07T18:26:39.000Z",
  "site": "https://internals.rust-lang.org",
  "textContent": "AngheloAlf:\n\n> `no_std` crates can use `BTreeMap` too without issue, so it isn't that big of a deal imo\n\nYou 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.",
  "title": "`alloc`-only `HashMap`?"
}