zipsign-api 0.1.2

Sign and verify `.zip` and `.tar.gz` files with an ed25519 signing key
Documentation
[package]
name = "zipsign-api"
description = "Sign and verify `.zip` and `.tar.gz` files with an ed25519 signing key"
version = "0.1.2"
edition = "2021"
authors = ["René Kijewski <crates.io@k6i.de>"]
repository = "https://github.com/Kijewski/zipsign"
license = "Apache-2.0 WITH LLVM-exception"

[dependencies]
base64 = { workspace = true, optional = true }
ed25519-dalek.workspace = true
thiserror.workspace = true
zip = { workspace = true, optional = true }

[features]
default = ["tar", "zip"]

verify-tar = ["dep:base64"]
verify-zip = []

unsign-tar = ["dep:base64"]
unsign-zip = ["dep:zip"]

sign-tar = ["dep:base64"]
sign-zip = ["dep:zip"]

tar = ["sign-tar", "unsign-tar", "verify-tar"]
zip = ["sign-zip", "unsign-zip", "verify-zip"]

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