Skip to content

v0.2.1

Choose a tag to compare

@briannadoubt briannadoubt released this 13 Jun 20:20
· 5 commits to main since this release

First release since v0.2.0. Carries the two feature epics that had landed on main since 0.2.0 (RT-109, RT-115) plus this session's lint-clean + CI fixes (RT-122, RT-123). All additive — no breaking changes.

New user-facing tooling (RT-109 — dialect adoptability)

  • cargo trustc adopt — one command to onboard a crate into the dialect: add the metadata opt-in, migrate positional calls to named-arg form, build through the gate, and report what's left.
  • cargo trustc doctor — onboarding diagnostics + actionable "trust not found" errors.
  • Whole-tree trust fix <dir|Cargo.toml> — workspace-wide plain-Rust → dialect migration (cross-file/crate named-arg index); --safety works on trees.
  • trust.toml honored in the build gate (cargo trustc / trust-rustc); cache key folds in the config.
  • Zero-config cross-crate signature index — cargo trustc auto-builds the workspace index, so cross-crate R0042 needs no manual TRUST_SIGNATURE_PATH.

Adoption-depth backlog (RT-115)

  • Migration also names pub(crate)/private cross-file calls (cross-crate index stays pub-only).
  • LSP honors trust.toml (allow/warn). Per-crate trust.toml in the multi-file walk.
  • cargo trustc adopt works workspace-wide via [workspace.metadata.trust].
  • CI self-scan uploads SARIF to the Security tab. Auto-index cached by source fingerprint.

This session

  • RT-122: Trust's own source now passes the strict-mode lints it ships — all 64 self-scan findings fixed with behavior-preserving refactors. Self-scan reports 0.
  • RT-123: fixed the CI test job's cargo-trustc invocation (red since the v0.2.0 RT-58 rename).

All 10 crates published to crates.io at 0.2.1.

⚠️ Note: the new adopt/doctor/whole-tree-fix commands are shipped but not yet covered in README/SPEC.