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.