structopt is obsolete #22
Labels
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
rust/backlog#22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The
structoptcrate is obsolete, its functionality was integrated into version 3 ofclap. It depends onclapv2, which is itself very old and obsolete. Porting fromstructopttoclap/deriveis usually straightforward.Dependent packages:
A RUSTSEC advisory was published for
structopt: https://rustsec.org/advisories/RUSTSEC-2022-0104.htmlIt seems that as of mdsh version 0.9.2, it is using clap 4. This change does not appear to have made its way to crates.io, which is still at version 0.7.0.
As for rustcap, the latest version on crates.io uses clap, but it has not been updated in 2 years according to GitHub.
This is a link to the issue opened for mdsh: https://github.com/zimbatm/mdsh/issues/105
Wow, a new package has started depending on structopt (gap-pkg-vole) ...
mdsh can be orphaned or even retired if you ask me. I never used it, only packaged it for someone who I don't even remember who it was.
@decathorpe wrote in #22 (comment):
Linking https://bugzilla.redhat.com/show_bug.cgi?id=2554591 and noting that @jjames fixed this via https://github.com/peal/vole/pull/89, currently carried as a downstream patch.