9 releases
0.8.0 | Dec 7, 2024 |
---|---|
0.2.0 | Apr 24, 2023 |
0.1.0 | Apr 23, 2023 |
0.0.8 | Jan 28, 2023 |
0.0.2 | Jul 7, 2022 |
#515 in Programming languages
270 downloads per month
Used in cbqn
1MB
27K
SLoC
cbqn-sys
A crate providing FFI bindings to CBQN.
Features
shared-object
The default feature is shared-object
which links to libcbqn.so. It can be built using shared-o3
target. Use RUSTFLAGS="-L /path/to/cbqn"
and LD_LIBRARY_PATH=/path/to/cbqn/libcbqn.so
if the shared object is not in a system-wide path.
No features
Building without features gives only the API to CBQN. Used with cbqn-rs WASI backend for example.
Pregenerated bindings
Pregenerated bindings can be found from src/pregenerated.rs
. To recreate them, use bindgen-cli.
License
Licensed either under GPLv3, LGPLv3 or MPL 2.0 following the licensing of CBQN.