Skip to content

Commit deef436

Browse files
committed
feat: use own argument parser to replace structopt
structopt has been replaced by clap, whose dependency libc does not build on newer architectures (e.g., loongarch64). My previous attempts to port choose to clap v4 resulted in an incompatible change in allow_hyphen_values's behavior - I have reported this issue to the upstream: - clap-rs/clap#5434 - clap-rs/clap#4187 To simplify things, I wrote my own argument parser for clap.. This change passes `cargo test` .
1 parent b9ab074 commit deef436

File tree

11 files changed

+221
-282
lines changed

11 files changed

+221
-282
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ exclude = [
1616
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1717

1818
[dependencies]
19-
structopt = "0.3"
2019
regex = "1"
2120
lazy_static = "1"
2221
backslash = "0"

0 commit comments

Comments
 (0)