use-env-value 0.1.0

Primitive environment variable value and pair vocabulary for RustUse
Documentation
  • Coverage
  • 100%
    11 out of 11 items documented1 out of 11 items with examples
  • Size
  • Source code size: 6.3 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 438.11 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 4s Average build duration of successful builds.
  • all releases: 4s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • RustUse/use-os
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

use-env-value

Primitive environment variable value and key/value pair vocabulary.

use-env-value stores owned string values and pairs them with EnvKey. It does not read or mutate process environment, implement secret storage, merge configuration, or provide CLI-facing environment helpers.

use use_env_key::EnvKey;
use use_env_value::{EnvPair, EnvValue};

let pair = EnvPair::new(EnvKey::new("RUST_LOG").unwrap(), EnvValue::new("info"));

assert_eq!(pair.to_string(), "RUST_LOG=info");