citadel-tech / coinswap

Functioning, minimal-viable binaries and libraries to perform a trustless, p2p Maxwell-Belcher Coinswap Protocol

Home Page:https://gist.github.com/chris-belcher/9144bd57a91c194e332fb5ca371d0964

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update structopt to clap 3.0

rajarshimaitra opened this issue · comments

commented

As structopt isn't maintained anymore, and it is recommended to use clap instead. https://docs.rs/structopt/latest/structopt/

Use the clap doc 4.3.12. https://docs.rs/clap/latest/clap/

For reference, check out the bdk-cli clap structures: https://github.com/bitcoindevkit/bdk-cli/blob/master/src/commands.rs

Set clap dependency in cargo.toml to clap=4.0.