Skip to content

Commit 589b8f3

Browse files
authored
Replace unmaintained structopt with clap (#73)
Use `clap` and `clap_derive` to replace the functionality of `structopt` which is unmaintained. This also bumps the rust toolchain to `1.74`.
2 parents 0ffb6a5 + b4fab4a commit 589b8f3

File tree

4 files changed

+129
-153
lines changed

4 files changed

+129
-153
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- uses: actions/checkout@v4
1919
- uses: dtolnay/rust-toolchain@master # avoid the tag here to prevent dependabot from updating it
2020
with:
21-
toolchain: "1.73"
21+
toolchain: "1.74"
2222
- run: cargo check --all-targets --all-features
2323

2424
fmt:
@@ -28,7 +28,7 @@ jobs:
2828
- uses: actions/checkout@v4
2929
- uses: dtolnay/rust-toolchain@master # avoid the tag here to prevent dependabot from updating it
3030
with:
31-
toolchain: "1.73"
31+
toolchain: "1.74"
3232
components: rustfmt
3333
- run: cargo fmt --all --check
3434

@@ -39,7 +39,7 @@ jobs:
3939
- uses: actions/checkout@v4
4040
- uses: dtolnay/rust-toolchain@master # avoid the tag here to prevent dependabot from updating it
4141
with:
42-
toolchain: "1.73"
42+
toolchain: "1.74"
4343
- run: cargo test --all-targets --all-features
4444
- run: cargo test --doc
4545

@@ -50,7 +50,7 @@ jobs:
5050
- uses: actions/checkout@v4
5151
- uses: dtolnay/rust-toolchain@master # avoid the tag here to prevent dependabot from updating it
5252
with:
53-
toolchain: "1.73"
53+
toolchain: "1.74"
5454
components: clippy
5555
- run: cargo clippy --all-targets --all-features -- -D warnings
5656

0 commit comments

Comments
 (0)