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

#452 in Data structures

Download history 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 68133/week @ 2024-11-28 66896/week @ 2024-12-05 69244/week @ 2024-12-12 56922/week @ 2024-12-19 50171/week @ 2024-12-26 54380/week @ 2025-01-02

241,123 downloads per month
Used in 470 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