Rust Guide
Rust is the Forge reference implementation and the anchor for release-gate expectations.
Primary surfaces
forge-rs/crates/forge-coreforge-rs/crates/forge-agentforge-rs/crates/forge-identityforge-rs/crates/forge-authforge-rs/crates/forge-mcp
Choose Rust when
- you want the reference behavior first
- you need the strongest view into the release gate
- you are working close to conformance, performance, or WASM-adjacent runtime behavior
Use Rust when you need
- reference behavior
- release-gate and conformance anchoring
- workspace-wide testing and verification
- the earliest implementation of new core runtime features
Baseline developer workflow
- start from the
forge-rsworkspace - verify the release gate and crate-level tests
- use the crate map rather than treating
forge-sdkas the only entry point - read the provider, identity, auth, and agent contracts together
Useful verification commands
cargo test --workspacepython3 tools/release_gate.py --root .
Current guidance
Treat Rust as the most complete reference surface, but rely on the repo-level release gate rather than assumptions when determining production readiness.