7 releases
0.2.4+bitmagic.7.7.7 | Nov 22, 2021 |
---|---|
0.2.3+bitmagic.7.6.0 | Nov 9, 2021 |
0.2.1+bitmagic.7.4.0 | Jul 9, 2021 |
0.2.0+bitmagic.7.3.1 | Mar 25, 2021 |
0.1.1+bitmagic.7.3.1 | Mar 19, 2021 |
#394 in #generation
Used in bitmagic
2.5MB
65K
SLoC
bitmagic-sys
Raw (unsafe, low-level) bindings for BitMagic. Exposes the BitMagic C API as generated by bindgen.
The bindings generation is inspired by how zstd-rs handles bindgen
calls.
There is a copy of the bindgen
-generated files in src/bindings.rs
and by default it is used when the crate is build.
If the optional feature bindgen
is active,
then it will run bindgen
during the build process and regenerate the bindings
dynamically. This is useful in places where installing the bindgen
dependencies (like libclang
) is difficult.