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

#474 in Data structures

Download history 53792/week @ 2024-08-22 53472/week @ 2024-08-29 55281/week @ 2024-09-05 51313/week @ 2024-09-12 47698/week @ 2024-09-19 54868/week @ 2024-09-26 53542/week @ 2024-10-03 57567/week @ 2024-10-10 56583/week @ 2024-10-17 57306/week @ 2024-10-24 63537/week @ 2024-10-31 58529/week @ 2024-11-07 62257/week @ 2024-11-14 63624/week @ 2024-11-21 68164/week @ 2024-11-28 56948/week @ 2024-12-05

260,300 downloads per month
Used in 425 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

~24KB