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

#817 in Data structures

Download history 41042/week @ 2024-01-16 35518/week @ 2024-01-23 41870/week @ 2024-01-30 48080/week @ 2024-02-06 47352/week @ 2024-02-13 45527/week @ 2024-02-20 43116/week @ 2024-02-27 45112/week @ 2024-03-05 46618/week @ 2024-03-12 50127/week @ 2024-03-19 52291/week @ 2024-03-26 45255/week @ 2024-04-02 44135/week @ 2024-04-09 50374/week @ 2024-04-16 48135/week @ 2024-04-23 39076/week @ 2024-04-30

188,032 downloads per month
Used in 290 crates (18 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

~9KB