2016-12-08 05:12:00 +00:00
|
|
|
[package]
|
|
|
|
|
name = "curve25519-dalek"
|
2019-10-23 21:49:55 +00:00
|
|
|
version = "2.0.0-alpha.0"
|
2016-12-08 05:12:00 +00:00
|
|
|
authors = ["Isis Lovecruft <isis@patternsinthevoid.net>",
|
|
|
|
|
"Henry de Valence <hdevalence@hdevalence.ca>"]
|
|
|
|
|
readme = "README.md"
|
2017-08-01 02:05:31 +00:00
|
|
|
license = "BSD-3-Clause"
|
2018-01-20 00:54:46 +00:00
|
|
|
repository = "https://github.com/dalek-cryptography/curve25519-dalek"
|
|
|
|
|
homepage = "https://dalek.rs/curve25519-dalek"
|
2016-12-08 05:12:00 +00:00
|
|
|
documentation = "https://docs.rs/curve25519-dalek"
|
2017-02-14 16:34:24 +00:00
|
|
|
categories = ["cryptography", "no-std"]
|
2019-07-31 22:22:31 +00:00
|
|
|
keywords = ["cryptography", "crypto", "ristretto", "curve25519", "ristretto255"]
|
2019-02-15 18:11:18 +00:00
|
|
|
description = "A pure-Rust implementation of group operations on ristretto255 and Curve25519"
|
2016-12-08 05:12:00 +00:00
|
|
|
exclude = [
|
2017-12-01 01:28:33 +00:00
|
|
|
"**/.gitignore",
|
2017-11-16 01:13:30 +00:00
|
|
|
".gitignore",
|
2017-11-16 01:13:57 +00:00
|
|
|
".travis.yml",
|
2017-11-16 01:13:30 +00:00
|
|
|
]
|
2016-12-08 05:12:00 +00:00
|
|
|
|
2017-11-15 18:09:52 +00:00
|
|
|
[package.metadata.docs.rs]
|
2019-02-15 19:32:54 +00:00
|
|
|
# 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"]
|
2019-02-15 19:18:25 +00:00
|
|
|
features = ["nightly", "simd_backend"]
|
2017-11-15 18:09:52 +00:00
|
|
|
|
2017-03-14 03:38:13 +00:00
|
|
|
[badges]
|
2018-01-20 00:55:50 +00:00
|
|
|
travis-ci = { repository = "dalek-cryptography/curve25519-dalek", branch = "master"}
|
2017-03-14 03:38:13 +00:00
|
|
|
|
2018-01-27 00:29:23 +00:00
|
|
|
[dev-dependencies]
|
2019-01-05 11:27:24 +00:00
|
|
|
rand_os = "0.1.0"
|
2018-10-19 17:41:51 +00:00
|
|
|
sha2 = { version = "0.8", default-features = false }
|
2018-09-26 22:28:47 +00:00
|
|
|
bincode = "1"
|
2018-03-26 00:10:30 +00:00
|
|
|
criterion = "0.2"
|
2019-02-14 22:29:58 +00:00
|
|
|
rand = "0.6"
|
2018-03-26 00:10:30 +00:00
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
|
name = "dalek_benchmarks"
|
|
|
|
|
harness = false
|
2017-10-23 21:03:23 +00:00
|
|
|
|
2018-01-27 00:29:23 +00:00
|
|
|
[dependencies]
|
2019-01-05 11:27:24 +00:00
|
|
|
rand_core = { version = "0.3.0", default-features = false }
|
2018-08-27 18:46:19 +00:00
|
|
|
byteorder = { version = "^1.2.3", default-features = false, features = ["i128"] }
|
2018-10-19 17:41:51 +00:00
|
|
|
digest = { version = "0.8", default-features = false }
|
2018-12-13 23:42:31 +00:00
|
|
|
subtle = { version = "2", default-features = false }
|
2019-10-23 22:55:03 +00:00
|
|
|
serde = { version = "1.0", default-features = false, optional = true, features = ["derive"] }
|
2018-09-14 06:35:57 +00:00
|
|
|
packed_simd = { version = "0.3.0", features = ["into_bits"], optional = true }
|
2019-09-30 18:51:57 +00:00
|
|
|
zeroize = { version = "1.0.0", default-features = false }
|
2017-05-15 01:06:59 +00:00
|
|
|
|
2017-01-14 01:43:08 +00:00
|
|
|
[features]
|
2019-09-30 18:51:57 +00:00
|
|
|
nightly = ["subtle/nightly"]
|
2018-05-15 00:35:34 +00:00
|
|
|
default = ["std", "u64_backend"]
|
2019-01-05 11:32:36 +00:00
|
|
|
std = ["alloc", "subtle/std", "rand_core/std"]
|
2019-09-30 18:51:57 +00:00
|
|
|
alloc = ["zeroize/alloc"]
|
2018-05-15 00:35:34 +00:00
|
|
|
|
|
|
|
|
# The u32 backend uses u32s with u64 products.
|
|
|
|
|
u32_backend = []
|
|
|
|
|
# The u64 backend uses u64s with u128 products.
|
|
|
|
|
u64_backend = []
|
2018-11-24 21:12:20 +00:00
|
|
|
# The SIMD backend uses parallel formulas, using either AVX2 or AVX512-IFMA.
|
|
|
|
|
simd_backend = ["nightly", "u64_backend", "packed_simd"]
|
2019-10-12 00:10:57 +00:00
|
|
|
# DEPRECATED: this is now an alias for `simd_backend` and may be removed
|
|
|
|
|
# in some future release.
|
2018-11-24 21:12:20 +00:00
|
|
|
avx2_backend = ["simd_backend"]
|