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

#390 in Data structures

Download history 62421/week @ 2024-10-30 60034/week @ 2024-11-06 62043/week @ 2024-11-13 62472/week @ 2024-11-20 68250/week @ 2024-11-27 67046/week @ 2024-12-04 68774/week @ 2024-12-11 61998/week @ 2024-12-18 49520/week @ 2024-12-25 60553/week @ 2025-01-01 68537/week @ 2025-01-08 69046/week @ 2025-01-15 64714/week @ 2025-01-22 66635/week @ 2025-01-29 71083/week @ 2025-02-05 57988/week @ 2025-02-12

270,708 downloads per month
Used in 519 crates (22 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

~24KB