#codec #fork #bindings #bch #build #bchlib #bch-codec

sys bchlib-sys

Low-level Rust bindings for BCH encoding/decoding library, based on the bch_codec fork

3 unstable releases

0.2.1 May 27, 2019
0.2.0 May 27, 2019
0.1.0 Mar 18, 2019

#6 in #bch


Used in bchlib

GPL-2.0 license

54KB
998 lines

bchlib

Crates.io

Rust bindings for BCH encoding/decoding library, based on the bch_codec fork.

This workspace repo contains both the high-level bchlib project as well as the lower-level bchlib-sys project that builds the original C library.

Usage

Add the library to your Cargo.toml:

[dependencies]
bchlib = "0.2.1"

Build

The usual:

$ cargo build
$ cargo test

Note that due to usage of bindgen in the lower level bchlib-sys project, you will need clang to be installed on your system.

License

GPLv2

No runtime deps

~0–2MB
~37K SLoC