Skip to content

setup rust

LoFi edited this page Jan 26, 2026 · 1 revision

Setup: Rust

1. Install LoFi Gate

Install the package (requires Python 3.8+):

pip install lofi-gate

2. Initialize Physics

Scaffold the configuration into your workspace:

lofi-gate init

This creates .agent/skills/lofi-gate/.

3. Configure Cargo.toml (Optional)

Rust doesn't have a standardized "scripts" section like Node, but you can use cargo-make or just run the CLI directly.

Using cargo-make (Makefile.toml):

[tasks.verify]
command = "lofi-gate"
args = ["verify", "--parallel"]

4. Verify

Run the gate manually:

lofi-gate verify

Clone this wiki locally