Skip to content

Commit

Permalink
Replace unmaintained structopt with clap (#73)
Browse files Browse the repository at this point in the history
Use `clap` and `clap_derive` to replace the functionality of `structopt`
which is unmaintained.

This also bumps the rust toolchain to `1.74`.
  • Loading branch information
em- authored Jan 20, 2025
2 parents 0ffb6a5 + b4fab4a commit 589b8f3
Show file tree
Hide file tree
Showing 4 changed files with 129 additions and 153 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master # avoid the tag here to prevent dependabot from updating it
with:
toolchain: "1.73"
toolchain: "1.74"
- run: cargo check --all-targets --all-features

fmt:
Expand All @@ -28,7 +28,7 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master # avoid the tag here to prevent dependabot from updating it
with:
toolchain: "1.73"
toolchain: "1.74"
components: rustfmt
- run: cargo fmt --all --check

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

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

Expand Down
Loading

0 comments on commit 589b8f3

Please sign in to comment.