antigen-macros 0.0.1

Procedural macros for the antigen crate. Not for direct use; use antigen instead.
Documentation

antigen-macros

Procedural macros for the antigen crate.

This crate is the proc-macro implementation backing antigen. Most users should depend on antigen directly, which re-exports these macros. Direct use of antigen-macros is supported but not the primary path.

Macros provided (all re-exported from antigen):

  • #[antigen(...)] — declare a named failure-class with a structural fingerprint
  • #[presents(...)] — mark code as exhibiting a failure-class pattern
  • #[immune(...)] — declare immunity with a witness reference
  • #[descended_from(...)] — propagate failure-class markers through structural derivation
  • #[antigen_tolerance(...)] — mark deliberate exceptions with rationale

See the antigen crate for usage documentation and github.com/antigen-rs/antigen for the full project substrate.

License

Dual-licensed under MIT or Apache-2.0.