diff --git a/Cargo.toml b/Cargo.toml index d82e0e4..d9247bd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "configparser" -version = "0.5.0" +version = "0.5.1" authors = ["QEDK "] edition = "2018" description = "A simple configuration parsing utility with no dependencies that allows you to parse INI and ini-style syntax. You can use this to write Rust programs which can be customized by end users easily." diff --git a/README.md b/README.md index 908b189..301eea3 100644 --- a/README.md +++ b/README.md @@ -49,14 +49,14 @@ spaces in values=allowed as well spaces around the delimiter = also OK [All values are strings] -values like this: 0000 -or this: 0.999 -are they treated as numbers? : no -integers, floats and booleans are held as: strings +values like this= 0000 +or this= 0.999 +are they treated as numbers? = no +integers, floats and booleans are held as= strings [value-less?] a_valueless_key_has_None -this key has an empty string value like Some("") = +this key has an empty string value has Some("") = [indented sections] can_values_be_as_well = True @@ -71,7 +71,7 @@ or property key) is the one that remains in the `HashMap`. You can install this easily via `cargo` by including it in your `Cargo.toml` file like: ```TOML [dependencies] -configparser = "0.5.0" +configparser = "0.5.1" ``` ## Usage diff --git a/src/lib.rs b/src/lib.rs index 3dd17da..3d9796a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -49,14 +49,14 @@ spaces in values=allowed as well spaces around the delimiter = also OK [All values are strings] -values like this: 0000 -or this: 0.999 -are they treated as numbers? : no -integers, floats and booleans are held as: strings +values like this= 0000 +or this= 0.999 +are they treated as numbers? = no +integers, floats and booleans are held as= strings [value-less?] a_valueless_key_has_None -this key has an empty string value like Some("") = +this key has an empty string value has Some("") = [indented sections] can_values_be_as_well = True