Skip to content

Commit

Permalink
feat: bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
QEDK committed Jun 11, 2024
1 parent df33394 commit 933db86
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 14 deletions.
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "configparser"
version = "3.0.4"
version = "3.1.0"
authors = ["QEDK <[email protected]>"]
edition = "2021"
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."
Expand All @@ -16,11 +16,11 @@ categories = ["config", "encoding", "parser-implementations"]
maintenance = { status = "actively-developed" }

[dependencies]
indexmap = { version = "2.1.0", optional = true }
tokio = { version = "1.35.1", optional = true, features = ["fs"] }
indexmap = { version = "2.2.6", optional = true }
tokio = { version = "1.38.0", optional = true, features = ["fs"] }

[dev-dependencies]
tokio = { version = "1.35.1", features = ["fs", "macros", "rt-multi-thread"] }
tokio = { version = "1.38.0", features = ["fs", "macros", "rt-multi-thread"] }

[features]
async-std = ["tokio"]
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ strings as well as files.
You can install this easily via `cargo` by including it in your `Cargo.toml` file like:
```TOML
[dependencies]
configparser = "3.0.4"
configparser = "3.0.5"
```

## ➕ Supported datatypes
Expand Down Expand Up @@ -176,7 +176,7 @@ The `Ini` struct offers great support for type conversion and type setting safel
You can activate it by adding it as a feature like this:
```TOML
[dependencies]
configparser = { version = "3.0.4", features = ["indexmap"] }
configparser = { version = "3.1.0", features = ["indexmap"] }
```

- *tokio*: Activating the `tokio` feature adds asynchronous functions for reading from (`load_async()`) and
Expand All @@ -185,7 +185,7 @@ configparser = { version = "3.0.4", features = ["indexmap"] }
You can activate it by adding it as a feature like this:
```TOML
[dependencies]
configparser = { version = "3.0.4", features = ["tokio"] }
configparser = { version = "3.1.0", features = ["tokio"] }
```

## 📜 License
Expand Down Expand Up @@ -222,10 +222,15 @@ Old changelogs are in [CHANGELOG.md](CHANGELOG.md).
- Add default empty line on empty strings.
- Feature to append to existing `Ini` objects.
- Minor lint fixes.
- 3.0.4 (**STABLE**)
- 3.0.4
- Adds pretty printing functionality
- Replaces `async-std` with `tokio` as the available async runtime
- *The `async-std` feature will be deprecated in a future release*
- 3.1.0 (**STABLE**)
- `async-std` has been deprecated
- Fixes a bug where multiline values did not preserve newlines
- Fixes a bug where empty sections were removed
- Adds a feature to support inline comments

### 🔜 Future plans

Expand Down
6 changes: 0 additions & 6 deletions src/ini.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@
use indexmap::IndexMap as Map;
#[cfg(not(feature = "indexmap"))]
use std::collections::HashMap as Map;

#[deprecated(
since = "3.0.4",
note = "async-std runtime has been replaced with tokio"
)]
#[cfg(feature = "async-std")]
#[cfg(feature = "tokio")]
use tokio::fs as async_fs;

Expand Down

0 comments on commit 933db86

Please sign in to comment.