antigen-macros 0.3.0

Procedural macros for the antigen crate. Not for direct use; use antigen instead.
Documentation
1
2
3
4
5
6
7
8
9
//! Adversarial fixture: `category = []` must be rejected with a clear error.
//! An empty category array is meaningless and should not parse.

use antigen_macros::antigen;

#[antigen(name = "test-antigen", fingerprint = "item = struct", category = [])]
pub struct EmptyCategory;

fn main() {}