From 87e911bab0a71fa2cfaa67a5ba7630866f3233bb Mon Sep 17 00:00:00 2001 From: Josh Stoik Date: Sun, 15 Oct 2023 20:22:17 -0700 Subject: [PATCH 1/3] bump: dactyl 0.6 --- Cargo.toml | 4 ++-- src/main.rs | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 01ed12f..5d06d03 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -86,12 +86,12 @@ lines = [ ] [build-dependencies] -dactyl = "0.5.*" +dactyl = "0.6.*" [dependencies] argyle = "0.6.*" ctrlc = "3.4.*" -dactyl = "0.5.*" +dactyl = "0.6.*" dowser = "0.8.*" libdeflater = "=1.19.0" rayon = "1.8.*" diff --git a/src/main.rs b/src/main.rs index 8ef8266..18e779d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -48,6 +48,7 @@ use argyle::{ use dactyl::{ NiceU64, NicePercent, + traits::IntDivFloat, }; use dowser::Dowser; use fyi_msg::{ @@ -269,12 +270,12 @@ fn size_chart(src: u64, br: u64, gz: u64) { let len = usize::max(usize::max(nice_src.len(), nice_br.len()), nice_gz.len()); // Figure out relative savings, if any. - let per_br: String = dactyl::int_div_float(br, src).map_or_else( + let per_br: String = br.div_float(src).map_or_else( String::new, |x| format!(" \x1b[2m(Saved {}.)\x1b[0m", NicePercent::from(1.0 - x).as_str()) ); - let per_gz: String = dactyl::int_div_float(gz, src).map_or_else( + let per_gz: String = gz.div_float(src).map_or_else( String::new, |x| format!(" \x1b[2m(Saved {}.)\x1b[0m", NicePercent::from(1.0 - x).as_str()) ); From b4676cd527e1ba8d62bc9fc73e6f9b18357a24eb Mon Sep 17 00:00:00 2001 From: Josh Stoik Date: Thu, 28 Dec 2023 11:11:33 -0800 Subject: [PATCH 2/3] bump: 0.8.1 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 5d06d03..a625111 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "channelz" -version = "0.8.0" +version = "0.8.1" license = "WTFPL" authors = ["Josh Stoik "] edition = "2021" From 512b5d4ba18a94bb2e25870222df4c3934a8555e Mon Sep 17 00:00:00 2001 From: Josh Stoik Date: Thu, 28 Dec 2023 11:11:55 -0800 Subject: [PATCH 3/3] build: 0.8.1 --- CREDITS.md | 30 ++++++++++++++---------------- release/man/channelz.1 | 4 ++-- 2 files changed, 16 insertions(+), 18 deletions(-) diff --git a/CREDITS.md b/CREDITS.md index d477d92..a5d4a7f 100644 --- a/CREDITS.md +++ b/CREDITS.md @@ -1,35 +1,33 @@ # Project Dependencies Package: channelz - Version: 0.8.0 - Generated: 2023-10-05 20:36:36 UTC + Version: 0.8.1 + Generated: 2023-12-28 19:11:09 UTC | Package | Version | Author(s) | License | | ---- | ---- | ---- | ---- | -| [ahash](https://github.com/tkaitchuck/ahash) | 0.8.3 | [Tom Kaitchuck](mailto:tom.kaitchuck@gmail.com) | Apache-2.0 or MIT | +| [ahash](https://github.com/tkaitchuck/ahash) | 0.8.6 | [Tom Kaitchuck](mailto:tom.kaitchuck@gmail.com) | Apache-2.0 or MIT | | [alloc-no-stdlib](https://github.com/dropbox/rust-alloc-no-stdlib) | 2.0.4 | [Daniel Reiter Horn](mailto:danielrh@dropbox.com) | BSD-3-Clause | | [alloc-stdlib](https://github.com/dropbox/rust-alloc-no-stdlib) | 0.2.2 | [Daniel Reiter Horn](mailto:danielrh@dropbox.com) | BSD-3-Clause | | [argyle](https://github.com/Blobfolio/argyle) | 0.6.8 | [Blobfolio, LLC.](mailto:hello@blobfolio.com) | WTFPL | | [brotli](https://github.com/dropbox/rust-brotli) | 3.4.0 | [Daniel Reiter Horn](mailto:danielrh@dropbox.com) and The Brotli Authors | BSD-3-Clause or MIT | -| [brotli-decompressor](https://github.com/dropbox/rust-brotli-decompressor) | 2.5.0 | [Daniel Reiter Horn](mailto:danielrh@dropbox.com) and The Brotli Authors | BSD-3-Clause or MIT | -| [bytecount](https://github.com/llogiq/bytecount) | 0.6.4 | [Andre Bogus](mailto:bogusandre@gmail.de) and [Joshua Landau](mailto:joshua@landau.ws) | Apache-2.0 or MIT | +| [brotli-decompressor](https://github.com/dropbox/rust-brotli-decompressor) | 2.5.1 | [Daniel Reiter Horn](mailto:danielrh@dropbox.com) and The Brotli Authors | BSD-3-Clause or MIT | +| [bytecount](https://github.com/llogiq/bytecount) | 0.6.7 | [Andre Bogus](mailto:bogusandre@gmail.de) and [Joshua Landau](mailto:joshua@landau.ws) | Apache-2.0 or MIT | | [cfg-if](https://github.com/alexcrichton/cfg-if) | 1.0.0 | [Alex Crichton](mailto:alex@alexcrichton.com) | Apache-2.0 or MIT | -| [crossbeam-deque](https://github.com/crossbeam-rs/crossbeam) | 0.8.3 | | Apache-2.0 or MIT | -| [crossbeam-epoch](https://github.com/crossbeam-rs/crossbeam) | 0.9.15 | | Apache-2.0 or MIT | -| [crossbeam-utils](https://github.com/crossbeam-rs/crossbeam) | 0.8.16 | | Apache-2.0 or MIT | -| [ctrlc](https://github.com/Detegr/rust-ctrlc.git) | 3.4.1 | [Antti Keränen](mailto:detegr@gmail.com) | Apache-2.0 or MIT | -| [dactyl](https://github.com/Blobfolio/dactyl) | 0.5.2 | [Blobfolio, LLC.](mailto:hello@blobfolio.com) | WTFPL | -| [dowser](https://github.com/Blobfolio/dowser) | 0.8.0 | [Blobfolio, LLC.](mailto:hello@blobfolio.com) | WTFPL | +| [crossbeam-deque](https://github.com/crossbeam-rs/crossbeam) | 0.8.4 | | Apache-2.0 or MIT | +| [crossbeam-epoch](https://github.com/crossbeam-rs/crossbeam) | 0.9.17 | | Apache-2.0 or MIT | +| [crossbeam-utils](https://github.com/crossbeam-rs/crossbeam) | 0.8.18 | | Apache-2.0 or MIT | +| [ctrlc](https://github.com/Detegr/rust-ctrlc.git) | 3.4.2 | [Antti Keränen](mailto:detegr@gmail.com) | Apache-2.0 or MIT | +| [dactyl](https://github.com/Blobfolio/dactyl) | 0.6.0 | [Blobfolio, LLC.](mailto:hello@blobfolio.com) | WTFPL | +| [dowser](https://github.com/Blobfolio/dowser) | 0.8.1 | [Blobfolio, LLC.](mailto:hello@blobfolio.com) | WTFPL | | [either](https://github.com/bluss/either) | 1.9.0 | bluss | Apache-2.0 or MIT | | [fastrand](https://github.com/smol-rs/fastrand) | 2.0.1 | [Stjepan Glavina](mailto:stjepang@gmail.com) | Apache-2.0 or MIT | -| [fyi_msg](https://github.com/Blobfolio/fyi) | 0.11.6 | [Blobfolio, LLC.](mailto:hello@blobfolio.com) | WTFPL | +| [fyi_msg](https://github.com/Blobfolio/fyi) | 0.11.8 | [Blobfolio, LLC.](mailto:hello@blobfolio.com) | WTFPL | | [libdeflate-sys](https://github.com/adamkewley/libdeflater) | 1.19.0 | [Adam Kewley](mailto:contact@adamkewley.com) | Apache-2.0 | | [libdeflater](https://github.com/adamkewley/libdeflater) | 1.19.0 | [Adam Kewley](mailto:contact@adamkewley.com) | Apache-2.0 | -| [memoffset](https://github.com/Gilnaa/memoffset) | 0.9.0 | [Gilad Naaman](mailto:gilad.naaman@gmail.com) | MIT | -| [num-traits](https://github.com/rust-num/num-traits) | 0.2.16 | The Rust Project Developers | Apache-2.0 or MIT | | [rayon](https://github.com/rayon-rs/rayon) | 1.8.0 | [Niko Matsakis](mailto:niko@alum.mit.edu) and [Josh Stone](mailto:cuviper@gmail.com) | Apache-2.0 or MIT | | [rayon-core](https://github.com/rayon-rs/rayon) | 1.12.0 | [Niko Matsakis](mailto:niko@alum.mit.edu) and [Josh Stone](mailto:cuviper@gmail.com) | Apache-2.0 or MIT | -| [scopeguard](https://github.com/bluss/scopeguard) | 1.2.0 | bluss | Apache-2.0 or MIT | -| [tempfile](https://github.com/Stebalien/tempfile) | 3.8.0 | [Steven Allen](mailto:steven@stebalien.com), The Rust Project Developers, [Ashley Mannix](mailto:ashleymannix@live.com.au), and [Jason White](mailto:me@jasonwhite.io) | Apache-2.0 or MIT | +| [tempfile](https://github.com/Stebalien/tempfile) | 3.9.0 | [Steven Allen](mailto:steven@stebalien.com), The Rust Project Developers, [Ashley Mannix](mailto:ashleymannix@live.com.au), and [Jason White](mailto:me@jasonwhite.io) | Apache-2.0 or MIT | | [term_size](https://github.com/kbknapp/term_size-rs.git) | 0.3.2 | [Kevin K.](mailto:kbknapp@gmail.com) and [Benjamin Sago](mailto:ogham@bsago.me) | Apache-2.0 or MIT | | [unicode-width](https://github.com/unicode-rs/unicode-width) | 0.1.11 | [kwantam](mailto:kwantam@gmail.com) and [Manish Goregaokar](mailto:manishsmail@gmail.com) | Apache-2.0 or MIT | | [write_atomic](https://github.com/Blobfolio/write_atomic) | 0.5.0 | [Blobfolio, LLC.](mailto:hello@blobfolio.com) | WTFPL | +| [zerocopy](https://github.com/google/zerocopy) | 0.7.32 | [Joshua Liebow-Feeser](mailto:joshlf@google.com) | Apache-2.0, BSD-2-Clause, or MIT | diff --git a/release/man/channelz.1 b/release/man/channelz.1 index 81823f4..e99631c 100644 --- a/release/man/channelz.1 +++ b/release/man/channelz.1 @@ -1,6 +1,6 @@ -.TH "CHANNELZ" "1" "October 2023" "ChannelZ v0.8.0" "User Commands" +.TH "CHANNELZ" "1" "December 2023" "ChannelZ v0.8.1" "User Commands" .SH NAME -ChannelZ \- Manual page for channelz v0.8.0. +ChannelZ \- Manual page for channelz v0.8.1. .SH DESCRIPTION Fast, multi\-threaded static Gzip/Brotli encoding tool for the CLI. .SS USAGE: