#extension #hash-map

type-map

Provides a typemap container with FxHashMap

5 releases (3 breaking)

0.5.1 May 22, 2025
0.5.0 Feb 19, 2021
0.4.0 Jan 23, 2021
0.3.0 Feb 13, 2020
0.2.0 Jan 17, 2020

#290 in Algorithms

Download history 147213/week @ 2025-11-08 144341/week @ 2025-11-15 153391/week @ 2025-11-22 173453/week @ 2025-11-29 186446/week @ 2025-12-06 182392/week @ 2025-12-13 161895/week @ 2025-12-20 195461/week @ 2025-12-27 240267/week @ 2026-01-03 226669/week @ 2026-01-10 251549/week @ 2026-01-17 227624/week @ 2026-01-24 289750/week @ 2026-01-31 314720/week @ 2026-02-07 243606/week @ 2026-02-14 276240/week @ 2026-02-21

1,163,202 downloads per month
Used in 1,282 crates (26 directly)

MIT/Apache

17KB
304 lines

type-map

Docs Crates.io

TypeMap is a typed HashMap for Any values, similar to typemap, http::Extensions, and actix-http::Extensions.

Provides the best of both http::Extensions and actix_http::Extensions, with some code and tests drawn directly from actix-http::Extensions.

Useful when you need a typemap container, but not in the context of actix-web or an http project.

Dependencies

~25KB