Rust Crate
To use the garaga_rs crate in your project, add the following to your Cargo.toml
[dependencies]
garaga_rs = { git = "https://github.com/keep-starknet-strange/garaga.git"}Version Compatibility: Use the latest release tag (e.g., v1.0.1) to match the declared Maintained Smart Contracts and ensure compatibility with the pip package that generated your verifiers.
[dependencies]
garaga_rs = { git = "https://github.com/keep-starknet-strange/garaga.git", tag = "v1.0.1" }Features
The garaga_rs crate provides optional features for different use cases:
No features (default): Pure Rust library without any bindings
pythonfeature: Enables Python bindings via PyO3 (for use with maturin)wasmfeature: Enables WebAssembly bindings via wasm-bindgen (for use with wasm-pack)
For example, if you're building a Python extension:
[dependencies]
garaga_rs = { git = "https://github.com/keep-starknet-strange/garaga.git", tag = "v1.0.1", features = ["python"] }Last updated
Was this helpful?