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

vec_map

A simple map based on a vector for small integer keys

8 releases (breaking)

0.8.0 May 8, 2017
0.7.0 Feb 27, 2017
0.6.0 Feb 15, 2016
0.4.0 Nov 8, 2015
0.0.1 May 4, 2015

#2 in Data structures

Download history 28773/week @ 2018-06-22 32905/week @ 2018-06-29 33599/week @ 2018-07-06 35061/week @ 2018-07-13 35712/week @ 2018-07-20 33996/week @ 2018-07-27 35997/week @ 2018-08-03 35373/week @ 2018-08-10 33554/week @ 2018-08-17 34076/week @ 2018-08-24 35198/week @ 2018-08-31 37782/week @ 2018-09-07 41175/week @ 2018-09-14

102,486 downloads per month
Used in 2,430 crates (35 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

~218KB

  • eders? serde 1.0+derive