2016-12-01 00:40:48 +00:00
|
|
|
[package]
|
2016-12-08 22:21:57 +00:00
|
|
|
name = "ed25519-dalek"
|
2024-02-07 01:09:18 +00:00
|
|
|
version = "2.1.1"
|
2022-10-16 22:51:26 +00:00
|
|
|
edition = "2021"
|
2023-02-02 22:07:56 +00:00
|
|
|
authors = [
|
|
|
|
|
"isis lovecruft <isis@patternsinthevoid.net>",
|
|
|
|
|
"Tony Arcieri <bascule@gmail.com>",
|
|
|
|
|
"Michael Rosenberg <michael@mrosenberg.pub>"
|
|
|
|
|
]
|
2016-12-01 00:40:48 +00:00
|
|
|
readme = "README.md"
|
2017-10-05 06:19:55 +00:00
|
|
|
license = "BSD-3-Clause"
|
2023-09-06 04:49:26 +00:00
|
|
|
repository = "https://github.com/dalek-cryptography/curve25519-dalek/tree/main/ed25519-dalek"
|
2023-08-28 06:36:14 +00:00
|
|
|
homepage = "https://github.com/dalek-cryptography/curve25519-dalek"
|
2017-02-21 21:26:44 +00:00
|
|
|
documentation = "https://docs.rs/ed25519-dalek"
|
2017-02-21 21:27:12 +00:00
|
|
|
keywords = ["cryptography", "ed25519", "curve25519", "signature", "ECC"]
|
|
|
|
|
categories = ["cryptography", "no-std"]
|
2017-08-01 03:35:38 +00:00
|
|
|
description = "Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust."
|
2023-01-06 03:58:54 +00:00
|
|
|
exclude = [ ".gitignore", "TESTVECTORS", "VALIDATIONVECTORS", "res/*" ]
|
2022-12-20 09:48:55 +00:00
|
|
|
rust-version = "1.60"
|
2016-12-01 00:40:48 +00:00
|
|
|
|
2019-11-14 22:01:34 +00:00
|
|
|
[package.metadata.docs.rs]
|
2023-01-27 06:06:24 +00:00
|
|
|
rustdoc-args = [
|
|
|
|
|
"--html-in-header", "docs/assets/rustdoc-include-katex-header.html",
|
|
|
|
|
"--cfg", "docsrs",
|
|
|
|
|
]
|
2023-05-15 04:50:38 +00:00
|
|
|
features = ["batch", "digest", "hazmat", "pem", "serde"]
|
2019-11-14 22:01:34 +00:00
|
|
|
|
2019-10-25 22:18:42 +00:00
|
|
|
[dependencies]
|
2023-07-22 16:52:24 +00:00
|
|
|
curve25519-dalek = { version = "4", path = "../curve25519-dalek", default-features = false, features = ["digest"] }
|
2023-03-07 07:20:09 +00:00
|
|
|
ed25519 = { version = ">=2.2, <2.3", default-features = false }
|
2023-11-14 05:09:16 +00:00
|
|
|
signature = { version = ">=2.0, <2.3", optional = true, default-features = false }
|
2023-01-21 05:02:27 +00:00
|
|
|
sha2 = { version = "0.10", default-features = false }
|
2023-08-12 05:49:16 +00:00
|
|
|
subtle = { version = "2.3.0", default-features = false }
|
2023-01-21 05:02:27 +00:00
|
|
|
|
|
|
|
|
# optional features
|
2022-11-20 20:08:05 +00:00
|
|
|
merlin = { version = "3", default-features = false, optional = true }
|
2023-01-02 05:59:19 +00:00
|
|
|
rand_core = { version = "0.6.4", default-features = false, optional = true }
|
2022-12-20 09:48:55 +00:00
|
|
|
serde = { version = "1.0", default-features = false, optional = true }
|
2023-01-09 14:57:59 +00:00
|
|
|
zeroize = { version = "1.5", default-features = false, optional = true }
|
2018-07-20 22:28:39 +00:00
|
|
|
|
2016-12-09 00:52:38 +00:00
|
|
|
[dev-dependencies]
|
2023-07-22 16:52:24 +00:00
|
|
|
curve25519-dalek = { version = "4", path = "../curve25519-dalek", default-features = false, features = ["digest", "rand_core"] }
|
2023-11-14 18:23:48 +00:00
|
|
|
x25519-dalek = { version = "2", path = "../x25519-dalek", default-features = false, features = ["static_secrets"] }
|
2023-05-15 04:50:38 +00:00
|
|
|
blake2 = "0.10"
|
|
|
|
|
sha3 = "0.10"
|
2022-12-20 09:48:55 +00:00
|
|
|
hex = "0.4"
|
2020-08-07 20:39:57 +00:00
|
|
|
bincode = "1.0"
|
|
|
|
|
serde_json = "1.0"
|
2023-08-28 13:46:38 +00:00
|
|
|
criterion = { version = "0.5", features = ["html_reports"] }
|
|
|
|
|
hex-literal = "0.4"
|
2022-11-20 20:08:05 +00:00
|
|
|
rand = "0.8"
|
2023-01-02 05:59:19 +00:00
|
|
|
rand_core = { version = "0.6.4", default-features = false }
|
2022-12-20 09:48:55 +00:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2023-08-28 13:46:38 +00:00
|
|
|
toml = { version = "0.7" }
|
2018-07-11 22:41:14 +00:00
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
|
name = "ed25519_benchmarks"
|
|
|
|
|
harness = false
|
2023-01-16 00:13:33 +00:00
|
|
|
required-features = ["rand_core"]
|
2017-02-06 21:45:08 +00:00
|
|
|
|
|
|
|
|
[features]
|
2023-01-20 20:46:17 +00:00
|
|
|
default = ["fast", "std", "zeroize"]
|
2023-01-15 02:26:39 +00:00
|
|
|
alloc = ["curve25519-dalek/alloc", "ed25519/alloc", "serde?/alloc", "zeroize/alloc"]
|
|
|
|
|
std = ["alloc", "ed25519/std", "serde?/std", "sha2/std"]
|
2022-12-20 09:48:55 +00:00
|
|
|
|
|
|
|
|
asm = ["sha2/asm"]
|
2023-01-15 02:26:39 +00:00
|
|
|
batch = ["alloc", "merlin", "rand_core"]
|
2023-01-20 20:46:17 +00:00
|
|
|
fast = ["curve25519-dalek/precomputed-tables"]
|
2023-01-21 05:02:27 +00:00
|
|
|
digest = ["signature/digest"]
|
2023-05-15 04:50:38 +00:00
|
|
|
# Exposes the hazmat module
|
|
|
|
|
hazmat = []
|
|
|
|
|
# Turns off stricter checking for scalar malleability in signatures
|
2023-06-12 04:06:00 +00:00
|
|
|
legacy_compatibility = ["curve25519-dalek/legacy_compatibility"]
|
2022-12-13 23:19:31 +00:00
|
|
|
pkcs8 = ["ed25519/pkcs8"]
|
|
|
|
|
pem = ["alloc", "ed25519/pem", "pkcs8"]
|
2023-01-16 00:13:33 +00:00
|
|
|
rand_core = ["dep:rand_core"]
|
2023-03-21 19:45:33 +00:00
|
|
|
serde = ["dep:serde", "ed25519/serde"]
|
2023-01-09 14:57:59 +00:00
|
|
|
zeroize = ["dep:zeroize", "curve25519-dalek/zeroize"]
|