cfgmatic
Facade crate for cfgmatic configuration management framework.
Overview
cfgmatic re-exports functionality from specialized sub-crates:
| Crate | Purpose |
|---|---|
cfgmatic-core |
Core types and traits |
cfgmatic-paths |
Platform-specific path discovery |
cfgmatic-merge |
Configuration merging strategies |
cfgmatic-source |
Configuration sources (file, env) |
cfgmatic-reactive |
Reactive configuration updates |
cfgmatic-plan |
Terraform-like plan/apply workflow |
Features
| Feature | Description | Default |
|---|---|---|
source |
Configuration sources | Yes |
plan |
Plan/Apply workflow | Yes |
reactive |
Config subscriptions | No |
Installation
[]
= "2"
Usage
// Path discovery (always available)
use PathsBuilder;
let finder = new.build;
// Configuration sources (with "source" feature)
use *;
// Plan/Apply workflow (with "plan" feature)
use *;
// Reactive updates (with "reactive" feature)
use *;
License
MIT OR Apache-2.0