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

nordisk/znippy

plugins/native/znippy-plugin-python/Cargo.toml

[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.10.0"
edition = "2024"
description = "Python wheel/sdist metadata plugin for znippy (PEP 503/658)"
license = "MIT"
repository = "https://git.gunnar.rs/nordisk/znippy"
authors = ["Ignalina ApS"]
# Development notes, agent instructions and machine-local tooling stay in the
# repository; they are not part of the published crate.
exclude = [
    ".nornir/",
]

[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-common = { version = "0.10.0", path = "../../../znippy-common", optional = true }

[features]
default = []
host-decompressors = ["dep:lzip-parallel", "dep:znippy-common"]