#typemap #extensions #hashmap

type-map

Provides a typemap container with FxHashMap

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

#915 in Rust patterns

Download history 10830/week @ 2022-06-07 12293/week @ 2022-06-14 11315/week @ 2022-06-21 13046/week @ 2022-06-28 12759/week @ 2022-07-05 11755/week @ 2022-07-12 12622/week @ 2022-07-19 12665/week @ 2022-07-26 12299/week @ 2022-08-02 13033/week @ 2022-08-09 13142/week @ 2022-08-16 12946/week @ 2022-08-23 13222/week @ 2022-08-30 13308/week @ 2022-09-06 12381/week @ 2022-09-13 12096/week @ 2022-09-20

52,921 downloads per month
Used in 109 crates (12 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