zipsign-api 0.2.1

Sign and verify `.zip` and `.tar.gz` files with an ed25519 signing key
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "zipsign-api"
version = "0.2.1"
authors = ["René Kijewski <crates.io@k6i.de>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sign and verify `.zip` and `.tar.gz` files with an ed25519 signing key"
readme = "README.md"
license = "MIT OR Apache-2.0 OR Apache-2.0 WITH LLVM-exception"
repository = "https://github.com/Kijewski/zipsign"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--generate-link-to-definition",
    "--cfg=docsrs",
]

[features]
default = [
    "tar",
    "zip",
]
sign-tar = ["dep:base64"]
sign-zip = ["dep:zip"]
tar = [
    "sign-tar",
    "unsign-tar",
    "verify-tar",
]
unsign-tar = ["dep:base64"]
unsign-zip = ["dep:zip"]
verify-tar = ["dep:base64"]
verify-zip = []
zip = [
    "sign-zip",
    "unsign-zip",
    "verify-zip",
]

[lib]
name = "zipsign_api"
path = "src/lib.rs"

[dependencies.base64]
version = "0.22.0"
optional = true

[dependencies.ed25519-dalek]
version = "2.0.0"
features = ["digest"]

[dependencies.thiserror]
version = "2.0.8"

[dependencies.zip]
version = ">= 2.0.0, < 8.0.0"
optional = true
default-features = false