risc0-curve25519-dalek-source/Cargo.toml

69 lines
1.9 KiB
TOML
Raw Normal View History

2016-12-01 00:40:48 +00:00
[package]
name = "ed25519-dalek"
version = "1.0.0-pre.2"
2019-10-07 23:01:10 +00:00
edition = "2018"
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"
documentation = "https://docs.rs/ed25519-dalek"
keywords = ["cryptography", "ed25519", "curve25519", "signature", "ECC"]
categories = ["cryptography", "no-std"]
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]
travis-ci = { repository = "dalek-cryptography/ed25519-dalek", branch = "master"}
2017-03-14 23:11:47 +00:00
[dependencies.curve25519-dalek]
version = "1"
default-features = false
[dependencies.rand]
version = "0.7"
default-features = false
2019-01-05 12:58:59 +00:00
optional = true
[dependencies.serde]
version = "^1.0"
optional = true
[dependencies.sha2]
version = "^0.8"
default-features = false
[dependencies.failure]
version = "^0.1.1"
default-features = false
[dependencies.clear_on_drop]
version = "0.2"
[dev-dependencies]
hex = "^0.4"
bincode = "^0.9"
criterion = "0.3"
rand = "0.7"
[[bench]]
name = "ed25519_benchmarks"
harness = false
# 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"]
[features]
default = ["std", "u64_backend"]
std = ["curve25519-dalek/std", "sha2/std", "rand/std"]
alloc = ["curve25519-dalek/alloc", "rand/alloc"]
nightly = ["curve25519-dalek/nightly", "clear_on_drop/nightly", "rand/nightly"]
batch = ["rand"]
asm = ["sha2/asm"]
# This features turns off stricter checking for scalar malleability in signatures
legacy_compatibility = []
yolocrypto = ["curve25519-dalek/yolocrypto"]
u64_backend = ["curve25519-dalek/u64_backend"]
u32_backend = ["curve25519-dalek/u32_backend"]
avx2_backend = ["curve25519-dalek/avx2_backend"]