Skip to main content

Crate dynamic_config_macros

Crate dynamic_config_macros 

Source
Expand description

Procedural macro implementation for dynamic-config.

Do not depend on this crate directly — it is an implementation detail of dynamic-config, which re-exports everything here and provides the runtime the generated code calls into. The two are released together and pinned to the same version.

A procedural macro can only be defined in a crate with proc-macro = true, which is the sole reason this crate exists separately.

Attribute Macros§

dynamic_config
Turns a struct into a hot-reloadable configuration snapshot.