Skip to content

Commit 6782f0d

Browse files
committed
Update to latest main
2 parents f2818fa + 3be365c commit 6782f0d

File tree

5 files changed

+18
-12
lines changed

5 files changed

+18
-12
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,5 +82,9 @@
8282
- 1.0.0
8383
- Dropped support for `ini::load()`
8484
- Updated tests
85+
- 2.0.0
86+
- **BREAKING** Added Python-esque support for `:` as a delimiter.
87+
- :new: Add support for case-sensitive maps with automatic handling under the hood.
88+
- :hammer: Fixed buggy setters which went uncaught, to preserve case-insensitive nature.
8589

8690
Older changelogs are preserved here, current changelog is present in [README.md](README.md).

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "configparser"
3-
version = "3.0.2"
3+
version = "3.0.3"
44
authors = ["QEDK <qedk.en@gmail.com>"]
55
edition = "2021"
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."
@@ -19,5 +19,5 @@ maintenance = { status = "actively-developed" }
1919

2020
[dependencies]
2121
async-std = { version = "1.12.0", optional = true }
22+
indexmap = { version = "2.1.0", optional = true }
2223
derive_builder = { version = "0.12.0", optional = true }
23-
indexmap = { version = "1.9.1", optional = true }

LICENSE-LGPL

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
Copyright (c) 2023 QEDK
2+
13
GNU LESSER GENERAL PUBLIC LICENSE
24
Version 3, 29 June 2007
35

@@ -162,4 +164,4 @@ General Public License ever published by the Free Software Foundation.
162164
whether future versions of the GNU Lesser General Public License shall
163165
apply, that proxy's public statement of acceptance of any version is
164166
permanent authorization for you to choose that version for the
165-
Library.
167+
Library.

LICENSE-MIT

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2020 QEDK
3+
Copyright (c) 2023 QEDK
44

55
Permission is hereby granted, free of charge, to any
66
person obtaining a copy of this software and associated
@@ -24,4 +24,4 @@ SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
2424
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
2525
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
2626
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
27-
DEALINGS IN THE SOFTWARE.
27+
DEALINGS IN THE SOFTWARE.

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# configparser
2-
[![Build Status](https://github.com/QEDK/configparser-rs/actions/workflows/rust.yaml/badge.svg)](https://github.com/QEDK/configparser-rs/actions/workflows/rust.yaml) [![Crates.io](https://img.shields.io/crates/l/configparser?color=black)](LICENSE-MIT) [![Crates.io](https://img.shields.io/crates/v/configparser?color=black)](https://crates.io/crates/configparser) [![Released API docs](https://docs.rs/configparser/badge.svg)](https://docs.rs/configparser) [![Maintenance](https://img.shields.io/maintenance/yes/2022)](https://github.com/QEDK/configparser-rs)
2+
[![Build Status](https://github.com/QEDK/configparser-rs/actions/workflows/rust.yaml/badge.svg)](https://github.com/QEDK/configparser-rs/actions/workflows/rust.yaml) [![Crates.io](https://img.shields.io/crates/l/configparser?color=black)](LICENSE-MIT) [![Crates.io](https://img.shields.io/crates/v/configparser?color=black)](https://crates.io/crates/configparser) [![Released API docs](https://docs.rs/configparser/badge.svg)](https://docs.rs/configparser) [![Maintenance](https://img.shields.io/maintenance/yes/2023)](https://github.com/QEDK/configparser-rs)
33

44
This crate provides the `Ini` struct which implements a basic configuration language which provides a structure similar to what’s found in Windows' `ini` files. You can use this to write Rust programs which can be customized by end users easily.
55

@@ -29,7 +29,7 @@ strings as well as files.
2929
You can install this easily via `cargo` by including it in your `Cargo.toml` file like:
3030
```TOML
3131
[dependencies]
32-
configparser = "3.0.2"
32+
configparser = "3.0.3"
3333
```
3434

3535
## ➕ Supported datatypes
@@ -201,10 +201,6 @@ additional terms or conditions.
201201
## 🆕 Changelog
202202

203203
Old changelogs are in [CHANGELOG.md](CHANGELOG.md).
204-
- 2.0.0
205-
- **BREAKING** Added Python-esque support for `:` as a delimiter.
206-
- :new: Add support for case-sensitive maps with automatic handling under the hood.
207-
- :hammer: Fixed buggy setters which went uncaught, to preserve case-insensitive nature.
208204
- 2.0.1
209205
- Add first-class support for setting, loading and reading defaults
210206
- New available struct `IniDefault` for fast templating
@@ -221,10 +217,14 @@ Old changelogs are in [CHANGELOG.md](CHANGELOG.md).
221217
- Uses `CRLF` line endings for Windows files.
222218
- Bumps crate to 2021 edition.
223219
- Adds features to CI pipeline.
224-
- 3.0.2 (**STABLE**)
220+
- 3.0.2
225221
- Adds support for multi-line key-value pairs.
226222
- Adds `async-std` feature for asynchronous file operations.
227223
- Some performance optimizations.
224+
- 3.0.3 (**STABLE**)
225+
- Add default empty line on empty strings.
226+
- Feature to append to existing `Ini` objects.
227+
- Minor lint fixes.
228228

229229
### 🔜 Future plans
230230

0 commit comments

Comments
 (0)