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
12
//! trybuild coverage for the public `EnvSource` contract.
//!
//! The compile-time check is the point: it pins object safety, the
//! `Debug + Send + Sync` supertraits, the owned `Option<OsString>` return, and
//! the builder's acceptance of `SharedEnvSource` from *outside* the crate,
//! using a bespoke implementor rather than `MapEnv`.

#[test]
fn bespoke_env_source_compiles() {
    let t = trybuild::TestCases::new();
    t.pass("tests/trybuild/env_source_object_safe.rs");
}