diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2020-09-10 12:39:07 +0200 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2020-09-12 14:31:46 -0700 |
commit | 57a177e2f946390559a1f17787c5a15d23ac3393 (patch) | |
tree | a8069b927bdda75fbceb9e7a289d8338bb19fd8b /Cargo.lock | |
parent | 33918c32b8de4250c450f8d0b007019913c440a1 (diff) | |
download | nitrocli-57a177e2f946390559a1f17787c5a15d23ac3393.tar.gz nitrocli-57a177e2f946390559a1f17787c5a15d23ac3393.tar.bz2 |
Show progress bar in fill output
This patch uses the progressing crate to display a progress bar for the
fill command if the output is printed to a TTY.
Diffstat (limited to 'Cargo.lock')
-rw-r--r-- | Cargo.lock | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -164,6 +164,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "99e85c08494b21a9054e7fe1374a732aeadaff3980b6990b94bfd3a70f690005" [[package]] +name = "log" +version = "0.4.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fabed175da42fed1fa0746b0ea71f412aa9d35e76e95e59b192c64b9dc2bf8b" +dependencies = [ + "cfg-if", +] + +[[package]] name = "memchr" version = "2.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -204,6 +213,7 @@ dependencies = [ "nitrokey", "nitrokey-test", "nitrokey-test-state", + "progressing", "regex", "serde", "structopt", @@ -300,6 +310,15 @@ dependencies = [ ] [[package]] +name = "progressing" +version = "3.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97b7db19a74ba7c34de36558abed080568491d2b8999a34de914b1793b0b4b1b" +dependencies = [ + "log", +] + +[[package]] name = "quote" version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" |