znippy-plugin-python 0.9.9

Python wheel/sdist metadata plugin for znippy (PEP 503/658)
Documentation
[package]
name = "znippy-plugin-python"
# 0.9.9: local source DRIFTED from the published 0.9.8 at the same version number.
# crates.io bytes are immutable, so the edit only reaches consumers as a new
# version. Bumped 2026-08-23 to unblock the release cascade — holger patches
# znippy to this checkout, which makes 19 holger crates unpublishable fork riders.
version = "0.9.9"
edition = "2024"
description = "Python wheel/sdist metadata plugin for znippy (PEP 503/658)"
license = "MIT"
repository = "https://codeberg.org/nordisk/znippy"
authors = ["Rickard Lundin <rickard@ignalina.dk>"]

[lib]
crate-type = ["cdylib", "rlib"]

[dependencies]
# House DEFLATE decoder. NON-optional on purpose: the minimal single-threaded
# ZIP scan in `lib.rs` is compiled on every target (native AND the wasm32 rlib),
# so its method-8 branch cannot hide behind `host-decompressors`. `linflate` is a
# zero-dependency leaf crate with scalar fallbacks for non-x86_64, so it costs
# the wasm build nothing. Replaces the third-party `miniz_oxide` that used to sit
# on this path while `lzip-parallel` (which is itself built on linflate) served
# the native path — one inflate for both paths.
# Floors state what is PUBLISHED (linflate 0.1.11, lzip-parallel 0.2.10), not what
# the sibling checkout happened to be when this was written. With `0.2.3` the
# publish resolve landed on lzip-parallel 0.2.4, whose `linflate = "^0.1.4"` then
# fought this crate's own `^0.1.9` and Gate B refused the upload. The `path =`
# beside each one hid it: cargo resolves the path locally and never reads the
# version at all. Raised 2026-08-23.
linflate = { version = "0.1.11", path = "../../../../znippy-zoomies/linflate" }
lzip-parallel ={ version = "0.2.10", path = "../../../../znippy-zoomies/lzip-parallel", optional = true }
znippy-zoomies = { version = "0.1", path = "../../../../znippy-zoomies", optional = true }
znippy-common = { version = "0.9.14", path = "../../../znippy-common", optional = true }
# testmatrix feature only; path dep to the sibling nornir repo, off by default.
nornir-testmatrix = { version = "0.2", default-features = false, optional = true }

[features]
default = []
host-decompressors = ["dep:lzip-parallel", "dep:znippy-zoomies", "dep:znippy-common"]
# `testmatrix` — route the native encode's `functional_status` marker (the
# gatling_map_balanced batch fan-out run-completion row) to the nornir warehouse.
# OFF by default: no-op with no nornir dep. The emit lives in the native encoder,
# so it is only compiled with BOTH `testmatrix` and `host-decompressors`.
testmatrix = ["dep:nornir-testmatrix", "nornir-testmatrix/testmatrix"]