Skip to content

Commit

Permalink
release: 0.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
joshstoik1 committed Dec 28, 2023
2 parents 30aee28 + 512b5d4 commit 5477c81
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 23 deletions.
30 changes: 14 additions & 16 deletions CREDITS.md
Original file line number Diff line number Diff line change
@@ -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:[email protected]) | Apache-2.0 or MIT |
| [ahash](https://github.com/tkaitchuck/ahash) | 0.8.6 | [Tom Kaitchuck](mailto:[email protected]) | Apache-2.0 or MIT |
| [alloc-no-stdlib](https://github.com/dropbox/rust-alloc-no-stdlib) | 2.0.4 | [Daniel Reiter Horn](mailto:[email protected]) | BSD-3-Clause |
| [alloc-stdlib](https://github.com/dropbox/rust-alloc-no-stdlib) | 0.2.2 | [Daniel Reiter Horn](mailto:[email protected]) | BSD-3-Clause |
| [argyle](https://github.com/Blobfolio/argyle) | 0.6.8 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
| [brotli](https://github.com/dropbox/rust-brotli) | 3.4.0 | [Daniel Reiter Horn](mailto:[email protected]) 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:[email protected]) and The Brotli Authors | BSD-3-Clause or MIT |
| [bytecount](https://github.com/llogiq/bytecount) | 0.6.4 | [Andre Bogus](mailto:[email protected]) and [Joshua Landau](mailto:[email protected]) | Apache-2.0 or MIT |
| [brotli-decompressor](https://github.com/dropbox/rust-brotli-decompressor) | 2.5.1 | [Daniel Reiter Horn](mailto:[email protected]) and The Brotli Authors | BSD-3-Clause or MIT |
| [bytecount](https://github.com/llogiq/bytecount) | 0.6.7 | [Andre Bogus](mailto:[email protected]) and [Joshua Landau](mailto:[email protected]) | Apache-2.0 or MIT |
| [cfg-if](https://github.com/alexcrichton/cfg-if) | 1.0.0 | [Alex Crichton](mailto:[email protected]) | 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:[email protected]) | Apache-2.0 or MIT |
| [dactyl](https://github.com/Blobfolio/dactyl) | 0.5.2 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
| [dowser](https://github.com/Blobfolio/dowser) | 0.8.0 | [Blobfolio, LLC.](mailto:[email protected]) | 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:[email protected]) | Apache-2.0 or MIT |
| [dactyl](https://github.com/Blobfolio/dactyl) | 0.6.0 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
| [dowser](https://github.com/Blobfolio/dowser) | 0.8.1 | [Blobfolio, LLC.](mailto:[email protected]) | 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:[email protected]) | Apache-2.0 or MIT |
| [fyi_msg](https://github.com/Blobfolio/fyi) | 0.11.6 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
| [fyi_msg](https://github.com/Blobfolio/fyi) | 0.11.8 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
| [libdeflate-sys](https://github.com/adamkewley/libdeflater) | 1.19.0 | [Adam Kewley](mailto:[email protected]) | Apache-2.0 |
| [libdeflater](https://github.com/adamkewley/libdeflater) | 1.19.0 | [Adam Kewley](mailto:[email protected]) | Apache-2.0 |
| [memoffset](https://github.com/Gilnaa/memoffset) | 0.9.0 | [Gilad Naaman](mailto:[email protected]) | 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:[email protected]) and [Josh Stone](mailto:[email protected]) | Apache-2.0 or MIT |
| [rayon-core](https://github.com/rayon-rs/rayon) | 1.12.0 | [Niko Matsakis](mailto:[email protected]) and [Josh Stone](mailto:[email protected]) | 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:[email protected]), The Rust Project Developers, [Ashley Mannix](mailto:[email protected]), and [Jason White](mailto:[email protected]) | Apache-2.0 or MIT |
| [tempfile](https://github.com/Stebalien/tempfile) | 3.9.0 | [Steven Allen](mailto:[email protected]), The Rust Project Developers, [Ashley Mannix](mailto:[email protected]), and [Jason White](mailto:[email protected]) | Apache-2.0 or MIT |
| [term_size](https://github.com/kbknapp/term_size-rs.git) | 0.3.2 | [Kevin K.](mailto:[email protected]) and [Benjamin Sago](mailto:[email protected]) | Apache-2.0 or MIT |
| [unicode-width](https://github.com/unicode-rs/unicode-width) | 0.1.11 | [kwantam](mailto:[email protected]) and [Manish Goregaokar](mailto:[email protected]) | Apache-2.0 or MIT |
| [write_atomic](https://github.com/Blobfolio/write_atomic) | 0.5.0 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
| [zerocopy](https://github.com/google/zerocopy) | 0.7.32 | [Joshua Liebow-Feeser](mailto:[email protected]) | Apache-2.0, BSD-2-Clause, or MIT |
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "channelz"
version = "0.8.0"
version = "0.8.1"
license = "WTFPL"
authors = ["Josh Stoik <[email protected]>"]
edition = "2021"
Expand Down Expand Up @@ -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.*"
Expand Down
4 changes: 2 additions & 2 deletions release/man/channelz.1
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
5 changes: 3 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ use argyle::{
use dactyl::{
NiceU64,
NicePercent,
traits::IntDivFloat,
};
use dowser::Dowser;
use fyi_msg::{
Expand Down Expand Up @@ -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())
);
Expand Down

0 comments on commit 5477c81

Please sign in to comment.