cfgmatic
Facade crate for the cfgmatic workspace.
cfgmatic re-exports the primary surface for:
- path discovery via
cfgmatic::paths; - source loading and
LoadReportviacfgmatic::source; - explainable merge via
cfgmatic::merge; - optional schema/introspection via
cfgmatic::schema; - optional plan and reactive workflows.
Installation
[]
= { = "5", = ["schema"] }
Features
| Feature | Description | Default |
|---|---|---|
source |
Source loading and layering | Yes |
plan |
Plan/apply workflow | Yes |
reactive |
Runtime subscriptions | No |
schema |
Re-export cfgmatic-schema and schema-aware diagnostics |
No |
Canonical example
use *;
let defaults = from_json;
let overrides = from_json;
let mut coordinator = builder
.add_source
.add_source
.build;
let report = coordinator.load_report?;
let explanation = report.merge_report.explain_path.unwrap;
assert_eq!;
# Ok::
License
MIT OR Apache-2.0