#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

#17 in Data structures

Download history 52461/week @ 2019-01-20 49817/week @ 2019-01-27 54141/week @ 2019-02-03 55321/week @ 2019-02-10 53341/week @ 2019-02-17 59219/week @ 2019-02-24 56673/week @ 2019-03-03 60132/week @ 2019-03-10 56730/week @ 2019-03-17 56216/week @ 2019-03-24 62928/week @ 2019-03-31 65556/week @ 2019-04-07 60847/week @ 2019-04-14 60683/week @ 2019-04-21 61356/week @ 2019-04-28

198,851 downloads per month
Used in 3,235 crates (39 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

~198KB

  • eders? serde 1.0+derive