diff options
| author | diogo464 <[email protected]> | 2021-12-23 19:38:33 +0000 |
|---|---|---|
| committer | diogo464 <[email protected]> | 2021-12-23 19:38:33 +0000 |
| commit | ef0889ff3f372b2a9e7d819502d6da964ead5d99 (patch) | |
| tree | 7cbef191a6535c97593b9798269bd1fbec311341 | |
| parent | 8b55e5482f6b7d325980b41edbd03d6e42c183c1 (diff) | |
Added "derive" feature to clap
| -rw-r--r-- | Cargo.lock | 54 | ||||
| -rw-r--r-- | dotup_cli/Cargo.toml | 5 |
2 files changed, 58 insertions, 1 deletions
| @@ -88,7 +88,9 @@ checksum = "9468f8012246b0836c6fd11725102b0844254985f2462b6c637d50040ef49df0" | |||
| 88 | dependencies = [ | 88 | dependencies = [ |
| 89 | "atty", | 89 | "atty", |
| 90 | "bitflags", | 90 | "bitflags", |
| 91 | "clap_derive", | ||
| 91 | "indexmap", | 92 | "indexmap", |
| 93 | "lazy_static", | ||
| 92 | "os_str_bytes", | 94 | "os_str_bytes", |
| 93 | "strsim", | 95 | "strsim", |
| 94 | "termcolor", | 96 | "termcolor", |
| @@ -96,6 +98,19 @@ dependencies = [ | |||
| 96 | ] | 98 | ] |
| 97 | 99 | ||
| 98 | [[package]] | 100 | [[package]] |
| 101 | name = "clap_derive" | ||
| 102 | version = "3.0.0-rc.7" | ||
| 103 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 104 | checksum = "b72e1af32a4de4d21a43d26de33fe69c00e895371bd8b1523d674f011b610467" | ||
| 105 | dependencies = [ | ||
| 106 | "heck", | ||
| 107 | "proc-macro-error", | ||
| 108 | "proc-macro2", | ||
| 109 | "quote", | ||
| 110 | "syn", | ||
| 111 | ] | ||
| 112 | |||
| 113 | [[package]] | ||
| 99 | name = "difflib" | 114 | name = "difflib" |
| 100 | version = "0.4.0" | 115 | version = "0.4.0" |
| 101 | source = "registry+https://github.com/rust-lang/crates.io-index" | 116 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| @@ -179,6 +194,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
| 179 | checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e" | 194 | checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e" |
| 180 | 195 | ||
| 181 | [[package]] | 196 | [[package]] |
| 197 | name = "heck" | ||
| 198 | version = "0.3.3" | ||
| 199 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 200 | checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c" | ||
| 201 | dependencies = [ | ||
| 202 | "unicode-segmentation", | ||
| 203 | ] | ||
| 204 | |||
| 205 | [[package]] | ||
| 182 | name = "hermit-abi" | 206 | name = "hermit-abi" |
| 183 | version = "0.1.19" | 207 | version = "0.1.19" |
| 184 | source = "registry+https://github.com/rust-lang/crates.io-index" | 208 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| @@ -282,6 +306,30 @@ dependencies = [ | |||
| 282 | ] | 306 | ] |
| 283 | 307 | ||
| 284 | [[package]] | 308 | [[package]] |
| 309 | name = "proc-macro-error" | ||
| 310 | version = "1.0.4" | ||
| 311 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 312 | checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" | ||
| 313 | dependencies = [ | ||
| 314 | "proc-macro-error-attr", | ||
| 315 | "proc-macro2", | ||
| 316 | "quote", | ||
| 317 | "syn", | ||
| 318 | "version_check", | ||
| 319 | ] | ||
| 320 | |||
| 321 | [[package]] | ||
| 322 | name = "proc-macro-error-attr" | ||
| 323 | version = "1.0.4" | ||
| 324 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 325 | checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" | ||
| 326 | dependencies = [ | ||
| 327 | "proc-macro2", | ||
| 328 | "quote", | ||
| 329 | "version_check", | ||
| 330 | ] | ||
| 331 | |||
| 332 | [[package]] | ||
| 285 | name = "proc-macro2" | 333 | name = "proc-macro2" |
| 286 | version = "1.0.32" | 334 | version = "1.0.32" |
| 287 | source = "registry+https://github.com/rust-lang/crates.io-index" | 335 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| @@ -514,6 +562,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
| 514 | checksum = "a7f741b240f1a48843f9b8e0444fb55fb2a4ff67293b50a9179dfd5ea67f8d41" | 562 | checksum = "a7f741b240f1a48843f9b8e0444fb55fb2a4ff67293b50a9179dfd5ea67f8d41" |
| 515 | 563 | ||
| 516 | [[package]] | 564 | [[package]] |
| 565 | name = "unicode-segmentation" | ||
| 566 | version = "1.8.0" | ||
| 567 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 568 | checksum = "8895849a949e7845e06bd6dc1aa51731a103c42707010a5b591c0038fb73385b" | ||
| 569 | |||
| 570 | [[package]] | ||
| 517 | name = "unicode-xid" | 571 | name = "unicode-xid" |
| 518 | version = "0.2.2" | 572 | version = "0.2.2" |
| 519 | source = "registry+https://github.com/rust-lang/crates.io-index" | 573 | source = "registry+https://github.com/rust-lang/crates.io-index" |
diff --git a/dotup_cli/Cargo.toml b/dotup_cli/Cargo.toml index d351336..f80b763 100644 --- a/dotup_cli/Cargo.toml +++ b/dotup_cli/Cargo.toml | |||
| @@ -10,9 +10,12 @@ doc = false | |||
| 10 | 10 | ||
| 11 | [dependencies] | 11 | [dependencies] |
| 12 | anyhow = "1.0" | 12 | anyhow = "1.0" |
| 13 | clap = "3.0.0-rc.7" | ||
| 14 | log = "0.4" | 13 | log = "0.4" |
| 15 | 14 | ||
| 15 | [dependencies.clap] | ||
| 16 | features = ["derive"] | ||
| 17 | version = "3.0.0-rc.7" | ||
| 18 | |||
| 16 | [dependencies.dotup] | 19 | [dependencies.dotup] |
| 17 | path = "../dotup" | 20 | path = "../dotup" |
| 18 | 21 | ||
