#bindings #ffi #jerasure #gf-complete

sys jerasure-sys

FFI bindings to the jerasure and gf-complete library

1 unstable release

new 0.1.0 Mar 7, 2025

#311 in #ffi

Download history 52/week @ 2025-03-02

52 downloads per month

MIT license

1MB
24K SLoC

C 23K SLoC // 0.1% comments Shell 644 SLoC // 0.2% comments M4 328 SLoC // 0.5% comments Rust 202 SLoC // 0.1% comments Automake 147 SLoC // 0.2% comments

Contains (obscure autoconf code, 3KB) vendor/gf-complete/configure.ac, (obscure autoconf code, 2KB) vendor/jerasure/configure.ac

jerasure-sys

Jerasure-sys is a Rust FFI binding for gf-complete and jerasure, which provides erasure coding in C. This project allows you to use Galois computation and erasure codes functionality in your Rust applications.

Requirements

This crate bundles the source code of gf-complete and jerasure, and compiles these libs during the build process, so you don't need to have any libraries pre-installed on your system.

Contributing

Feel free to open an issue. If you've got a fix or feature ready, open a PR. Thanks!

License

MIT

No runtime deps

~0–2.2MB
~45K SLoC