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

#695 in Programming languages

Download history 18/week @ 2024-02-19 25/week @ 2024-02-26 12/week @ 2024-03-04 23/week @ 2024-03-11 12/week @ 2024-03-18

72 downloads per month
Used in cbqn

GPL-3.0-only

1MB
30K SLoC

C 20K SLoC // 0.0% comments C++ 6K SLoC // 0.1% 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