vld-app
Validate what an application reads at its edges (config files, CLI arguments, Tauri IPC) with vld schemas.
[]
= "0.8"
= { = "0.8", = ["config-rs"] }
= "0.15"
schema!
let cfg = builder
.add_source
.build?;
let settings: Settings = from_config?; // every bad key reported
| Module | Feature | Library |
|---|---|---|
config |
config-rs and / or figment |
config-rs 0.14 – 0.15, figment 0.10 |
clap |
clap (turns on vld/derive) |
clap 4 |
tauri |
— | Tauri IPC payloads (no tauri dependency) |
No feature is on by default; any set can be enabled together.
License
MIT