cargo-antigen
Cargo subcommand for the antigen project — scan, build, and apply structural failure-class antibodies in Rust codebases.
Status: Design phase —
0.0.1reserves the namespace. Real subcommand implementations are under active design at github.com/antigen-rs/antigen.
What this crate is (intended)
The cargo subcommand companion to antigen. Will provide:
cargo antigen scan— find all#[presents]markers without corresponding#[immune]declarationscargo antigen new <name>— scaffold a new antigen declarationcargo antigen vaccinate <antigen> <pattern>— apply a known immunity pattern across a structural familycargo antigen audit— comprehensive immunity coverage report
Why a cargo extension
Failure-class memory only works if it's structurally checked by tooling — otherwise it drifts like documentation. The cargo extension makes scanning, vaccinating, and auditing first-class development actions, runnable in CI and integrated with normal workflow.
Installation (when 1.0 ships)
Then cargo antigen <subcommand> will be available in any cargo workspace.
Status
The published 0.0.1 is a placeholder that reserves the binary name and prints a
design-phase notice. See the
design documents for
the active design.
License
Dual-licensed under MIT or Apache-2.0.