znippy-plugin-python 0.9.8

Python wheel/sdist metadata plugin for znippy (PEP 503/658)
Documentation
[package]
name = "znippy-plugin-python"
version = "0.9.8"
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.
linflate = { version = "0.1.9", path = "../../znippy-zoomies/linflate" }
lzip-parallel ={ version = "0.2.3", path = "../../znippy-zoomies/lzip-parallel", optional = true }
znippy-zoomies = { version = "0.1", path = "../../znippy-zoomies", optional = true }
znippy-common = { version = "0.9.13", 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"]