| Crates.io | cbqn-sys |
| lib.rs | cbqn-sys |
| version | 0.8.0 |
| created_at | 2022-07-07 09:19:15.522881+00 |
| updated_at | 2024-12-07 22:05:58.998478+00 |
| description | FFI bindings to CBQN |
| homepage | https://github.com/Detegr/cbqn-sys |
| repository | https://github.com/Detegr/cbqn-sys.git |
| max_upload_size | |
| id | 621073 |
| size | 1,830,396 |
A crate providing FFI bindings to CBQN.
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.
Building without features gives only the API to CBQN. Used with cbqn-rs WASI backend for example.
Pregenerated bindings can be found from src/pregenerated.rs. To recreate them, use bindgen-cli.
Licensed either under GPLv3, LGPLv3 or MPL 2.0 following the licensing of CBQN.