forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 261
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] Remove deprecated functions (#313)
* add `deprecated` feature to produce warnings on use of deprecated functions * replace `multiple_occurrences` with arg actions * replace `possible_values` with `PossibleValueParser` * deprecated `value_of` and `values_of` * deprecate `unix_timestamp_from_rfc3339_datetime` * deprecate `cluster_type_of` * deprecate `commitment_of` * deprecate `keypair_of`, `keypairs_of`, `pubkey_of`, and `pubkeys_of` functions * replace deprecated functions from `try_keypair_of`, `try_keypairs_of`, `try_pubkey_of`, and `try_pubkeys_of` * deprecate `pubkeys_sigs_of` * allow deprecated on tests * remove `deprecation` feature from clap-v3-utils * re-export `pubkeys_sigs_of` * add helper `extract_keypair` to dedupe `try_keypair_of` and `try_keypairs_of` * remove unwraps and expects * bump deprecation version
- Loading branch information
1 parent
e963f87
commit c7cdf23
Showing
5 changed files
with
202 additions
and
25 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.