Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yuvadm/bchlib

Rust bindings for BCH encoding/decoding library, based on the bch_codec fork
https://github.com/yuvadm/bchlib

bch coding-theory encoding rust

Last synced: 28 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# bchlib

[![Crates.io](https://img.shields.io/crates/v/bchlib.svg)](https://crates.io/crates/bchlib)

Rust bindings for BCH encoding/decoding library, based on the [bch_codec](https://github.com/mborgerding/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:

```bash
$ 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](LICENSE.md)