docs.rs failed to build barretenberg-sys-0.1.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
barretenberg-sys
FFI bindings to Barretenberg
Dependencies
To leverage the barretenberg-sys crate, you'll need to install some global packages:
-
libompUsually installable via
brew install libomporapt install libomp-dev. -
pkg-configUsually installable via
brew install pkg-configorapt install pkg-config. -
lldLinker provided by Clang, but might need to be installed via
apt install lld. -
barretenberg(preferably at commit500daf1ceb03771d2c01eaf1a86139a7ac1d814f)Needs to be built and installed following the instructions in the README. Note that barretenberg has its own dependencies that will need to be installed, such as
cmakeandninja.
Usage
Nix
We provide a Nix Flake that shows you how to configure an environment if you're building your Rust code inside Nix.