ConfigurAnt
Schema-first configuration for Rust projects. Declare every value once in configurant.toml; the
library layers default < file < environment < command line, validates with named errors, and
explains where each value came from. No generated code: the schema is a plain file that tools
and humans can edit, and the application reads values through the library. Secrets are enforced:
environment only, never printed.
configurant check examples/configurant.toml
configurant describe examples/configurant.toml
configurant migrate examples/configurant.toml app.toml --from 1 # prints; --write saves app.toml.bak first
DEMO_PORT=9000 configurant explain examples/configurant.toml server.port -- --port 9100
// Opt-in typed view: `server.port` is field `port` of field `server`. Nothing is generated.
let settings: Settings = config.deserialize?;
Status: 0.0.x. Schema, layering, validation, explain, serde struct binding, config-file migrations and the module
interface exist, and the PersistAnt module is behind the persistant feature; the TUI/GUI are later. Design:
docs/DESIGN.md; why not figment/config/clap/confy: docs/PRIOR-ART.md.
Licence: MIT OR Apache-2.0.