Skip to main content

Cryptic

Derive Macro Cryptic 

Source
#[derive(Cryptic)]
{
    // Attributes available to this derive:
    #[default_value]
    #[optional]
}
Expand description

Allows structs and enums to automatically be constructed from a parsed crypt file.

Properties can additionally be given default values (via default_value) or automatically be set to [None] when not found (via optional).