C bindings to the Rust QCS SDK to enable pyQuil-like features from C and C-compatible languages.
This library is implemented in Rust, so the first thing you need is rustup. The default, stable toolchain will work just fine.
Next, because this library relies on ØMQ, you'll need [cmake] installed:
- macOS Homebrew :
brew install cmake - Windows Chocolatey:
choco install cmake - Debian:
apt install cmake
Finally, this project uses cargo-make in order to orchestrate build tasks, so install that using cargo install cargo-make.
- Run
makers(no args, default flow) to build and run tests. makers lintdoes linting.makers release-flowwill do a release build of the C-SDK and spit out a.dylibfile in the current directory.makers detect-leakswill run the tests with clang arguments that will attempt to detect memory issues.
This library is documented using mdBook. The hosted version can be found GitHub Pages. You can use makers book to build it or makers serve-book to run a local webserver which will watch for some changes.