diff options
| author | Nicholas Rodrigues Lordello <[email protected]> | 2022-05-06 20:15:02 +0200 |
|---|---|---|
| committer | Nicholas Rodrigues Lordello <[email protected]> | 2022-05-06 20:15:02 +0200 |
| commit | c5d2ec6c93a40af460e35d9171dd7966e97a0c75 (patch) | |
| tree | cb76ceb5630af0c4d880421a7bcf3f4434f95ea3 | |
| parent | 2cf5f650b8fdbd1992f3d65ad6e102087e74f896 (diff) | |
Use clap auto-attributes
| -rw-r--r-- | Cargo.lock | 16 | ||||
| -rw-r--r-- | Cargo.toml | 2 | ||||
| -rw-r--r-- | src/main.rs | 5 |
3 files changed, 10 insertions, 13 deletions
@@ -69,9 +69,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "clap" -version = "3.1.15" +version = "3.1.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85a35a599b11c089a7f49105658d089b8f2cf0882993c17daf6de15285c2c35d" +checksum = "47582c09be7c8b32c0ab3a6181825ababb713fde6fff20fc573a3870dd45c6a0" dependencies = [ "atty", "bitflags", @@ -220,9 +220,9 @@ checksum = "63b40347dcad92b4dfeb9765c41c48503416daddf6dba55b74614dc035a43ed2" [[package]] name = "ff" -version = "0.11.0" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2958d04124b9f27f175eaeb9a9f383d026098aa837eadd8ba22c11f13a05b9e" +checksum = "131655483be284720a17d74ff97592b8e76576dc25563148601df2d7c9080924" dependencies = [ "rand_core", "subtle", @@ -443,9 +443,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.37" +version = "1.0.38" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec757218438d5fda206afc041538b2f6d889286160d649a86a24d37e1235afd1" +checksum = "9027b48e9d4c9175fa2218adf3557f91c1137021739951d4932f5f8268ac48aa" dependencies = [ "unicode-xid", ] @@ -520,9 +520,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.80" +version = "1.0.81" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f972498cf015f7c0746cac89ebe1d6ef10c293b94175a243a2d9442c163d9944" +checksum = "9b7ce2b32a1aed03c558dc61a5cd328f15aff2dbc17daad8fb8af04d2100e15c" dependencies = [ "itoa", "ryu", @@ -3,7 +3,7 @@ name = "hdwallet" version = "0.2.0" authors = ["Nicholas Rodrigues Lordello <[email protected]>"] edition = "2021" -description = "Ethereum hierarchical deterministic wallet implementation" +description = "Hierarchical deterministic wallet for Ethereum" documentation = "https://docs.rs/hdwallet" homepage = "https://github.com/nlordell/hdwallet" repository = "https://github.com/nlordell/hdwallet" diff --git a/src/main.rs b/src/main.rs index 2c80f57..3eb152f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -5,10 +5,7 @@ use std::process; #[allow(clippy::large_enum_variant)] #[derive(Debug, Parser)] -#[clap( - name = "hdwallet", - about = "Hierarchical deterministic wallet for Ethereum" -)] +#[clap(version, about)] enum Options { #[clap(about = "Print account public address")] Address(cmd::address::Options), |
