Your browser sucks, JavaScript disabled! Gunnar's console needs JavaScript and WebAssembly. Git over SSH on port 2222 does not.

nordisk/znippy-zoomies

lbzip2/Cargo.toml

[package]
name = "lbzip2"
# 0.5.12: local source DRIFTED from the published 0.5.11 at the SAME version. crates.io
# bytes are immutable, so the edit only reaches a consumer as a new version.
# Bumped 2026-08-23: ALL ELEVEN crates here were drifted, and it was invisible to a
# version survey (local == registry for every one). Gate B found it by compiling
# published znippy-zoomies 0.1.23 and failing on a missing `STree32::len()`.
version = "0.5.12"
edition = "2024"
description = "Pure Rust parallel bzip2 decompressor — fast block scanning, multi-core Burrows-Wheeler decode"
license = "MIT OR Apache-2.0 AND bzip2-1.0.6"
repository = "https://git.gunnar.rs/nordisk/znippy-zoomies"
homepage = "https://git.gunnar.rs/nordisk/znippy-zoomies"
documentation = "https://docs.rs/lbzip2"
readme = "README.md"
keywords = ["bzip2", "decompression", "parallel", "compression"]
categories = ["compression", "encoding"]
# The files under benches/ are registered as [[test]] targets below (they are
# `--ignored` test-harness profilers, not criterion benches); disable bench
# auto-discovery so each file is a single build target, not two.
autobenches = false
# Development notes, agent instructions and machine-local tooling stay in the
# repository; they are not part of the published crate.
exclude = [
    ".nornir/",
    "CLAUDE.md",
    "design_for_claude.md",
]

[features]
timing = []
# `testmatrix` — turn `functional_status(component, check, ok, detail)` self-
# reports into real nornir test-matrix rows. Compiled OUT of the default build
# (no nornir dep by default); pulls nornir-testmatrix's own `testmatrix` mode.
testmatrix = ["dep:nornir-testmatrix", "nornir-testmatrix/testmatrix"]

[dependencies]
memchr = "2"
# Error type for the shared gatling ordered-sink trait (`OrderedSink::emit`
# returns `anyhow::Result`); used only by the `lbunzip2` CLI binary.
anyhow = "1"
# The ONE shared no-barrier engine (leaf crate). bzip2 block/segment decode
# fans out through `gatling_forkjoin::gatling_for_each` instead of a private
# scoped-thread work-stealing pool.
gatling = { path = "../gatling", version = "0.1.7", package = "rotaryengine" }
# testmatrix feature only; path dep to sibling nornir repo, off by default.
nornir-testmatrix = { version = "0.2", default-features = false, optional = true }

[dev-dependencies]
bzip2 = "0.6"

# The CLI, declared EXPLICITLY rather than left to cargo's `src/bin/*.rs`
# auto-discovery. It is the `lbunzip2` atom of `.nornir/build-variants.toml`, and a
# Build Thing's bin must be readable FROM THE MANIFEST: `BuildVariantSet::
# cargo_bin_targets` (the oracle `xtask/tests/build_variants.rs` checks the
# declaration against) parses `[[bin]] name` and the implicit `src/main.rs` bin, and
# an auto-discovered `src/bin/lbunzip2.rs` is invisible to both. Undeclared, the atom
# would look like a phantom to the guard while building perfectly — the two halves
# disagreeing is exactly the drift the guard exists to catch. Sibling crates
# osm-katana, lgz and ljar already spell theirs out; this makes it five for five.
[[bin]]
name = "lbunzip2"
path = "src/bin/lbunzip2.rs"

[[test]]
name = "decompress_bench"
path = "benches/decompress_bench.rs"

[[test]]
name = "profile_stages"
path = "benches/profile_stages.rs"

[[test]]
name = "stage_breakdown"
path = "benches/stage_breakdown.rs"