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] isa-l = "0.1" ```
Dynamic linking to libisal >= 2.14.1
is attempted otherwise it is built from source. Building from source requires
nasm
or yasm
(See https://github.com/intel/isa-l#prerequisites).
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