pogo-masterfile-macros
Procedural derive macros backing the pogo-masterfile-types crate.
Three derives are exported:
AllVariants— addspub const ALL: [Self; N]andpub const SIZE: usize.AsStr— addspub const fn as_str(&self) -> &'static strandDisplay. Reads#[serde(rename = "...")]per variant.FromStrEnum— addsimpl FromStrwhoseErrispogo_masterfile_types::UnknownTemplateId.
All three apply to enums with unit variants only (no fields). Mix and match as needed.
Re-exported from pogo-masterfile-types so consumers usually do not need a direct dependency.