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

#396 in Algorithms

Download history 33669/week @ 2023-11-21 33485/week @ 2023-11-28 35153/week @ 2023-12-05 33071/week @ 2023-12-12 29101/week @ 2023-12-19 23651/week @ 2023-12-26 32880/week @ 2024-01-02 33655/week @ 2024-01-09 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 43118/week @ 2024-02-27 37452/week @ 2024-03-05

179,453 downloads per month
Used in 267 crates (17 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