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"}
It is recommended to use the latest release tag of the form vX.Y.Z
(example v0.18.0
) to be in sync with the latest declared Maintained Smart Contracts.
[dependencies]
garaga_rs = { git = "https://github.com/keep-starknet-strange/garaga.git", tag = "v0.18.0" }
Features
The garaga_rs
crate provides optional features for different use cases:
No features (default): Pure Rust library without any bindings
python
feature: Enables Python bindings via PyO3 (for use with maturin)wasm
feature: 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 = "v0.18.0", features = ["python"] }
Last updated
Was this helpful?