b20a140a60166650766b6100deee85d051dee538 Fix some clippies.. (rajarshimaitra)
1e21cc74f0fae16f6da1cf29983a8c91ba3010c9 Fix wasm (rajarshimaitra)
ba1c165f0fa847b02bca1f3bde335bafb3132c7d Update cargo lock. (rajarshimaitra)
02e71b06dbd670ddec4dd6d3ad3639dacf35787d Reverse the recipient parsing string (rajarshimaitra)
95719b0ad1628f6737efb6a568c872ab7b8cbbe2 Remove vector of string from compact_filters options. (rajarshimaitra)
9fb651a9e97052a4f65c3d20f44d264a30715ce1 Update wasm build to 1.57 in CI (rajarshimaitra)
7e87a65fea874033c48cca589d628bf3c07c1289 update MSRV to 1.57 (rajarshimaitra)
3dcc269f65d0f681945e1b1a45e2961d87ad7017 Update Cargo lock (rajarshimaitra)
f8c0f2e0206bc53c1577f758eb7926ce87d3e035 Update recipient parsing in handlers. (rajarshimaitra)
5bbc45ab2a3405fcae6eaad2c177e6d48fc9bf2e Move from structopt to clap (rajarshimaitra)
Pull request description:
<!-- You can erase any parts of this template not applicable to your Pull Request. -->
### Description
Fixes #113.
This is an attempt to migrate from `structopt` to `clap v0.3` which provides very similar kind of derives as `structopt`. Changes are straight forward. But this comes with few more problems.
- with clap `v3.2.22` the MSRV pushes up to `1.57.0`.. The last clap of MSRV `1.56.0` was `clap 3.2.5`.. But even that doesn't seem to be working at MSRV `1.56.0` anymore, as bunch of underlying lib has upgraded.
- `clap v3.0` doesn't seem to support custom vector parsing well, reported here https://github.com/clap-rs/clap/issues/1704. This is required for `recipient` parsing which is a `Vec<(Script, u32)>`. Workaround for that is to use vecs of strings and parse them at runtime in `create_tx` handler. Included in the PR.
### Notes to the reviewers
`structopt` is currently freezed at `clap 2.0` and doesn't seem to intend on updating and currently its has unmaintained vulnerability. And `clap v3.0` onward seems to replacing everything that `structopt` did before. So this means we should also look for ways to migrate from `strcutopt` to `clap`.. But `clap` seemed to have moved ahead than our MSRV `1.56.0`.. So we need to take up a call on that.. Opened this PR to facilitate that discussion..
This is draft until we figure what to do..
### Checklists
#### All Submissions:
* [x] I've signed all my commits
* [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk-cli/blob/master/CONTRIBUTING.md)
* [x] I ran `cargo fmt` and `cargo clippy` before committing
ACKs for top commit:
notmandatory:
ACK
b20a140a60166650766b6100deee85d051dee538
Tree-SHA512: de3511c1531185064e3c328f0c966c3e87294b7c6d07a89ba9f64e49f7c8b8ccaef0915f49fc6721b738f91a0128b30eeb61147a2da174ccac9abab094ab6798