| 1 | NibbleVec |
| 2 | ==== |
| 3 | |
| 4 | [](https://travis-ci.org/michaelsproul/rust_nibble_vec) |
| 5 | |
| 6 | Data-structure for storing a sequence of half-bytes. |
| 7 | |
| 8 | Wraps a `Vec<u8>`, providing safe and memory-efficient storage of 4-bit values. |
| 9 | |
| 10 | 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). |
| 11 | |
| 12 | ## Usage |
| 13 | |
| 14 | This code is available on the Rust package host: |
| 15 | |
| 16 | https://crates.io/crates/nibble_vec |
| 17 | |
| 18 | You can use it in your own projects by adding `nibble_vec` as a dependency in your `Cargo.toml`. |
| 19 | |
| 20 | ```toml |
| 21 | [dependencies] |
| 22 | nibble_vec = "0.0.5" |
| 23 | ``` |
| 24 | |
| 25 | ## Documentation |
| 26 | |
| 27 | API documentation is available here: |
| 28 | |
| 29 | https://docs.rs/nibble_vec |
| 30 | |
| 31 | ## Contributors |
| 32 | |
| 33 | Made by: |
| 34 | |
| 35 | * Alexander Andreev ([@andreevlex](https://github.com/andreevlex)) |
| 36 | * Devin Ragotzy ([@DevinR528](https://github.com/DevinR528)) |
| 37 | * Michael Sproul ([@michaelsproul](https://github.com/michaelsproul)) |
| 38 | * Vinzent Steinberg ([@vks](https://github.com/vks)) |
| 39 | |
| 40 | ## License |
| 41 | |
| 42 | MIT License. Copyright © Michael Sproul and contributors 2015-present. |