Rust bindings to libisal, the Intel(R) Intelligent Storage Acceleration Library
Currently only bindings for Erasure codes are implemented. CRC, Raid, Compression and De-compression might follow later (PRs welcome).
```toml
[dependencies] isal = "0.1.0" ```
Building isa-l
from source is not yet supported. Version >= 2.14.1
must be installed on the system.
libisal-sys
bindingsTo update the bindings we use bindgen
and update the resulting bindings manually:
bindgen
:
console
$ cargo install bindgen
libisal
on the system.tools
directory:
console
$ cd tools
wrapper.h
and bindgen.sh
console
$ bindgen.sh > libisal-sys/lib.bindgen.rs
console
$ vimdiff libisal-sys/lib.bindgen.rs libisal-sys/lib.rs