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

nordisk/holger

server/repository/znippy-nuget/Cargo.toml

[package]
name = "holger-znippy-nuget-repository"
# 0.1.4: local source DRIFTED from the published 0.1.3 under the same version number.
# crates.io bytes are immutable, so the edit can only reach consumers as a new
# version. Bumped 2026-08-23 by the release cascade: Gate B refused nornir 0.5.5
# because the published copies of this repo are stale.
version = "3.1.1"
edition = "2021"
authors = ["Ignalina ApS", "Vetra Automation AB"]

description = "NuGet / .NET repository backend for holger — serves the NuGet V3 flat-container protocol (service index, versions, .nupkg) synthesized from packages inside a read-only znippy archive."
license = "AGPL-3.0-only"
repository = "https://git.gunnar.rs/nordisk/holger"
categories = ["command-line-utilities","development-tools"]
keywords = ["nuget", "dotnet", "nupkg", "csharp", "airgap"]
# Development notes, agent instructions and machine-local tooling stay in the
# repository; they are not part of the published crate.
exclude = [
    ".nornir/",
]

[dependencies]

anyhow = "1.0.104"

traits = { package = "holger-traits", version = "3.0.0", path = "../../../traits" }

znippy-common = { version = "0.10.4", features = ["host-decompressors"] }

serde_json = "1"
log = "0.4"

# The shared, bounded zip member reader. A .nupkg IS a zip, and the .nuspec
# inside it is what the registration and search resources are built from; before
# this crate existed holger could not open one, which is the whole of the ?23
# finding. Read-only, one member at a time, every declared size treated as a lie.
zip_entry = { package = "holger-zip-entry", version = "3.1.0", path = "../zip-entry" }

# ROOT LAW #0: the catalog fan-out -- open every .nupkg, read its .nuspec -- runs
# on gatling, never rayon. Already in every holger binary via server-lib, so this
# adds no crate to the shipped set; it only names the engine where it is used.
znippy-zoomies = { version = "0.1.26" }

# nornir-testmatrix functional-status emitter — gated, optional, compiled OUT for
# release. `--features testmatrix` turns the self-test emit calls into real rows
# that `nornir test` reads; OFF by default the dep is never pulled.
[dev-dependencies]
traits = { package = "holger-traits", path = "../../../traits", features = ["test-support"] }
# The tests build REAL .nupkg zips to drive the registration/search paths
# end to end. The `fixtures` feature exposes the zip WRITER beside the reader,
# so the fixture is built once for both consumers instead of twice.
zip_entry = { package = "holger-zip-entry", version = "3.1.0", path = "../zip-entry", features = ["fixtures"] }

[dependencies.nornir-testmatrix]
version = "0.2.13"
optional = true

[features]
testmatrix = ["dep:nornir-testmatrix", "nornir-testmatrix/testmatrix"]