Repository navigation
faf 0.4.0 — The Current Engine Edition
0.4.0: cargo add faf gives you the current engine — faf-rust-sdk 3.1, the always-33 kernel, the same score as faf-cli.
Changed (breaking)
- faf-rust-sdk 1.3 → 3.1.
fafre-exports the current SDK: the always-33 kernel (faf::score), FAFb (faf::binary) and the Axum middleware (faf::axum). binary::compiletakes options:binary::compile(&yaml, &binary::CompileOptions::default()).- Score with
faf::score(&yaml): it computes the always-33 score (score, tier, populated/active slots).parse(..).score()still exists and only reads the file's ownai_scorefield, so the README no longer uses it. radiostays:faf-radio-rust0.2, unchanged.
Fixed
- README, Quick Start: now scores with the kernel and passes
CompileOptions. - README, Axum example: it imported
faf::{FafLayer, FafContext}and calledFafLayer::discover(); neither exists. It is nowuse faf::axum::{FafContext, FafLayer}withFafLayer::new(). - README: the Ecosystem table's version column was stale (it listed
rust-faf-mcp0.1.0). The table now lists the crates, and one line says whatfafre-exports. The Zig link pointed at a private repository and is removed. - docs.rs: two broken links in the crate docs; docs now build with all features, so
radioandaxumare documented. - Author contact:
team@faf.one.
Added
tests/readme.rscompiles every README example under its feature, and runs the Quick Start on this repo's project.faf, so a README that drifts from the API failscargo test.- CI builds on Rust 1.85, the
rust-versionthis crate declares.
Changed
- Publishing: the release workflow tests the commit before publishing, publishes with
--locked, and a manual run must start from av<version>tag. - Since 0.3.0, not published until now: edition 2024,
rust-version = "1.85", Trusted Publishing (OIDC), CI on all features, RustSec audit on pull requests, README tagline. - The package leaves out
.github/andCLAUDE.md.