[package]
name = "ed25519"
version = "2.2.3"
authors = ["RustCrypto Developers"]
license = "Apache-2.0 OR MIT"
description = """
Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)
support library providing signature type definitions and PKCS#8 private key
decoding/encoding support
"""
documentation = "https://docs.rs/ed25519"
repository = "https://github.com/RustCrypto/signatures/tree/master/ed25519"
readme = "README.md"
categories = ["cryptography", "no-std"]
keywords = ["crypto", "curve25519", "ecc", "signature", "signing"]
edition = "2021"
rust-version = "1.60"
[dependencies]
signature = { version = "2", default-features = false }
pkcs8 = { version = "0.10", optional = true }
serde = { version = "1", optional = true, default-features = false }
serde_bytes = { version = "0.11", optional = true }
zeroize = { version = "1", optional = true, default-features = false }
[dev-dependencies]
bincode = "1"
ed25519-dalek = { version = "2", features = ["rand_core"] }
hex-literal = "0.4"
ring-compat = { version = "0.8", default-features = false, features = ["signature"] }
rand_core = { version = "0.6", features = ["std"] }
[features]
default = ["std"]
alloc = ["pkcs8?/alloc"]
pem = ["alloc", "pkcs8/pem"]
serde_bytes = ["serde", "dep:serde_bytes"]
std = ["pkcs8?/std", "signature/std"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]