plugins/native/znippy-plugin-media/Cargo.toml
[package]
name = "znippy-plugin-media"
# 0.9.3: local source DRIFTED from the published 0.9.2 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 = "Media (image/audio/video) metadata plugin for znippy — pure-Rust, airgap-friendly"
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 = ["rlib"]
[dependencies]
anyhow = "1"
znippy-common = { version = "0.10.0", path = "../../../znippy-common" }
# Image dimensions + color type (jpeg/png/webp/gif/tiff/bmp) — pure Rust.
image = { version = "0.25", default-features = false, features = ["jpeg", "png", "webp", "gif", "tiff", "bmp"] }
# EXIF (camera / datetime / orientation / GPS) — pure Rust. Lib name is `exif`.
kamadak-exif = "0.6"
# Audio properties + tags (mp3/flac/ogg/wav/m4a) — pure Rust.
lofty = "0.25"
# MP4 / MOV container (duration, dims, codecs, framerate, bitrate) — pure Rust.
mp4 = "0.14"
# Matroska / WebM container (duration, dims, codecs) — pure Rust.
matroska = "0.30"
[features]
default = []
# `testmatrix` — turn the in-crate extraction self-tests' REAL results into
# nornir functional-status rows. Unlike the maven/python plugins, the media
# handler has NO gatling batch path (`extract_batch`/`supports_batch` are the
# trait defaults — extraction is pure per-file, serial), so there is no engine
# run to mark; the honest surface is the metadata parse itself, verified by the
# `#[cfg(test)]` suite. OFF by default: emit is a compiled-out no-op.
testmatrix = ["nornir-testmatrix/testmatrix"]
[dev-dependencies]
# Test-only emitter for the `testmatrix` feature; resolved to the local 0.2.0
# sibling checkout via the root `[patch.crates-io]`.
nornir-testmatrix = "0.2"