Human Bool (for Rust)
A simple library to parse human entered booleans, especially those from environment variables.
Currently the following strings are supported:
- 1/0
- yes/no/y/n
- true/false/t/f
- on/off
From a string
use parse;
assert!;
From the environment.
use *;
assert_eq!;
set_var;
assert!;
assert!;