use-env-key 0.1.0

Primitive environment variable key vocabulary for RustUse
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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`.

```rust
use use_env_key::EnvKey;

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

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