4 releases

0.0.4 Nov 7, 2017
0.0.3 Apr 5, 2015
0.0.2 Mar 31, 2015
0.0.1 Mar 20, 2015

#7 in Data structures

Download history 5900/week @ 2018-05-06 7697/week @ 2018-05-13 7461/week @ 2018-05-20 6700/week @ 2018-05-27 7210/week @ 2018-06-03 6736/week @ 2018-06-10 5599/week @ 2018-06-17 5851/week @ 2018-06-24 7255/week @ 2018-07-01 4937/week @ 2018-07-08 1512/week @ 2018-07-15 1350/week @ 2018-07-22 1061/week @ 2018-07-29

25,028 downloads per month

NibbleVec

Build Status

Data-structure for storing a sequence of half-bytes.

Wraps a Vec<u8>, providing safe and memory-efficient storage of 4-bit values.

In terms of supported operations, the structure behaves kind of like a fixed length array, in that insertions into the middle of the vector are difficult (and unimplemented at present).

Usage

This code is available on the Rust package host:

https://crates.io/crates/nibble_vec

You can use it in your own projects by adding nibble_vec as a dependency in your Cargo.toml.

[dependencies]
nibble_vec = "0.0.3"

Documentation

API documentation is available here:

https://docs.rs/nibble_vec

License

MIT License. Copyright © Michael Sproul and contributors 2015-2017.

MIT license
  • No runtime deps

Reverse deps