solana/clap-v3-utils/src
samkim-crypto 6a9a89064b
[clap-v3-utils] Deprecate signer source validation (#33802)
* make `SignerSource` implement `Clone`

* add `SignerSourceParserBuilder`

* deprecate `is_keypair`

* deprecate `is_keypair_or_ask_keyword`

* deprecate `is_prompt_signer_source`

* deprecate `is_pubkey_or_keypair`, `is_valid_pubkey`, and `is_valid_signer`

* deprecate `is_pubkey`

* bump deprecation version to 1.17.2

* temporarily allow deprecation for build

* Apply suggestions from code review

Co-authored-by: Tyera <teulberg@gmail.com>

* fix typo `SignerSourceParseBuilder` --> `SignerSourceParserBuilder`

* add `allow_` prefix to `SignerSourceParserBuilder` fields

* remove `SignerSourceParserBuilder::new()` and replace it with `Default`

* Update keygen/src/keygen.rs

Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>

* update deprecated version to `1.18.0`

---------

Co-authored-by: Tyera <teulberg@gmail.com>
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
2024-01-06 08:19:54 +09:00
..
input_parsers [clap-v3-utils] Deprecate signer source validation (#33802) 2024-01-06 08:19:54 +09:00
keygen [clap-v3-utils] Add replace deprecated `value_of` and `is_present` with `get_one` and `contains_id` (#33184) 2023-09-12 21:27:38 -07:00
fee_payer.rs [clap-v3-utils] Deprecate signer source validation (#33802) 2024-01-06 08:19:54 +09:00
input_validators.rs [clap-v3-utils] Deprecate signer source validation (#33802) 2024-01-06 08:19:54 +09:00
keypair.rs [clap-v3-utils] Deprecate signer source validation (#33802) 2024-01-06 08:19:54 +09:00
lib.rs [clap-v3-utils, keygen] Refactor mnemonics, derivation path, and argument parsing clap logic in keygen (#30977) 2023-05-13 14:30:03 +09:00
memo.rs
nonce.rs [clap-v3-utils] Deprecate signer source validation (#33802) 2024-01-06 08:19:54 +09:00
offline.rs clap-utils: Forbid multiple values for `--signer` (#34482) 2024-01-05 21:25:50 +01:00