> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sifr.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Rust Developer Guide

> A guided path for Rust developers learning how Sifr exposes ownership, Result, Option, generated Rust, and native builds through Python-shaped syntax.

If you know Rust, Sifr's safety model will feel familiar, but the source language keeps Python-shaped syntax. Use this path to map ownership, typed errors, generated Rust, and native binaries back to concepts you already know.

<CardGroup cols={2}>
  <Card title="Rust Concepts in Sifr" icon="route" href="/guides/rust-developers/rust-concepts">
    Translate `Option`, `Result`, borrowing, mutation, and generated Rust into Sifr's source model.
  </Card>

  <Card title="Ownership and Mutability" icon="refresh-cw" href="/language/ownership">
    Map `mut`, `own`, and borrow-by-default to Sifr's source model.
  </Card>

  <Card title="Error Handling" icon="triangle-alert" href="/language/error-handling">
    See how `Result` appears in Sifr syntax.
  </Card>

  <Card title="Check and Emit" icon="file-code" href="/cli/check-emit">
    Inspect generated Rust with `sifr emit`.
  </Card>

  <Card title="Rust Interop" icon="plug-zap" href="/rust-interop">
    Expose Rust crates and bridge modules through checked Sifr declarations.
  </Card>

  <Card title="Interop by library" icon="book-open" href="/guides/interop">
    Walk through blake3 and reqwest before reading the full reference.
  </Card>

  <Card title="Build and Run" icon="terminal" href="/cli/build-run">
    Compile Sifr into native binaries.
  </Card>
</CardGroup>

## Learning Sequence

1. Build the mapping: [Rust Concepts in Sifr](/guides/rust-developers/rust-concepts).
2. Inspect generated code: [Check and Emit](/cli/check-emit).
3. Learn source-level ownership: [Ownership and Mutability](/language/ownership).
4. Review typed failures: [Error Handling](/language/error-handling).
5. Understand structured async: [Concurrency Overview](/language/concurrency).
6. Expose Rust-backed APIs: [Rust Interop](/rust-interop).
7. Ship a binary: [Build and Run](/cli/build-run).

<Note>
  Sifr is not a Rust macro language. The generated Rust is an implementation target you can inspect, while the Sifr source model remains the language contract.
</Note>
