5 releases

0.1.0 Jun 27, 2020
0.0.5 Jun 26, 2020
0.0.4 Nov 7, 2017
0.0.3 Apr 5, 2015
0.0.2 Mar 31, 2015

#1153 in Data structures

Download history 546902/week @ 2025-09-18 604676/week @ 2025-09-25 605466/week @ 2025-10-02 554618/week @ 2025-10-09 583520/week @ 2025-10-16 703639/week @ 2025-10-23 704038/week @ 2025-10-30 701616/week @ 2025-11-06 707434/week @ 2025-11-13 691981/week @ 2025-11-20 489318/week @ 2025-11-27 707312/week @ 2025-12-04 662535/week @ 2025-12-11 480893/week @ 2025-12-18 257584/week @ 2025-12-25 457369/week @ 2026-01-01

2,017,851 downloads per month
Used in 775 crates (2 directly)

MIT license

17KB
337 lines

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.5"

Documentation

API documentation is available here:

https://docs.rs/nibble_vec

Contributors

Made by:

License

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

Dependencies

~78KB