forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 226
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[clap-v3-utils] Deprecate signer source validation (solana-labs#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 <[email protected]> * 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 <[email protected]> * update deprecated version to `1.18.0` --------- Co-authored-by: Tyera <[email protected]> Co-authored-by: Trent Nelson <[email protected]>
- Loading branch information
1 parent
08082df
commit 6a9a890
Showing
8 changed files
with
379 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.