From 8f7f2ddcedaccfd3d8f7464f41a2149d17d79050 Mon Sep 17 00:00:00 2001 From: Daniel Eades Date: Sun, 19 Jul 2026 13:05:52 +0100 Subject: [PATCH 1/2] fix(release): keep test model workspace-only --- Cargo.toml | 2 +- fenwick-model/Cargo.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 858ab8a..1f22f3b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,7 +35,7 @@ bitstream-io = "4.4.0" thiserror = { workspace = true } [dev-dependencies] -fenwick-model = { path = "./fenwick-model", version = "0.1.1" } +fenwick-model = { path = "./fenwick-model" } criterion = "0.7.0" test-case = "3.0.0" diff --git a/fenwick-model/Cargo.toml b/fenwick-model/Cargo.toml index 60ad380..bdda8f0 100644 --- a/fenwick-model/Cargo.toml +++ b/fenwick-model/Cargo.toml @@ -1,6 +1,7 @@ [package] name = "fenwick-model" version = "0.1.1" +publish = false edition.workspace = true description = "fenwick-tree-based test utils for the 'arithmetic-coding' crate" license.workspace = true From 9e6ec66d2e53826a678946b1711027cd1de6b8aa Mon Sep 17 00:00:00 2001 From: Daniel Eades Date: Sun, 19 Jul 2026 13:10:11 +0100 Subject: [PATCH 2/2] fix(ci): address current lints and advisory --- Cargo.lock | 4 ++-- deny.toml | 1 + examples/common/mod.rs | 4 ++-- examples/concatenated.rs | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fa8879a..cb1e32e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -172,9 +172,9 @@ dependencies = [ [[package]] name = "crossbeam-epoch" -version = "0.9.18" +version = "0.9.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" +checksum = "2d6914041f254d6e9176c01941b21115dcfb7089e55135a35411081bd106ef3f" dependencies = [ "crossbeam-utils", ] diff --git a/deny.toml b/deny.toml index 6aba636..284fbe8 100644 --- a/deny.toml +++ b/deny.toml @@ -15,4 +15,5 @@ confidence-threshold = 1.0 [bans] wildcards = "deny" +allow-wildcard-paths = true highlight = "all" diff --git a/examples/common/mod.rs b/examples/common/mod.rs index 82e5690..fdcae15 100644 --- a/examples/common/mod.rs +++ b/examples/common/mod.rs @@ -7,12 +7,12 @@ where M: Model + Clone, M::Symbol: std::fmt::Debug, { - println!("input: {:?}", &input); + println!("input: {input:?}"); println!("\nencoding..."); let buffer = encode(model.clone(), input); - println!("buffer: {:?}", &buffer); + println!("buffer: {buffer:?}"); println!("\ndecoding..."); for symbol in decode(model, &buffer) { diff --git a/examples/concatenated.rs b/examples/concatenated.rs index 1b42fee..2adef7c 100644 --- a/examples/concatenated.rs +++ b/examples/concatenated.rs @@ -99,7 +99,7 @@ fn main() { let buffer = encode2(symbolic::Model, &input1, integer::Model, &input2); - println!("\nbuffer: {:?}", &buffer); + println!("\nbuffer: {buffer:?}"); println!("\ndecoding..."); let (output1, output2) = decode2(symbolic::Model, integer::Model, &buffer);