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

#427 in Data structures

Download history 59723/week @ 2024-11-08 63124/week @ 2024-11-15 62924/week @ 2024-11-22 68961/week @ 2024-11-29 66579/week @ 2024-12-06 69609/week @ 2024-12-13 52615/week @ 2024-12-20 51706/week @ 2024-12-27 67635/week @ 2025-01-03 69987/week @ 2025-01-10 67144/week @ 2025-01-17 64376/week @ 2025-01-24 68362/week @ 2025-01-31 71030/week @ 2025-02-07 35056/week @ 2025-02-14

185,102 downloads per month
Used in 469 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