# 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 = "2021" name = "zipsign-api" version = "0.1.2" authors = ["René Kijewski "] description = "Sign and verify `.zip` and `.tar.gz` files with an ed25519 signing key" readme = "README.md" license = "Apache-2.0 WITH LLVM-exception" repository = "https://github.com/Kijewski/zipsign" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.base64] version = "0.22" optional = true [dependencies.ed25519-dalek] version = "2" features = ["digest"] [dependencies.thiserror] version = "1" [dependencies.zip] version = "2" optional = true default-features = false [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", ]