Registry / config / schematic

schematic

JSON →
library0.19.7rscratesunverified

A layered serde configuration and schema library for managing configurations.

# Cargo.toml [dependencies] schematic = "0.19.7"
INSTALL
IMPORT
SIG · SCHEMATIC
S
schematic
configrustv0.19.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Config
use schematic::Config;

Loads a configuration from a YAML file.

use schematic::Config; fn main() { let config = Config::load("config.yaml").unwrap(); println!("Config loaded: {:?}", config); }
Debug
Known issues
gotchaRequires the 'yaml' feature flag for YAML support.
fix
Add 'features = ["yaml"]' to your Cargo.toml dependency.
affects: >=0.1.0
Upgrade
Version history
0.19.7latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
36 hits · last 30 days
node
32
Resources
schematic — cargo add schematic · libregistry