solana/clap-v3-utils
mergify[bot] 994e81ed34
v1.18: [clap-v3-utils] Add functions to parse directly from `SignerSource` (backport of #34678) (#35384)
[clap-v3-utils] Add functions to parse directly from `SignerSource` (#34678)

* add `_from_source` function variants for signer, keypair, and pubkey

* make `parse_signer_source` an associated function of `SignerSource`

* refactor `SignerSource` into `input_parsers::signer`

* make `_from_source` functions public

* remove unnecessary import

(cherry picked from commit 3004eaa9bd)

Co-authored-by: samkim-crypto <skim13@cs.stanford.edu>
2024-03-02 07:06:13 +09:00
..
src v1.18: [clap-v3-utils] Add functions to parse directly from `SignerSource` (backport of #34678) (#35384) 2024-03-02 07:06:13 +09:00
Cargo.toml replaces assert!(matches!(...)) with assert_matches!(...) (#33068) 2023-08-30 13:48:27 -04:00