# 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" rust-version = "1.65" name = "signatory" version = "0.27.1" authors = ["Tony Arcieri "] description = "Multi-provider elliptic curve digital signature library with ECDSA and Ed25519 support" homepage = "https://github.com/iqlusioninc/crates" readme = "README.md" keywords = [ "cryptography", "ecdsa", "ed25519", "signing", "signatures", ] categories = [ "authentication", "cryptography", ] license = "Apache-2.0 OR MIT" repository = "https://github.com/iqlusioninc/crates/tree/main/signatory" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.ecdsa] version = "0.16" features = [ "pem", "pkcs8", ] optional = true [dependencies.ed25519-dalek] version = "2" optional = true default-features = false [dependencies.k256] version = "0.13" features = [ "ecdsa", "sha256", ] optional = true [dependencies.p256] version = "0.13" features = [ "ecdsa", "sha256", ] optional = true [dependencies.p384] version = "0.13" features = [ "ecdsa", "sha384", ] optional = true [dependencies.pkcs8] version = "0.10" features = [ "alloc", "pem", ] [dependencies.rand_core] version = "0.6" [dependencies.signature] version = "2" [dependencies.zeroize] version = "1.5" [dev-dependencies.tempfile] version = "3" [features] default = ["std"] ed25519 = ["dep:ed25519-dalek"] nistp256 = [ "dep:p256", "ecdsa", ] nistp384 = [ "dep:p384", "ecdsa", ] secp256k1 = [ "dep:k256", "ecdsa", ] std = [ "pkcs8/std", "rand_core/std", "signature/std", ]