Build the Rust Core
Prerequisites
- A recent stable Rust toolchain (Rust 1.70+; CI builds on
stable) - Python 3.9+
- maturin
The crates use Rust edition 2021. The Cargo.toml does not pin a minimum Rust version, so any current stable toolchain works.
Clone
git clone https://github.com/briefcasebrain/briefcase-ai-sdk.gitcd briefcase-ai-sdkThe repository is a Cargo workspace with the core library (crates/briefcase-core) and the PyO3 bindings (bindings/python).
Build the Rust Core
cargo build -p briefcase-core --lockedRun Tests
cargo test -p briefcase-core --lockedBuild the Python Bindings
pip install maturinmaturin developThis compiles the Rust core through the bindings and installs the briefcase._native extension into the active environment. Add --release for an optimized build:
maturin develop --releaseSee Development for the full contributor workflow.
Next steps
Development The full contributor workflow: tooling, tests, and conventions.