Skip to content

Commit 31fa8d8

Browse files
committed
release: 0.12.1
2 parents bfd6cb6 + da10096 commit 31fa8d8

File tree

5 files changed

+42
-39
lines changed

5 files changed

+42
-39
lines changed

CREDITS.md

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,48 @@
11
# Project Dependencies
22
Package: channelz
3-
Version: 0.12.0
3+
Version: 0.12.1
44
Target: x86_64-unknown-linux-gnu
5-
Generated: 2025-08-22 04:31:45 UTC
5+
Generated: 2025-09-19 02:54:18 UTC
66

77
| Package | Version | Author(s) | License |
88
| ---- | ---- | ---- | ---- |
99
| [ahash](https://github.com/tkaitchuck/ahash) | 0.8.12 | [Tom Kaitchuck](mailto:tom.kaitchuck@gmail.com) | MIT OR Apache-2.0 |
1010
| [alloc-no-stdlib](https://github.com/dropbox/rust-alloc-no-stdlib) | 2.0.4 | [Daniel Reiter Horn](mailto:danielrh@dropbox.com) | BSD-3-Clause |
1111
| [alloc-stdlib](https://github.com/dropbox/rust-alloc-no-stdlib) | 0.2.2 | [Daniel Reiter Horn](mailto:danielrh@dropbox.com) | BSD-3-Clause |
1212
| [**argyle**](https://github.com/Blobfolio/argyle) | 0.13.0 | [Josh Stoik](mailto:josh@blobfolio.com) | WTFPL |
13-
| [bitflags](https://github.com/bitflags/bitflags) | 2.9.2 | The Rust Project Developers | MIT OR Apache-2.0 |
13+
| [autocfg](https://github.com/cuviper/autocfg) ⚒️ | 1.5.0 | [Josh Stone](mailto:cuviper@gmail.com) | Apache-2.0 OR MIT |
14+
| [bitflags](https://github.com/bitflags/bitflags) | 2.9.4 | The Rust Project Developers | MIT OR Apache-2.0 |
1415
| [**brotli**](https://github.com/dropbox/rust-brotli) | 8.0.2 | [Daniel Reiter Horn](mailto:danielrh@dropbox.com) and The Brotli Authors | BSD-3-Clause AND MIT |
1516
| [brotli-decompressor](https://github.com/dropbox/rust-brotli-decompressor) | 5.0.0 | [Daniel Reiter Horn](mailto:danielrh@dropbox.com) and The Brotli Authors | BSD-3-Clause OR MIT |
16-
| [cc](https://github.com/rust-lang/cc-rs) ⚒️ | 1.2.33 | [Alex Crichton](mailto:alex@alexcrichton.com) | MIT OR Apache-2.0 |
17+
| [cc](https://github.com/rust-lang/cc-rs) ⚒️ | 1.2.37 | [Alex Crichton](mailto:alex@alexcrichton.com) | MIT OR Apache-2.0 |
1718
| [cfg-if](https://github.com/rust-lang/cfg-if) | 1.0.3 | [Alex Crichton](mailto:alex@alexcrichton.com) | MIT OR Apache-2.0 |
18-
| [**crossbeam-channel**](https://github.com/crossbeam-rs/crossbeam) | 0.5.15 | | MIT OR Apache-2.0 |
19-
| [crossbeam-utils](https://github.com/crossbeam-rs/crossbeam) | 0.8.21 | | MIT OR Apache-2.0 |
2019
| [**dactyl**](https://github.com/Blobfolio/dactyl) | 0.13.1 | [Josh Stoik](mailto:josh@blobfolio.com) | WTFPL |
21-
| [**dowser**](https://github.com/Blobfolio/dowser) | 0.16.1 | [Josh Stoik](mailto:josh@blobfolio.com) | WTFPL |
20+
| [**dowser**](https://github.com/Blobfolio/dowser) | 0.17.0 | [Josh Stoik](mailto:josh@blobfolio.com) | WTFPL |
2221
| [fastrand](https://github.com/smol-rs/fastrand) | 2.3.0 | [Stjepan Glavina](mailto:stjepang@gmail.com) | Apache-2.0 OR MIT |
2322
| [filetime](https://github.com/alexcrichton/filetime) | 0.2.26 | [Alex Crichton](mailto:alex@alexcrichton.com) | MIT OR Apache-2.0 |
23+
| [find-msvc-tools](https://github.com/rust-lang/cc-rs) ⚒️ | 0.1.1 | | MIT OR Apache-2.0 |
24+
| [**flume**](https://github.com/zesterer/flume) | 0.11.1 | [Joshua Barretto](mailto:joshua.s.barretto@gmail.com) | Apache-2.0 OR MIT |
2425
| [fyi_ansi](https://github.com/Blobfolio/fyi) | 2.2.1 | [Josh Stoik](mailto:josh@blobfolio.com) | WTFPL |
25-
| [**fyi_msg**](https://github.com/Blobfolio/fyi) | 2.3.1 | [Josh Stoik](mailto:josh@blobfolio.com) | WTFPL |
26+
| [**fyi_msg**](https://github.com/Blobfolio/fyi) | 2.4.0 | [Josh Stoik](mailto:josh@blobfolio.com) | WTFPL |
2627
| [getrandom](https://github.com/rust-random/getrandom) | 0.3.3 | The Rand Project Developers | MIT OR Apache-2.0 |
2728
| [libc](https://github.com/rust-lang/libc) | 0.2.175 | The Rust Project Developers | MIT OR Apache-2.0 |
2829
| [libdeflate-sys](https://github.com/adamkewley/libdeflater) | 1.24.0 | [Adam Kewley](mailto:contact@adamkewley.com) | Apache-2.0 |
2930
| [**libdeflater**](https://github.com/adamkewley/libdeflater) | 1.24.0 | [Adam Kewley](mailto:contact@adamkewley.com) | Apache-2.0 |
30-
| [linux-raw-sys](https://github.com/sunfishcode/linux-raw-sys) | 0.9.4 | [Dan Gohman](mailto:dev@sunfishcode.online) | Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT |
31+
| [linux-raw-sys](https://github.com/sunfishcode/linux-raw-sys) | 0.11.0 | [Dan Gohman](mailto:dev@sunfishcode.online) | Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT |
32+
| [lock_api](https://github.com/Amanieu/parking_lot) | 0.4.13 | [Amanieu d'Antras](mailto:amanieu@gmail.com) | MIT OR Apache-2.0 |
3133
| [once_cell](https://github.com/matklad/once_cell) | 1.21.3 | [Aleksey Kladov](mailto:aleksey.kladov@gmail.com) | MIT OR Apache-2.0 |
32-
| [rustix](https://github.com/bytecodealliance/rustix) | 1.0.8 | [Dan Gohman](mailto:dev@sunfishcode.online) and [Jakub Konka](mailto:kubkon@jakubkonka.com) | Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT |
34+
| [rustix](https://github.com/bytecodealliance/rustix) | 1.1.2 | [Dan Gohman](mailto:dev@sunfishcode.online) and [Jakub Konka](mailto:kubkon@jakubkonka.com) | Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT |
35+
| [scopeguard](https://github.com/bluss/scopeguard) | 1.2.0 | bluss | MIT OR Apache-2.0 |
3336
| [shlex](https://github.com/comex/rust-shlex) ⚒️ | 1.3.0 | [comex](mailto:comexk@gmail.com), [Fenhl](mailto:fenhl@fenhl.net), [Adrian Taylor](mailto:adetaylor@chromium.org), [Alex Touchet](mailto:alextouchet@outlook.com), [Daniel Parks](mailto:dp+git@oxidized.org), and [Garrett Berg](mailto:googberg@gmail.com) | MIT OR Apache-2.0 |
3437
| [signal-hook](https://github.com/vorner/signal-hook) | 0.3.18 | [Michal 'vorner' Vaner](mailto:vorner@vorner.cz) and [Thomas Himmelstoss](mailto:thimm@posteo.de) | Apache-2.0 OR MIT |
3538
| [signal-hook-registry](https://github.com/vorner/signal-hook) | 1.4.6 | [Michal 'vorner' Vaner](mailto:vorner@vorner.cz) and [Masaki Hara](mailto:ackie.h.gmai@gmail.com) | Apache-2.0 OR MIT |
36-
| [tempfile](https://github.com/Stebalien/tempfile) | 3.21.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) | MIT OR Apache-2.0 |
39+
| [spin](https://github.com/mvdnes/spin-rs.git) | 0.9.8 | [Mathijs van de Nes](mailto:git@mathijs.vd-nes.nl), [John Ericson](mailto:git@johnericson.me), and [Joshua Barretto](mailto:joshua.s.barretto@gmail.com) | MIT |
40+
| [tempfile](https://github.com/Stebalien/tempfile) | 3.22.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) | MIT OR Apache-2.0 |
3741
| [terminal_size](https://github.com/eminence/terminal-size) | 0.4.3 | [Andrew Chin](mailto:achin@eminence32.net) | MIT OR Apache-2.0 |
3842
| [unicode-width](https://github.com/unicode-rs/unicode-width) | 0.2.1 | [kwantam](mailto:kwantam@gmail.com) and [Manish Goregaokar](mailto:manishsmail@gmail.com) | MIT OR Apache-2.0 |
3943
| [version_check](https://github.com/SergioBenitez/version_check) ⚒️ | 0.9.5 | [Sergio Benitez](mailto:sb@sergio.bz) | MIT OR Apache-2.0 |
4044
| [**write_atomic**](https://github.com/Blobfolio/write_atomic) | 0.7.0 | [Josh Stoik](mailto:josh@blobfolio.com) | WTFPL |
41-
| [zerocopy](https://github.com/google/zerocopy) | 0.8.26 | [Joshua Liebow-Feeser](mailto:joshlf@google.com) and [Jack Wrenn](mailto:jswrenn@amazon.com) | BSD-2-Clause OR Apache-2.0 OR MIT |
45+
| [zerocopy](https://github.com/google/zerocopy) | 0.8.27 | [Joshua Liebow-Feeser](mailto:joshlf@google.com) and [Jack Wrenn](mailto:jswrenn@amazon.com) | BSD-2-Clause OR Apache-2.0 OR MIT |
4246

4347
### Legend
4448

Cargo.toml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "channelz"
3-
version = "0.12.0"
3+
version = "0.12.1"
44
license = "WTFPL"
55
authors = ["Josh Stoik <josh@blobfolio.com>"]
66
edition = "2024"
@@ -95,9 +95,8 @@ lines = [
9595
argyle = "0.13.*"
9696

9797
[dependencies]
98-
crossbeam-channel = "=0.5.*"
9998
dactyl = "0.13.*"
100-
dowser = "0.16.*"
99+
dowser = "0.17.*"
101100
write_atomic = "0.7.*"
102101

103102
[dependencies.argyle]
@@ -109,8 +108,12 @@ version = "=8.0.2"
109108
default-features = false
110109
features = [ "std" ]
111110

111+
[dependencies.flume]
112+
version = "0.11.*"
113+
default-features = false
114+
112115
[dependencies.fyi_msg]
113-
version = "2.3.*"
116+
version = "2.4.*"
114117
features = [ "signals" ]
115118

116119
[dependencies.libdeflater]

justfile

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@ doc_dir := justfile_directory() + "/doc"
2525
release_dir := justfile_directory() + "/release"
2626

2727
export RUSTFLAGS := "-Ctarget-cpu=x86-64-v3 -Cllvm-args=--cost-kind=throughput -Clinker-plugin-lto -Clink-arg=-fuse-ld=lld"
28-
export CC := "clang"
29-
export CXX := "clang++"
30-
export CFLAGS := "-Wall -Wextra -flto -march=x86-64-v3"
31-
export CXXFLAGS := "-Wall -Wextra -flto -march=x86-64-v3"
28+
export CC := "clang"
29+
export CXX := "clang++"
30+
export CFLAGS := `llvm-config --cflags` + " -march=x86-64-v3 -Wall -Wextra -flto"
31+
export CXXFLAGS := `llvm-config --cxxflags` + " -march=x86-64-v3 -Wall -Wextra -flto"
32+
export LDFLAGS := `llvm-config --ldflags` + " -fuse-ld=lld -flto"
3233

3334

3435

@@ -66,6 +67,8 @@ export CXXFLAGS := "-Wall -Wextra -flto -march=x86-64-v3"
6667
# they place *other* shit in the designated target dir. Haha.
6768
[ ! -d "{{ justfile_directory() }}/target" ] || rm -rf "{{ justfile_directory() }}/target"
6869

70+
cargo update
71+
6972

7073
# Clippy.
7174
@clippy:
@@ -121,33 +124,26 @@ export CXXFLAGS := "-Wall -Wextra -flto -march=x86-64-v3"
121124
# Get/Set version.
122125
version:
123126
#!/usr/bin/env bash
127+
set -e
124128

125129
# Current version.
126-
_ver1="$( toml get "{{ justfile_directory() }}/Cargo.toml" package.version | \
127-
sed 's/"//g' )"
130+
_ver1="$( tomli query -f "{{ justfile_directory() }}/Cargo.toml" package.version | \
131+
sed 's/[" ]//g' )"
128132
129133
# Find out if we want to bump it.
134+
set +e
130135
_ver2="$( whiptail --inputbox "Set {{ pkg_name }} version:" --title "Release Version" 0 0 "$_ver1" 3>&1 1>&2 2>&3 )"
131136
132137
exitstatus=$?
133138
if [ $exitstatus != 0 ] || [ "$_ver1" = "$_ver2" ]; then
134139
exit 0
135140
fi
136-
137-
fyi success "Setting version to $_ver2."
141+
set -e
138142
139143
# Set the release version!
140-
just _version "{{ justfile_directory() }}" "$_ver2"
141-
144+
tomli set -f "{{ justfile_directory() }}/Cargo.toml" -i package.version "$_ver2"
142145
143-
# Set version for real.
144-
@_version DIR VER:
145-
[ -f "{{ DIR }}/Cargo.toml" ] || exit 1
146-
147-
# Set the release version!
148-
toml set "{{ DIR }}/Cargo.toml" package.version "{{ VER }}" > /tmp/Cargo.toml
149-
just _fix-chown "/tmp/Cargo.toml"
150-
mv "/tmp/Cargo.toml" "{{ DIR }}/Cargo.toml"
146+
fyi success "Set version to $_ver2."
151147
152148
153149
# Benchmark data.

release/man/channelz.1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
.TH "CHANNELZ" "1" "August 2025" "channelz v0.12.0" "User Commands"
1+
.TH "CHANNELZ" "1" "September 2025" "channelz v0.12.1" "User Commands"
22
.SH NAME
3-
CHANNELZ \- Manual page for channelz v0.12.0.
3+
CHANNELZ \- Manual page for channelz v0.12.1.
44
.SH DESCRIPTION
55
Fast, multi\-threaded static Gzip/Brotli encoding tool for the CLI.
66
.SS USAGE:

src/main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ use abacus::{
6868
ThreadTotals,
6969
};
7070
use argyle::Argument;
71-
use crossbeam_channel::Receiver;
71+
use flume::Receiver;
7272
use dactyl::NiceU64;
7373
use dowser::Dowser;
7474
use err::ChannelZError;
@@ -140,7 +140,7 @@ fn main__() -> Result<(), ChannelZError> {
140140
Argument::Key("-V" | "--version") => return Err(ChannelZError::PrintVersion),
141141

142142
Argument::KeyWithValue("-l" | "--list", s) => {
143-
paths.read_paths_from_file(s).map_err(|_| ChannelZError::ListFile)?;
143+
paths.push_paths_from_file(s).map_err(|_| ChannelZError::ListFile)?;
144144
},
145145

146146
// Assume paths.
@@ -190,7 +190,7 @@ fn main__() -> Result<(), ChannelZError> {
190190
else { None };
191191

192192
// Thread business!
193-
let (tx, rx) = crossbeam_channel::bounded::<&Path>(threads.get());
193+
let (tx, rx) = flume::bounded::<&Path>(threads.get());
194194
let len = thread::scope(#[inline(always)] |s| {
195195
// Set up the worker threads.
196196
let mut workers = Vec::with_capacity(threads.get());

0 commit comments

Comments
 (0)