8 releases

0.2.0 Apr 24, 2023
0.1.0 Apr 23, 2023
0.0.8 Jan 28, 2023
0.0.7 Dec 6, 2022
0.0.2 Jul 7, 2022

#706 in Programming languages


Used in cbqn

GPL-3.0-only

1.5MB
33K SLoC

C 20K SLoC // 0.0% comments C++ 6K SLoC // 0.1% comments BQN 3.5K SLoC // 0.0% comments Python 3.5K SLoC // 0.0% comments Rust 226 SLoC // 0.1% comments Shell 148 SLoC // 0.0% comments PowerShell 79 SLoC Bazel 18 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.

bindgen

The bindgen feature generates new bindings using Bindgen.

No features

Building without features gives only the API to CBQN. Used with cbqn-rs WASI backend for example.

Dependencies