#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

#299 in Algorithms

Download history 155574/week @ 2025-10-23 140531/week @ 2025-10-30 150053/week @ 2025-11-06 139852/week @ 2025-11-13 159554/week @ 2025-11-20 163974/week @ 2025-11-27 181524/week @ 2025-12-04 185963/week @ 2025-12-11 175422/week @ 2025-12-18 187816/week @ 2025-12-25 215903/week @ 2026-01-01 228619/week @ 2026-01-08 253145/week @ 2026-01-15 228766/week @ 2026-01-22 256618/week @ 2026-01-29 330668/week @ 2026-02-05

1,111,075 downloads per month
Used in 1,219 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