Crates.io | bitmagic-sys |
lib.rs | bitmagic-sys |
version | 0.2.4+bitmagic.7.7.7 |
source | src |
created_at | 2021-03-19 21:13:58.368021 |
updated_at | 2021-11-22 04:23:16.547605 |
description | Low-level bindings for the bitmagic. |
homepage | |
repository | https://github.com/luizirber/bitmagic-rs |
max_upload_size | |
id | 371099 |
size | 4,929,385 |
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.