#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

#308 in Data structures

Download history 433907/week @ 2026-04-24 415236/week @ 2026-05-01 437987/week @ 2026-05-08 492715/week @ 2026-05-15 491769/week @ 2026-05-22 567238/week @ 2026-05-29 639063/week @ 2026-06-05 559196/week @ 2026-06-12 529496/week @ 2026-06-19 519827/week @ 2026-06-26 489608/week @ 2026-07-03 590889/week @ 2026-07-10 648021/week @ 2026-07-17 672199/week @ 2026-07-24 688525/week @ 2026-07-31 601754/week @ 2026-08-07

2,703,082 downloads per month
Used in 2,210 crates (28 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