Crates.io | lenient_bool |
lib.rs | lenient_bool |
version | 0.1.1 |
source | src |
created_at | 2016-11-18 19:59:30.461695 |
updated_at | 2016-11-18 22:45:41.045254 |
description | A bool parser that is more accepting of various string bool representations. |
homepage | |
repository | https://github.com/dimfeld/rust_lenient_bool |
max_upload_size | |
id | 7294 |
size | 19,673 |
This crate provides the LenientBool type, which converts the following values into a boolean:
Comparisons are case-insensitive, so TRUE
, tRue
, and T
all work, for example.
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.