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-maven/Cargo.toml

[package]
name = "znippy-plugin-maven"
# 0.9.10: local source DRIFTED from the published 0.9.9 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.1"
edition = "2024"
description = "Maven/JAR metadata plugin for znippy (compiles to native + WASM)"
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
# JAR 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 `ljar` (which is itself built on linflate) served the native
# path — one inflate for both paths.
# Floor states the published 0.1.11; see the note in znippy-plugin-python.
linflate = { version = "0.1.11", path = "../../../../znippy-zoomies/linflate" }
# 0.41: the first release with the fixes for RUSTSEC-2026-0194 (quadratic duplicate-attribute
# check) and RUSTSEC-2026-0195 (unbounded namespace declarations), both CVSS 7.5. 0.10.1 moved
# here from "0.36" (every published version up to 0.10.0 asked ^0.36). "0.41" and not "0.42":
# holger's graph already holds 0.41.0 (wayland-scanner), so one copy serves both.
quick-xml = "0.41"
ureq = { version = "3", optional = true }
ljar = { version = "0.2.11", path = "../../../../znippy-zoomies/ljar", optional = true }
znippy-common = { version = "0.10.0", path = "../../../znippy-common", optional = true }

[features]
default = []
resolve = ["dep:ureq"]
host-decompressors = ["dep:ljar", "dep:znippy-common"]