2016-12-08 05:12:00 +00:00
|
|
|
[package]
|
|
|
|
|
name = "curve25519-dalek"
|
2019-01-18 03:25:34 +00:00
|
|
|
version = "1.0.2"
|
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"]
|
2018-02-06 18:52:10 +00:00
|
|
|
keywords = ["cryptography", "ristretto", "curve25519", "ECC"]
|
|
|
|
|
description = "A pure-Rust implementation of group operations on Ristretto 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
|
|
|
]
|
2017-10-31 21:07:27 +00:00
|
|
|
build = "build.rs"
|
2016-12-08 05:12:00 +00:00
|
|
|
|
2017-11-15 18:09:52 +00:00
|
|
|
[package.metadata.docs.rs]
|
2017-11-16 01:32:23 +00:00
|
|
|
rustdoc-args = ["--html-in-header", ".cargo/registry/src/github.com-1ecc6299db9ec823/curve25519-dalek-0.13.2/rustdoc-include-katex-header.html"]
|
2018-02-06 19:18:02 +00:00
|
|
|
features = ["nightly"]
|
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]
|
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"
|
|
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
|
name = "dalek_benchmarks"
|
|
|
|
|
harness = false
|
2017-10-23 21:03:23 +00:00
|
|
|
|
2018-01-27 00:29:23 +00:00
|
|
|
# Note: we generate precomputed tables by building the crate twice: once as
|
|
|
|
|
# part of build.rs, and then once "for real".
|
|
|
|
|
#
|
|
|
|
|
# This means that the [dependencies] and [build-dependencies] sections must
|
|
|
|
|
# match exactly, since the build.rs uses the crate itself as a library.
|
2017-05-14 05:40:51 +00:00
|
|
|
|
2018-01-27 00:29:23 +00:00
|
|
|
[dependencies]
|
2018-10-17 16:20:44 +00:00
|
|
|
rand = { version = "0.6.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-01-27 00:29:23 +00:00
|
|
|
clear_on_drop = "=0.2.3"
|
2018-12-13 23:42:31 +00:00
|
|
|
subtle = { version = "2", default-features = false }
|
2018-01-27 00:29:23 +00:00
|
|
|
serde = { version = "1.0", optional = true }
|
2018-09-14 06:35:57 +00:00
|
|
|
packed_simd = { version = "0.3.0", features = ["into_bits"], optional = true }
|
2017-05-15 01:06:59 +00:00
|
|
|
|
2017-10-31 21:07:27 +00:00
|
|
|
[build-dependencies]
|
2018-10-17 16:20:44 +00:00
|
|
|
rand = { version = "0.6.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 }
|
2017-11-28 22:40:50 +00:00
|
|
|
clear_on_drop = "=0.2.3"
|
2018-12-13 23:42:31 +00:00
|
|
|
subtle = { version = "2", default-features = false }
|
2018-01-27 00:29:23 +00:00
|
|
|
serde = { version = "1.0", optional = true }
|
2018-09-14 06:35:57 +00:00
|
|
|
packed_simd = { version = "0.3.0", features = ["into_bits"], optional = true }
|
2017-10-31 21:07:27 +00:00
|
|
|
|
2017-01-14 01:43:08 +00:00
|
|
|
[features]
|
2018-05-15 00:35:34 +00:00
|
|
|
nightly = ["subtle/nightly", "clear_on_drop/nightly"]
|
|
|
|
|
default = ["std", "u64_backend"]
|
2018-07-20 21:43:31 +00:00
|
|
|
std = ["alloc", "subtle/std", "rand/std"]
|
2017-06-19 23:59:45 +00:00
|
|
|
alloc = []
|
2018-05-15 00:35:34 +00:00
|
|
|
yolocrypto = []
|
|
|
|
|
|
|
|
|
|
# The u32 backend uses u32s with u64 products.
|
|
|
|
|
u32_backend = []
|
|
|
|
|
# The u64 backend uses u64s with u128 products.
|
|
|
|
|
u64_backend = []
|
|
|
|
|
# The AVX2 backend uses u32x8s with u64x4 products.
|
|
|
|
|
# It uses the u64 code for serial operations.
|
2018-07-26 19:40:24 +00:00
|
|
|
avx2_backend = ["nightly", "u64_backend", "packed_simd"]
|
2018-11-12 01:38:28 +00:00
|
|
|
ifma_backend = ["nightly", "u64_backend", "packed_simd", "yolocrypto"]
|
2018-05-15 00:35:34 +00:00
|
|
|
|
2018-05-14 22:41:45 +00:00
|
|
|
# Signals that we're in the main build stage. This is off by default,
|
|
|
|
|
# to signal stage 1 of the build, where build.rs loads the library
|
|
|
|
|
# into the build script. Then, the build.rs emits the stage2_build
|
|
|
|
|
# feature before the main-stage compilation.
|
|
|
|
|
stage2_build = []
|
2018-11-05 19:16:24 +00:00
|
|
|
|