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"}
[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

  • 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 = "v1.0.1", features = ["python"] }

Last updated

Was this helpful?