Skip to content

Commit 0c09c69

Browse files
bors[bot]burrbull
andauthored
Merge #656
656: clap4 & irx-config r=therealprof a=burrbull Co-authored-by: Andrey Zgarbul <[email protected]>
2 parents 6b7f13b + ae20930 commit 0c09c69

File tree

4 files changed

+144
-122
lines changed

4 files changed

+144
-122
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

10+
- Update `clap` to 4.0, use `irx-config` instead of `clap_conf`
1011
- Add #[must_use] to prevent hanging field writers
1112

1213
## [v0.26.0] - 2022-10-07

Cargo.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,20 +38,21 @@ required-features = ["bin"]
3838

3939
[features]
4040
default = ["bin", "json", "yaml"]
41-
bin = ["dep:clap", "dep:clap_conf", "dep:env_logger"]
41+
bin = ["dep:clap", "dep:env_logger", "serde", "dep:irx-config"]
4242
json = ["dep:serde_json"]
4343
yaml = ["dep:serde_yaml"]
4444

4545
[dependencies]
46-
clap = { version = "2.34", optional = true }
47-
clap_conf = { version = "0.1.5", optional = true }
46+
clap = { version = "4.0", optional = true }
47+
irx-config = { version = "3.1", features = ["cmd", "toml-parser"], optional = true }
4848
env_logger = { version = "0.9", optional = true }
4949
inflections = "1.1"
5050
log = { version = "~0.4", features = ["std"] }
5151
quote = "1.0"
5252
proc-macro2 = "1.0"
5353
anyhow = "1.0"
5454
thiserror = "1.0"
55+
serde = { version = "1.0", optional = true }
5556
serde_json = { version = "1.0.85", optional = true }
5657
serde_yaml = { version = "0.9.11", optional = true }
5758

0 commit comments

Comments
 (0)