Skip to content

vox-config-derive API Reference (generated)

Crate: vox-config-derive · Version: 0.6.0 · Target: Library (lib.rs)

No description provided.

#[derive(VoxConfig)] — generates merge_env/get/catalog/config_keys for a domain config struct so a knob is declared once (an annotated field) and read through vox_config::env_parse::resolve_config_* (env → config.toml → default). Credentials are NOT config: a #[config(secret)] field is a compile error directing it to vox-secrets.

FunctionDescription
derive_vox_config—
Dependency Topology, diagram 12 nodes, 1 edge: vox-config → vox-config-derivevox-config-derivevox-config
Diagram source
graph {
direction: right
node vox_config_derive: "vox-config-derive"
node vox_config: "vox-config"
vox_config -> vox_config_derive
}
Consumer CrateRole
vox-configDirect workspace dependent
KindSymbolSignatureSourceDescription
fnderive_vox_configpub fn derive_vox_config(input: TokenStream) -> TokenStreamcrates/vox-config-derive/src/lib.rs#L12-L18—