Skip to content

Building Testing and CI CD

Andrew Paolucci edited this page Nov 26, 2026 · 1 revision

Building, Testing & CI/CD (forensics2rust)

Prerequisites

  • Rust 1.88+ (edition = "2024", workspace resolver 2).
  • guap-kit Sibling Workspace: Checked out at ../guap-kit alongside forensics2rust.

Building & Testing Commands

# Format & lint checks
cargo fmt --all -- --check
cargo clippy --workspace --all-targets --offline -- -D warnings

# Offline workspace check & tests
cargo check --workspace --offline
cargo test --workspace --offline

# Generate MCP schema & verify CLI help
cargo run --offline -p forensics2rust-cli -- list
cargo run --offline -p forensics2rust-cli -- mcp --tools

Cross-Workspace E2E & R4 Gate

From the sibling guap-e2e repository:

cargo run --offline --bin guap-e2e -- --all --r4-check --target forensics2rust --json

Clone this wiki locally