#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

#1 in #extensions

Download history 240811/week @ 2026-01-19 227834/week @ 2026-01-26 311691/week @ 2026-02-02 294353/week @ 2026-02-09 248209/week @ 2026-02-16 349579/week @ 2026-02-23 352817/week @ 2026-03-02 362706/week @ 2026-03-09 363598/week @ 2026-03-16 376152/week @ 2026-03-23 371735/week @ 2026-03-30 397228/week @ 2026-04-06 415854/week @ 2026-04-13 391102/week @ 2026-04-20 433891/week @ 2026-04-27 383296/week @ 2026-05-04

1,663,339 downloads per month
Used in 1,616 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

~26KB