Files
Tony Arcieri d5012d5ba3 ed25519: add back serde_bytes support (#1332)
Since `serdect` changes the wire format, this should at least provide
backwards compatibility for `serde_bytes` users.
2026-05-05 15:09:40 -06:00

47 lines
1.5 KiB
TOML

[package]
name = "ed25519"
version = "3.0.0"
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"
homepage = "https://github.com/RustCrypto/signatures/tree/master/ed25519"
repository = "https://github.com/RustCrypto/signatures"
readme = "README.md"
categories = ["cryptography", "no-std"]
keywords = ["crypto", "curve25519", "ecc", "signature", "signing"]
edition = "2024"
rust-version = "1.85"
[dependencies]
signature = { version = "3", default-features = false }
# optional dependencies
pkcs8 = { version = "0.11", optional = true }
serdect = { version = "0.4", optional = true, default-features = false }
serde_bytes = { version = "0.11", optional = true, default-features = false }
zeroize = { version = "1", optional = true, default-features = false }
zerocopy = { version = "0.8", optional = true, features = ["derive"] }
[dev-dependencies]
#ed25519-dalek = { version = "2", features = ["rand_core"] }
hex-literal = "1"
#ring-compat = { version = "0.8", default-features = false, features = ["signature"] }
[features]
default = ["alloc"]
alloc = ["pkcs8?/alloc", "signature/alloc"]
pem = ["alloc", "pkcs8/pem"]
serde = ["dep:serdect"]
serde_bytes = ["serde", "dep:serde_bytes"]
[lints]
workspace = true
[package.metadata.docs.rs]
all-features = true