Skip to content

Commit 1ec93a0

Browse files
committed
Bump to 0.7.1
1 parent b0ad891 commit 1ec93a0

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "configparser"
3-
version = "0.7.0"
3+
version = "0.7.1"
44
authors = ["QEDK <[email protected]>"]
55
edition = "2018"
66
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."

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@ User = QEDK
2525
```
2626
Essentially, the syntax consists of sections, each of which can which contains keys with values. The `Ini` struct can read and write such values.
2727

28+
### Installation
29+
You can install this easily via `cargo` by including it in your `Cargo.toml` file like:
30+
```TOML
31+
[dependencies]
32+
configparser = "0.7.1"
33+
```
34+
2835
## Supported datatypes
2936
`configparser` does not guess the datatype of values in configuration files and stores everything as strings. However, some datatypes are so common
3037
that it's a safe bet that some values need to be parsed in other types. For this, the `Ini` struct provides easy functions like `getint()`, `getuint()`,
@@ -74,13 +81,6 @@ An important thing to note is that values with the same keys will get updated, t
7481
or property key) is the one that remains in the `HashMap`.
7582
The only bit of magic the API does is the section-less properties are put in a section called "default". It is planned to allow configuring this variable.
7683

77-
## Installation
78-
You can install this easily via `cargo` by including it in your `Cargo.toml` file like:
79-
```TOML
80-
[dependencies]
81-
configparser = "0.7.0"
82-
```
83-
8484
## Usage
8585
Let's take another simple `ini` file and talk about working with it:
8686
```INI

0 commit comments

Comments
 (0)