#integer #ways #parser #numbers #four-bit

nightly no-std nibble

Ways of parsing four-bit integers, i.e. nibbles.

1 unstable release

Uses old Rust 2015

0.1.0 Oct 30, 2017

#10 in #ways

CC0 license

110KB
3K SLoC

Nibble types

Ways of parsing four-bit integers, i.e. nibbles. You may freely use and modify this code under the CC0 1.0 Universal License.

You can find the rustdoc here.

Usage

To use in your own project, just add the below to your Cargo.toml file.

[dependencies]
nibble = "0.1"

If you're interested in using this crate with no_std:

[dependencies]
nibble = { version = "0.1", default-features = false }

(note, this currently does not work)


lib.rs:

This crate contains all sorts of types for dealing with nibbles, i.e. four-byte numbers. Curretly, only unsigned nibbles are supported.

Dependencies

~330KB