ortho_config 0.9.0

A configuration management library for Rust, inspired by esbuild.
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Compile-time contract proving `LocalizedParse` is not available to types
//! that do not implement `clap::Parser`.

use ortho_config::{LocalizedParse, NoOpLocalizer};

struct NotAParser;

fn main() {
    let localizer = NoOpLocalizer::new();
    let _parsed = NotAParser::try_parse_localized_from(["demo"], &localizer);
}