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

[package]
name = "znippy-plugin-skidbladnir"
# 0.1.5, not 0.1.3: crates.io is already at 0.1.4 — the `release/0.9.13-prep`
# branch bumped this crate to 0.1.3 at its OLD flat path, someone published
# 0.1.4 from that lane, and main's copy at the moved `plugins/native/` path was
# never carried along. So local sat BELOW the registry. 2026-08-23 lane sweep.
version = "0.2.0"
edition = "2024"
description = "Skidbladnir airgap-bundle metadata plugin for znippy (native builtin — no 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/",
]

# Native-only handler: a plain rlib linked into znippy-cli's builtin register.
# Unlike the maven/media plugins it does NOT build a cdylib and is NOT compiled
# to WASM — it is a compiled-in host handler, discovered via `meta()`.
[lib]
crate-type = ["rlib"]

[dependencies]
znippy-common = { version = "0.10.0", path = "../../../znippy-common", optional = true }
anyhow = { version = "1", optional = true }

# The znippy handler itself -- the `ArchiveTypePlugin` impl, its Arrow schema and
# its `meta()` discovery record. ON by default, so `znippy-cli`'s builtin register
# and every existing consumer are unchanged.
#
# `--no-default-features` leaves ONLY `src/member.rs`: the pure path->MemberKind
# classifier, which has no dependency at all and therefore compiles for
# `wasm32-unknown-unknown`. That is the seam holger's package-handler plugins take
# -- one classifier for the native handler AND its wasm shim, instead of a second
# copy of the ownership rule in another repo (LAW 5). The technique is
# `znippy-plugin-maven`'s: keep the target-independent core unconditional and put
# the host-only machinery behind a feature that a wasm build turns off.
[features]
default = ["znippy-handler"]
znippy-handler = ["dep:znippy-common", "znippy-common/bundle", "dep:anyhow"]