| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Add support for common boolean representations in environment variables beyond the standard Rust bool parsing. Now accepts various forms like: - True values: "y", "yes", "t", "true", "on", "1" - False values: "n", "no", "f", "false", "off", "0", "" This makes the library more user-friendly and aligns with common expectations for environment variable configuration. Implementation draws inspiration from clap_builder and python-humanfriendly. Signed-off-by: Michel Heily <michelheily@gmail.com>
| Back | FazBrowse Home | New Git URL |
Add support for common boolean representations in environment variables beyond the standard Rust bool parsing. Now accepts various forms like:
This makes the library more user-friendly and aligns with common expectations for environment variable configuration. Implementation draws inspiration from clap_builder and python-humanfriendly.
What did you implement:
Closes: #xxx
How did you verify your change:
Added tests for both success and error cases
What (if anything) would need to be called out in the CHANGELOG for the next release:
Add support for common boolean representations in environment variables beyond the standard Rust bool parsing. Now accepts various forms like: