You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+8
Original file line number
Diff line number
Diff line change
@@ -86,5 +86,13 @@
86
86
-**BREAKING** Added Python-esque support for `:` as a delimiter.
87
87
-:new: Add support for case-sensitive maps with automatic handling under the hood.
88
88
-:hammer: Fixed buggy setters which went uncaught, to preserve case-insensitive nature.
89
+
- 2.0.1
90
+
- Add first-class support for setting, loading and reading defaults
91
+
- New available struct `IniDefault` for fast templating
92
+
- 2.1.0
93
+
- 😯 **BREAKING** Parse keys with higher priority, both brackets `[` and `]` can be part of values now.
94
+
- ℹ Only affects current behaviour **iff** your section headers had comments in front of them like, `comment[HEADER]`, you can fix it by adding the comment after the header like `[HEADER]#comment` or otherwise.
95
+
- 🚀 `load()` and `write()` work with `Path`-like arguments now.
96
+
- 📜 Add docs for new struct
89
97
90
98
Older changelogs are preserved here, current changelog is present in [README.md](README.md).
Copy file name to clipboardexpand all lines: README.md
+11-15
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
# configparser
2
-
[](https://github.com/QEDK/configparser-rs/actions/workflows/rust.yaml)[](LICENSE-MIT)[](https://crates.io/crates/configparser)[](https://docs.rs/configparser)[](https://github.com/QEDK/configparser-rs)
2
+
[](https://github.com/QEDK/configparser-rs/actions/workflows/rust.yaml)[](LICENSE-MIT)[](https://crates.io/crates/configparser)[](https://docs.rs/configparser)[](https://github.com/QEDK/configparser-rs)
3
3
4
4
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.
5
5
@@ -29,7 +29,7 @@ strings as well as files.
29
29
You can install this easily via `cargo` by including it in your `Cargo.toml` file like:
30
30
```TOML
31
31
[dependencies]
32
-
configparser = "3.0.3"
32
+
configparser = "3.0.4"
33
33
```
34
34
35
35
## ➕ Supported datatypes
@@ -176,16 +176,16 @@ The `Ini` struct offers great support for type conversion and type setting safel
176
176
You can activate it by adding it as a feature like this:
177
177
```TOML
178
178
[dependencies]
179
-
configparser = { version = "3.0.2", features = ["indexmap"] }
179
+
configparser = { version = "3.0.4", features = ["indexmap"] }
180
180
```
181
181
182
-
-*async-std*: Activating the `async-std` feature adds asynchronous functions for reading from (`load_async()`) and
183
-
writing to (`write_async()`) files using [async-std](https://crates.io/crates/async-std).
182
+
-*tokio*: Activating the `tokio` feature adds asynchronous functions for reading from (`load_async()`) and
183
+
writing to (`write_async()`) files using [tokio](https://crates.io/crates/tokio).
184
184
185
185
You can activate it by adding it as a feature like this:
186
186
```TOML
187
187
[dependencies]
188
-
configparser = { version = "3.0.2", features = ["async-std"] }
188
+
configparser = { version = "3.0.4", features = ["tokio"] }
189
189
```
190
190
191
191
## 📜 License
@@ -206,14 +206,6 @@ additional terms or conditions.
206
206
## 🆕 Changelog
207
207
208
208
Old changelogs are in [CHANGELOG.md](CHANGELOG.md).
209
-
- 2.0.1
210
-
- Add first-class support for setting, loading and reading defaults
211
-
- New available struct `IniDefault` for fast templating
212
-
- 2.1.0
213
-
- 😯 **BREAKING** Parse keys with higher priority, both brackets `[` and `]` can be part of values now.
214
-
- ℹ Only affects current behaviour **iff** your section headers had comments in front of them like, `comment[HEADER]`, you can fix it by adding the comment after the header like `[HEADER]#comment` or otherwise.
215
-
- 🚀 `load()` and `write()` work with `Path`-like arguments now.
216
-
- 📜 Add docs for new struct
217
209
- 3.0.0
218
210
- 😅 **BREAKING**`IniDefault` is now a non-exhaustive struct, this will make future upgrades easier and non-breaking in nature. This change might also have a few implications in updating your existing codebase, please read the [official docs](https://doc.rust-lang.org/reference/attributes/type_system.html#the-non_exhaustive-attribute) for more guidance.
219
211
-`IniDefault` is now internally used for generating defaults, reducing crate size.
@@ -226,10 +218,14 @@ Old changelogs are in [CHANGELOG.md](CHANGELOG.md).
226
218
- Adds support for multi-line key-value pairs.
227
219
- Adds `async-std` feature for asynchronous file operations.
228
220
- Some performance optimizations.
229
-
- 3.0.3 (**STABLE**)
221
+
- 3.0.3
230
222
- Add default empty line on empty strings.
231
223
- Feature to append to existing `Ini` objects.
232
224
- Minor lint fixes.
225
+
- 3.0.4 (**STABLE**)
226
+
- Adds pretty printing functionality
227
+
- Replaces `async-std` with `tokio` as the available async runtime
228
+
-*The `async-std` feature will be deprecated in a future release*
0 commit comments