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 input validators and add parsers to replace…
… them (solana-labs#33276) * add tests for validating `Pubkey` and `Hash` * add pubkey signature parser * add parsers for straightforward validators * add parser for token amounts * add parser for derivation and seeds * resolve warnings from deprecations in clap-v3-utils * remove some deprecated functions from `solana_keygen` * refactor signer related input parsers into a submodule * fix deprecation notice for utl * refactor parsers in `input_validators` to `input_parsers` * cargo fmt * Apply suggestions from code review Co-authored-by: Trent Nelson <[email protected]> * Update clap-v3-utils/src/input_parsers/mod.rs Co-authored-by: Trent Nelson <[email protected]> * mionr fixes to build * add deprecation notice for old `input_parsers::signer` functions * update `UiTokenAmount` to `Amount` * refactor to-be-deprecated functions back to `input_parsers/mod.rs * fmt --------- Co-authored-by: Trent Nelson <[email protected]>
- Loading branch information