Skip to content

fix: pre-public polish — README, API, dead code & CI fixes#38

Merged
JuanMarchetto merged 2 commits into
mainfrom
fix/pre-public-polish
Feb 26, 2026
Merged

fix: pre-public polish — README, API, dead code & CI fixes#38
JuanMarchetto merged 2 commits into
mainfrom
fix/pre-public-polish

Conversation

@jeanclawdbotdamn

Copy link
Copy Markdown
Collaborator

Summary

  • README badges: Add CI status and MIT license badges
  • README stale WASM text: Remove "(placeholder)" label, move WASM bindings from "Coming next" to "What's working"
  • Re-export ValidationRule: pub use validation::ValidationRule; in truss-core so external crate users can implement custom rules via truss_core::ValidationRule
  • Warn on malformed auto-discovered config: Replace silent unwrap_or_default() with a warning message when .truss.yml fails to parse
  • Remove dead code: Delete no-op validate_matrix_array_elements function and its call site (all match arms were comments only)
  • Add aarch64-unknown-linux-gnu to release matrix: Linux ARM64 binary with cross-compilation setup step

Test plan

  • cargo fmt --all -- --check — clean
  • cargo clippy --workspace -- -D warnings — clean
  • cargo test --workspace — all tests pass
  • validate_matrix_array_elements has zero matches in matrix.rs
  • pub use validation::ValidationRule present in lib.rs
  • Verify README badges render on GitHub
  • Verify release workflow runs correctly on next tag push

🤖 Generated with Claude Code

- Add CI and license badges to README
- Fix stale WASM placeholder text and move WASM to working status
- Re-export ValidationRule from truss-core public API
- Warn (instead of silently ignoring) malformed auto-discovered config
- Remove dead validate_matrix_array_elements function (all match arms were no-ops)
- Add aarch64-unknown-linux-gnu target to release workflow

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Fix rustfmt import reflow in lib.rs that failed on CI's stable toolchain
- Add crates.io and codecov badges to README
- Add playground link ("Try it in your browser")
- Replace clone-and-build install with cargo install + release downloads
- Remove "cargo install truss-cli" from Coming Next (now available)
- Add 0.1.0 release date to CHANGELOG

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@JuanMarchetto JuanMarchetto merged commit 86d75e0 into main Feb 26, 2026
8 checks passed
@JuanMarchetto JuanMarchetto deleted the fix/pre-public-polish branch February 26, 2026 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants