| Crates.io | isa-l |
| lib.rs | isa-l |
| version | 0.2.0 |
| created_at | 2020-03-02 13:06:47.35621+00 |
| updated_at | 2020-06-25 10:42:10.238918+00 |
| description | Idiomatic bindings to libisal, the Intel(R) Intelligent Storage Acceleration Library |
| homepage | |
| repository | https://gitlab.com/kschibli/isa-l-rs |
| max_upload_size | |
| id | 214461 |
| size | 26,799 |
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).
# Cargo.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:
$ cargo install bindgen
libisal on the system.tools directory:
$ cd tools
wrapper.h and bindgen.sh$ ./bindgen.sh > ../libisal-sys/lib.bindgen.rs
$ vimdiff ../libisal-sys/lib.bindgen.rs ../libisal-sys/lib.rs