#data-structures #collections #vecmap #vec_map #contain-rs

vec_map

A simple map based on a vector for small integer keys

9 releases (breaking)

0.8.1 May 11, 2018
0.8.0 May 8, 2017
0.7.0 Feb 27, 2017
0.6.0 Feb 15, 2016
0.3.0 Jul 11, 2015

#2 in Data structures

Download history 34424/week @ 2018-10-11 47025/week @ 2018-10-18 41875/week @ 2018-10-25 47951/week @ 2018-11-01 47170/week @ 2018-11-08 51187/week @ 2018-11-15 45896/week @ 2018-11-22 44743/week @ 2018-11-29 51987/week @ 2018-12-06 56058/week @ 2018-12-13 48117/week @ 2018-12-20 35338/week @ 2018-12-27 34503/week @ 2019-01-03

198,851 downloads per month
Used in 2,753 crates (36 directly)

MIT/Apache

49KB
1K SLoC

WARNING: THIS PROJECT IS IN MAINTENANCE MODE, DUE TO INSUFFICIENT MAINTAINER RESOURCES

It works fine, but will generally no longer be improved.

We are currently only accepting changes which:

  • keep this compiling with the latest versions of Rust or its dependencies.
  • have minimal review requirements, such as documentation changes (so not totally new APIs).

A simple map based on a vector for small integer keys.

Documentation is available at https://contain-rs.github.io/vec-map/vec_map.


lib.rs:

A simple map based on a vector for small integer keys. Space requirements are O(highest integer key).

Dependencies

~208KB

  • eders? serde 1.0+derive