QEDK / configparser-rs

A simple configuration parsing utility with no dependencies built on Rust.
https://crates.io/crates/configparser
Other
66 stars 21 forks source link

Allow "on"/"off" string for `getboolcoerce` #12

Closed skystar-p closed 3 years ago

skystar-p commented 3 years ago

This PR:

As far as I know, there is no spec for INI files, but some implementations such as Python or PHP permits "on" and "off" value for boolean type. I think it's worth supporting these strings on this crate.

QEDK commented 3 years ago

Indeed, seems good to me.