FAF has a Rust ecosystem now. Five crates on crates.io, one meta-crate to rule them all. Parse .faf files, stream context via Radio Protocol, inject into Axum servers, run MCP servers โ€” all in Rust.

One Install

cargo add faf

That gives you the full SDK โ€” parse, validate, score, and compile .faf files.

Need more?

cargo add faf --features axum

Need even more?

cargo add faf --features radio

Feature flags. Pay for what you use. Zero deps when off.

The Ecosystem

240 tests across the ecosystem. All passing. โ˜‘

โšก Just Shipped: Axum Middleware

One line to inject FAF project context into any Axum server:

.layer(FafLayer::new())

Feature-gated behind axum. Your .faf is parsed once at startup, shared via Arc. Per-request cost: one atomic increment. ~240 lines of strategically-placed code.

Read the full Axum Edition post โ†’

What You Can Build

๐Ÿ” Parse project DNA

Read any .faf file. Score it. Validate it. The same IANA-registered format used by 33,000+ projects.

๐Ÿ“ก Stream context to every AI

Radio Protocol โ€” broadcast your project context once, Claude + Grok + Gemini all receive it. Real-time WebSocket.

๐Ÿ”Œ Run an MCP server

Serve .faf context over Model Context Protocol. Same spec, Rust performance.

๐Ÿ“ฆ Compile to FAFb binary

32-byte header, CRC32 integrity, 11 section types. The binary format for edge deployment.

๐Ÿฆ€ Axum middleware

Inject .faf context into every HTTP request. Tower Layer, Axum extractor, builder pattern.

๐Ÿบ Homebrew CLI

Pre-built binary, 569 tests. FAF Pro licensing. Compiles .faf to .fafb. brew install and go.

The Binary CLI

If you want the CLI rather than the library:

brew install Wolfe-Jam/faf/rust-faf-cli

569 tests. FAF Pro licensing. Compiles .faf to .fafb binary. Same key as the TypeScript CLI โ€” one subscription unlocks everything.

Why Rust

FAF CLI started in TypeScript. 97 versions, 16,000+ downloads. Free forever.

But the industry is moving. xAI built Grok's inference stack on Rust. Anthropic's MCP servers are being rewritten in Rust. Cloudflare Workers run Rust at 300+ edge locations. CLI tools that used to take seconds now start in milliseconds.

When Grok needs your project context at inference speed, it won't wait for a Node process to spin up. It needs bytes on the wire, now. That's faf-rust-sdk compiling to FAFb binary. That's faf-radio-rust streaming over WebSocket. That's the edge.

cargo add faf is the starting line.

The Compiler Pipeline

                     .faf (YAML)
                          โ”‚
          โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
          โ”‚               โ”‚               โ”‚
          โ–ผ               โ–ผ               โ–ผ
     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
     โ”‚  Rust   โ”‚    โ”‚   Zig   โ”‚    โ”‚   TS    โ”‚
     โ”‚  SDK    โ”‚    โ”‚  WASM   โ”‚    โ”‚  CLI    โ”‚
     โ””โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”˜    โ””โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”˜    โ””โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”˜
          โ”‚              โ”‚              โ”‚
   โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”       โ”‚              โ”‚
   โ”‚             โ”‚       โ”‚              โ”‚
   โ–ผ             โ–ผ       โ–ผ              โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ .fafb โ”‚  โ”‚  WASM  โ”‚ โ”‚ WASM  โ”‚  โ”‚ Node /  โ”‚
โ”‚Binary โ”‚  โ”‚ 211KB  โ”‚ โ”‚ 2.7KB โ”‚  โ”‚ Browser โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Three compilers. Four outputs. One format. IANA-registered.

What's Next

Axum is shipped. The Rust ecosystem is growing. Here's what's on the radar:

  • no_std embedded support โ€” FAF on microcontrollers
  • Actix-web / Tonic (gRPC) middleware
  • faf! proc macro โ€” compile-time .faf validation
  • More feature flags, same one-liner install

Links