Expand description
Centralized registry of aube’s CLI/config settings.
Every setting aube honors lives in the workspace-root
settings.toml: its name, type, default, implementation status,
and the source surfaces (CLI flag, env var, .npmrc,
pnpm-workspace.yaml) that can populate it. build.rs turns
that TOML file into two generated artifacts:
meta::SETTINGS— a&'static [SettingMeta]slice so other crates can introspect the full settings surface (foraube config, docs generation, parity audits).values::resolved— one typed Rust function per supported scalar setting. The function signature is the type check —auto_install_peersreturnsOption<bool>,store_dirreturnsOption<String>, and calling either on the wrong type is a compile error.
Downstream crates depend on this one so they never have to
hand-maintain a getter whose spelling can drift from
settings.toml.
Re-exports§
pub use meta::SettingMeta;pub use meta::all;pub use meta::find;pub use values::ResolveCtx;pub use values::embedder_defaults;pub use values::parse_bool;pub use values::resolved;pub use values::set_embedder_defaults;pub use values::set_global_cli_overrides;pub use values::workspace_yaml_value;