]> Untitled Git - bdk/commit
fix(RUSTSEC-2024-0370)!: bump `clap` to latest, removing transitive
authorLeonardo Lima <oleonardolima@users.noreply.github.com>
Thu, 12 Sep 2024 15:08:35 +0000 (12:08 -0300)
committerLeonardo Lima <oleonardolima@users.noreply.github.com>
Fri, 20 Sep 2024 16:54:07 +0000 (13:54 -0300)
commitd802d00a06035bec582eb5aadf0281f26bff6acd
tree5c946f2abe60cda1cff285cc327250cf4526a4d5
parent45be3172a4abaa94ef2ff55784da31832bdd732a
fix(RUSTSEC-2024-0370)!: bump `clap` to latest, removing transitive
dependency on `proc-macro-error`.

In #1593 it's mentioned that `proc-macro-error` is unmaintained for the
past few years, with no fix other than using proc-macro-error2 instead.

As on our scenario it's merely a transitive dependency of `clap`,
through `clap_derive` feature, which in latest releases doesn't depend on
`proc-macro-error` we can just bump it to latest.

It's valid to note that by bumping it, both examples that relies on clap
are no longer MSRV (1.63) compliant.
example-crates/example_cli/Cargo.toml
example-crates/example_wallet_rpc/Cargo.toml