Skip to main content

Crate cargo_airbender

Crate cargo_airbender 

Source
Expand description

§cargo-airbender Build status License: MIT OR Apache-2.0 rust nightly required cargo subcommand

Documentation: API docs | CLI reference

[!WARNING] airbender-platform project is under active development and is in alpha state. Use at your own risk.

cargo-airbender is the main CLI for Airbender project scaffolding, guest builds, execution, proving, and verification.

§Commands

  • new: create a host + guest template project.
  • build: compile a guest and package a dist/ bundle.
  • run and flamegraph: execute guest binaries through the transpiler.
  • prove, generate-vk, and verify-proof: work with dev, CPU, or GPU proof flows, including 80-bit or 100-bit real proof security.
  • clean: remove Docker resources created by reproducible builds.

§Installation

From a local checkout:

cargo install --path crates/cargo-airbender --force

From GitHub:

cargo install --git https://github.com/matter-labs/airbender-platform --branch main cargo-airbender --force

By default GPU support is enabled. Install with --no-default-features if you want a CLI binary without GPU proving support.

§Requirements

  • Rust nightly pinned by rust-toolchain.toml.
  • cargo-binutils for guest build flows that invoke cargo objcopy.
  • Docker only when using reproducible builds.

§License

Licensed under either Apache License, Version 2.0 or MIT license at your option.

Modules§

cli 🔒
commands 🔒
error 🔒
input 🔒
ui 🔒

Functions§

init_tracing 🔒
main 🔒