#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

#852 in Data structures

Download history 15413/week @ 2022-12-03 14546/week @ 2022-12-10 15923/week @ 2022-12-17 12918/week @ 2022-12-24 14904/week @ 2022-12-31 16809/week @ 2023-01-07 15261/week @ 2023-01-14 16164/week @ 2023-01-21 18171/week @ 2023-01-28 17739/week @ 2023-02-04 19605/week @ 2023-02-11 17035/week @ 2023-02-18 18842/week @ 2023-02-25 20668/week @ 2023-03-04 19763/week @ 2023-03-11 18546/week @ 2023-03-18

79,944 downloads per month
Used in 165 crates (14 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