Crate v_utils_macros
Source - graphemics
- returns
Vec<String> of the ways to refer to a struct name - make_df
- CompactFormatDeprecated
- Deprecated alias for
CompactFormatNamed - CompactFormatMap
- Dictionary-style compact format, serializing to
{key=value;...} syntax - CompactFormatNamed
- cli-like string serialization format, with focus on compactness
- LiveSettings
- Derive macro that generates a
LiveSettings struct for hot-reloading configuration.
Requires Settings to be derived on the same struct first. - MyConfigPrimitives
- Generates a custom serde Deserialize implementation for config deserialization with PrivateValue support.
- OptionalFieldsFromVecStr
- Put on a struct with optional fields, each of which implements FromStr
- ScreamIt
- Implements Display and FromStr for variants of an enum, using SCREAMING_SNAKE_CASE
- Settings
- Derive macro for application settings that integrates config files, environment variables, and CLI flags.
- SettingsNested
- Marks a struct as a nested settings section. Use with
#[settings(flatten)] in parent. - VecFieldsFromVecStr
- WrapNew