> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.

# Recommended Rust

Use this set for Rust projects built around pure functions, borrowed inputs, native Result and Option, exhaustive enums, and iterator transformations. It combines ownership-aware language rules with shared engineering and collaboration standards.

**Pack:** `bytefarm/recommended-rust` · **Version:** `0.1.0`

## Install

With the [npm CLI installed](/getting-started/quick-start.md), run from a project beside a checkout of `thebytefarm/granary` named `granary-packs`. The checkout supplies the pack sources; no build is needed:

```sh
granary add file:../granary-packs/packs#recommended-rust --output .granary/context/docs/bytefarm
```

## Included packs

This composite installs these five packs in reading order. Open a card to browse that pack's concepts and rules.


[Engineeringbytefarm/engineering — pure domain logic, isolated effects, immutable state, explicit failures, and behavioral tests.](/packs/shared/engineering)[Gitbytefarm/git — scoped commits, focused pull requests, and verification evidence reviewers can trust.](/packs/shared/git)[Documentationbytefarm/documentation — task-oriented writing, portable Markdown, and the right shape for each page.](/packs/shared/documentation)[Agent instructionsbytefarm/agent-instructions — short operating contracts, canonical rules, and task-based context routing.](/packs/shared/agent-instructions)[Functional Rustbytefarm/rust-functional — borrowing and ownership, native Results, exhaustive enums, iterator composition, and API contracts.](/packs/languages/rust)

## Use the installed context

Follow the reference links in root `AGENTS.md`. Read the shared engineering rules first, then the topics relevant to your change. Rust rules apply to Rust source and examples; the supported compiler, repository commands, and dependency approval come from your project's instructions.

Adding another recommended language set reuses the shared packs. The lockfile pins the source revision and file integrity; `granary install` restores the same context.
