use-env-key 0.1.0

Primitive environment variable key vocabulary for RustUse
Documentation
  • Coverage
  • 100%
    8 out of 8 items documented1 out of 6 items with examples
  • Size
  • Source code size: 5.55 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 413.01 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-key

Primitive environment variable key vocabulary.

use-env-key models the key itself. It rejects empty keys and keys containing =, preserves case, and does not read from, write to, or mutate std::env.

use use_env_key::EnvKey;

let key = EnvKey::new("Path").unwrap();

assert_eq!(key.as_str(), "Path");
assert_eq!(key.to_string(), "Path");