4 releases (breaking)

0.5.0 Feb 19, 2021
0.4.0 Jan 23, 2021
0.3.0 Feb 13, 2020
0.2.0 Jan 17, 2020

#464 in Data structures

Download history 52485/week @ 2024-07-20 52138/week @ 2024-07-27 55631/week @ 2024-08-03 57497/week @ 2024-08-10 50880/week @ 2024-08-17 54891/week @ 2024-08-24 54839/week @ 2024-08-31 52891/week @ 2024-09-07 48691/week @ 2024-09-14 53426/week @ 2024-09-21 51206/week @ 2024-09-28 54492/week @ 2024-10-05 58887/week @ 2024-10-12 55597/week @ 2024-10-19 59795/week @ 2024-10-26 62895/week @ 2024-11-02

245,103 downloads per month
Used in 392 crates (21 directly)

MIT/Apache

16KB
273 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

~23KB