Skip to content

Commit e0dc03e

Browse files
CrooseGitdavidtwco
authored andcommitted
replaces structopt with clap
structopt is EOL
1 parent 583c0e7 commit e0dc03e

4 files changed

Lines changed: 135 additions & 152 deletions

File tree

Cargo.lock

Lines changed: 116 additions & 132 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/help.test

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# RUN: thorin --help | FileCheck %s --check-prefix HELP
22

3-
# HELP: USAGE
4-
# HELP: FLAGS
5-
# HELP: OPTIONS
6-
# HELP: ARGS
3+
# HELP: Usage
4+
# HELP: Arguments
5+
# HELP: Options

thorin-bin/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ thorin-dwp = { version = "0.9.0", path = "../thorin" }
1616

1717
anyhow = "1.0.51"
1818
memmap2 = "0.5.0"
19-
structopt = "0.3.25"
2019
thiserror = "1.0.30"
2120
tracing = "0.1.29"
2221
tracing-subscriber = { version = "0.3.18", features = [ "env-filter" ] }
2322
tracing-tree = "0.2.3"
2423
typed-arena = "2.0.1"
24+
clap = { version = "4.5.60", features = ["derive"] }
2525

2626
[dependencies.object]
2727
version = "0.36.0"

0 commit comments

Comments
 (0)