Repository navigation
Releases
Releases · Wolfe-Jam/faf-crate
faf 0.4.1 — The Current Engine Edition
0.4.1: crates.io gets the new front door — badges, Rust 1.85, a starter project.faf, where to report issues — plus a WJTTC suite, a business card and test receipts.
No code change: faf still re-exports faf-rust-sdk 3.1 and, with radio, faf-radio-rust 0.2.
Added
- WJTTC suite (
tests/wjttc.rs, 12 tests):faf::scoregives faf-cli 8.10.0's numbers on four fixtures (brake); versions agree across Cargo.toml, CHANGELOG, project.faf, agent.fafa and the README (brake); every README and docs path resolves under its feature (engine); MSRV and the docs pin agree (pit). agent.fafa: the crate's business card (score, parse, FAFb, Axum, Radio), with its badge in the README.- TAF test receipts: every push to
mainruns the all-features tests under cargo-nextest and records a receipt on thetaf-receiptsbranch (faf-taf-gitreceipt.ymlv2.7.0), red runs included.
Docs
- README: badges (crates.io, docs.rs, CI, MSRV); Rust 1.85 stated under Install; a starter
project.fafandnpx faf-cli initbefore the Quick Start; the Quick Start is a completemain; scoring named in the intro and thesdkrow; Radio frequencies and thegrok()preset explained; where to report issues (faf-rust, faf-radio-rust, here); one star request, not two. - SECURITY.md: reports go to
team@faf.one. tests/readme.rsparses, scores and compiles the README's starterproject.faf.
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.