2016-12-01 00:40:48 +00:00
|
|
|
[package]
|
2016-12-08 22:21:57 +00:00
|
|
|
name = "ed25519-dalek"
|
2020-09-22 01:56:35 +00:00
|
|
|
version = "1.0.1"
|
2022-10-16 22:51:26 +00:00
|
|
|
edition = "2021"
|
2019-01-17 23:28:13 +00:00
|
|
|
authors = ["isis lovecruft <isis@patternsinthevoid.net>"]
|
2016-12-01 00:40:48 +00:00
|
|
|
readme = "README.md"
|
2017-10-05 06:19:55 +00:00
|
|
|
license = "BSD-3-Clause"
|
2018-01-20 02:49:53 +00:00
|
|
|
repository = "https://github.com/dalek-cryptography/ed25519-dalek"
|
|
|
|
|
homepage = "https://dalek.rs"
|
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
|
|
|
|
2017-03-14 23:11:47 +00:00
|
|
|
[badges]
|
2018-03-26 02:11:43 +00:00
|
|
|
travis-ci = { repository = "dalek-cryptography/ed25519-dalek", branch = "master"}
|
2017-03-14 23:11:47 +00:00
|
|
|
|
2019-11-14 22:01:34 +00:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
|
# Disabled for now since this is borked; tracking https://github.com/rust-lang/docs.rs/issues/302
|
|
|
|
|
# rustdoc-args = ["--html-in-header", ".cargo/registry/src/github.com-1ecc6299db9ec823/curve25519-dalek-0.13.2/rustdoc-include-katex-header.html"]
|
2022-12-13 23:19:31 +00:00
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
|
features = ["nightly", "batch", "pkcs8"]
|
2019-11-14 22:01:34 +00:00
|
|
|
|
2019-10-25 22:18:42 +00:00
|
|
|
[dependencies]
|
2023-01-15 02:26:39 +00:00
|
|
|
curve25519-dalek = { version = "=4.0.0-pre.5", default-features = false, features = ["digest"] }
|
2023-01-07 05:50:39 +00:00
|
|
|
ed25519 = { version = "=2.0.0-rc.0", default-features = false }
|
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 }
|
2020-09-22 01:26:16 +00:00
|
|
|
serde_bytes = { version = "0.11", optional = true }
|
2022-11-20 20:08:05 +00:00
|
|
|
sha2 = { version = "0.10", default-features = false }
|
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]
|
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-01-02 05:59:19 +00:00
|
|
|
criterion = { version = "0.4", features = ["html_reports"] }
|
2022-12-13 23:19:31 +00:00
|
|
|
hex-literal = "0.3"
|
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"] }
|
2020-07-14 22:23:31 +00:00
|
|
|
toml = { version = "0.5" }
|
2023-01-15 02:26:39 +00:00
|
|
|
curve25519-dalek = { version = "=4.0.0-pre.5", default-features = false, features = ["digest", "rand_core"] }
|
2018-07-11 22:41:14 +00:00
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
|
name = "ed25519_benchmarks"
|
|
|
|
|
harness = false
|
2017-02-06 21:45:08 +00:00
|
|
|
|
|
|
|
|
[features]
|
2023-01-15 02:26:39 +00:00
|
|
|
default = ["std", "rand_core", "zeroize"]
|
|
|
|
|
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"]
|
2019-10-03 23:42:16 +00:00
|
|
|
# This features turns off stricter checking for scalar malleability in signatures
|
|
|
|
|
legacy_compatibility = []
|
2022-12-13 23:19:31 +00:00
|
|
|
pkcs8 = ["ed25519/pkcs8"]
|
|
|
|
|
pem = ["alloc", "ed25519/pem", "pkcs8"]
|
2022-12-20 09:48:55 +00:00
|
|
|
serde = ["dep:serde", "serde_bytes", "ed25519/serde"]
|
2023-01-09 14:57:59 +00:00
|
|
|
zeroize = ["dep:zeroize", "curve25519-dalek/zeroize"]
|
2023-01-09 09:44:10 +00:00
|
|
|
|
|
|
|
|
[patch.crates-io.curve25519-dalek]
|
|
|
|
|
git = "https://github.com/dalek-cryptography/curve25519-dalek.git"
|