2016-12-01 00:40:48 +00:00
|
|
|
[package]
|
2016-12-08 22:21:57 +00:00
|
|
|
name = "ed25519-dalek"
|
2020-08-20 22:46:58 +00:00
|
|
|
version = "1.0.0"
|
2019-10-07 23:01:10 +00:00
|
|
|
edition = "2018"
|
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."
|
2017-03-15 22:48:56 +00:00
|
|
|
exclude = [ ".gitignore", "TESTVECTORS", "res/*" ]
|
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"]
|
|
|
|
|
features = ["nightly", "batch"]
|
|
|
|
|
|
2019-10-25 22:18:42 +00:00
|
|
|
[dependencies]
|
2020-08-19 21:58:00 +00:00
|
|
|
curve25519-dalek = { version = "3", default-features = false }
|
2020-03-17 17:25:33 +00:00
|
|
|
ed25519 = { version = "1", default-features = false }
|
2020-07-13 23:16:30 +00:00
|
|
|
merlin = { version = "2", default-features = false, optional = true }
|
2019-10-25 22:18:42 +00:00
|
|
|
rand = { version = "0.7", default-features = false, optional = true }
|
2019-11-23 01:34:13 +00:00
|
|
|
rand_core = { version = "0.5", default-features = false, optional = true }
|
2020-03-17 17:25:33 +00:00
|
|
|
serde_crate = { package = "serde", version = "1.0", default-features = false, optional = true }
|
2020-08-19 21:58:00 +00:00
|
|
|
sha2 = { version = "0.9", default-features = false }
|
2019-12-09 22:39:57 +00:00
|
|
|
zeroize = { version = "1", default-features = false, features = ["zeroize_derive"] }
|
2018-07-20 22:28:39 +00:00
|
|
|
|
2016-12-09 00:52:38 +00:00
|
|
|
[dev-dependencies]
|
2019-10-21 15:03:08 +00:00
|
|
|
hex = "^0.4"
|
2020-08-07 20:39:57 +00:00
|
|
|
bincode = "1.0"
|
|
|
|
|
serde_json = "1.0"
|
2019-10-21 15:03:08 +00:00
|
|
|
criterion = "0.3"
|
|
|
|
|
rand = "0.7"
|
2020-07-13 23:16:30 +00:00
|
|
|
serde_crate = { package = "serde", version = "1.0", features = ["derive"] }
|
2020-07-14 22:23:31 +00:00
|
|
|
toml = { version = "0.5" }
|
2018-07-11 22:41:14 +00:00
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
|
name = "ed25519_benchmarks"
|
|
|
|
|
harness = false
|
2019-10-03 23:14:49 +00:00
|
|
|
# This doesn't seem to work with criterion, cf. https://github.com/bheisler/criterion.rs/issues/344
|
|
|
|
|
# For now, we have to bench by doing `cargo bench --features="batch"`.
|
|
|
|
|
# required-features = ["batch"]
|
2017-02-06 21:45:08 +00:00
|
|
|
|
|
|
|
|
[features]
|
2020-09-21 23:48:57 +00:00
|
|
|
default = ["std", "rand", "u64_backend"]
|
2020-03-17 17:25:33 +00:00
|
|
|
std = ["curve25519-dalek/std", "ed25519/std", "serde_crate/std", "sha2/std", "rand/std"]
|
2019-12-09 22:39:57 +00:00
|
|
|
alloc = ["curve25519-dalek/alloc", "rand/alloc", "zeroize/alloc"]
|
2020-09-21 23:25:15 +00:00
|
|
|
nightly = ["curve25519-dalek/nightly"]
|
2020-03-17 17:25:33 +00:00
|
|
|
serde = ["serde_crate", "ed25519/serde"]
|
2019-11-22 23:29:14 +00:00
|
|
|
batch = ["merlin", "rand"]
|
|
|
|
|
# This feature enables deterministic batch verification.
|
2019-11-23 01:34:13 +00:00
|
|
|
batch_deterministic = ["merlin", "rand", "rand_core"]
|
2017-08-01 22:21:59 +00:00
|
|
|
asm = ["sha2/asm"]
|
2019-10-03 23:42:16 +00:00
|
|
|
# This features turns off stricter checking for scalar malleability in signatures
|
|
|
|
|
legacy_compatibility = []
|
2018-05-15 23:34:01 +00:00
|
|
|
u64_backend = ["curve25519-dalek/u64_backend"]
|
|
|
|
|
u32_backend = ["curve25519-dalek/u32_backend"]
|
2019-11-26 22:51:37 +00:00
|
|
|
simd_backend = ["curve25519-dalek/simd_backend"]
|