risc0-curve25519-dalek-source/Cargo.toml
Jean Pierre Dudey b7376512dd Update rand >= 0.4
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2018-01-03 10:04:40 -04:00

75 lines
2 KiB
TOML

[package]
name = "curve25519-dalek"
version = "0.14.0"
authors = ["Isis Lovecruft <isis@patternsinthevoid.net>",
"Henry de Valence <hdevalence@hdevalence.ca>"]
readme = "README.md"
license = "BSD-3-Clause"
repository = "https://github.com/isislovecruft/curve25519-dalek"
homepage = "https://code.ciph.re/isis/curve25519-dalek"
documentation = "https://docs.rs/curve25519-dalek"
categories = ["cryptography", "no-std"]
keywords = ["cryptography", "curve25519", "elliptic", "curve", "ECC"]
description = "A low-level cryptographic library for point, group, field, and scalar operations on a curve isomorphic to the twisted Edwards curve defined by -x²+y² = 1 - 121665/121666 x²y² over GF(2²⁵⁵ - 19)."
exclude = [
"**/.gitignore",
".gitignore",
".travis.yml",
]
build = "build.rs"
[package.metadata.docs.rs]
rustdoc-args = ["--html-in-header", ".cargo/registry/src/github.com-1ecc6299db9ec823/curve25519-dalek-0.13.2/rustdoc-include-katex-header.html"]
[badges]
travis-ci = { repository = "isislovecruft/curve25519-dalek", branch = "master"}
[dependencies.serde]
version = "1.0"
optional = true
[dependencies.rand]
optional = true
version = "0.4"
[dependencies.digest]
version = "0.6"
[dependencies.subtle]
version = "^0.3"
default-features = false
[dependencies.generic-array]
# same version that digest depends on
version = "^0.8"
[dev-dependencies.sha2]
version = "0.6"
[dev-dependencies.serde_cbor]
version = "0.6"
[build-dependencies]
subtle = "^0.3"
rand = "0.4"
generic-array = "^0.8"
digest = "0.6"
arrayref = "0.3.4"
[build-dependencies.serde]
version = "1.0"
optional = true
[features]
nightly = ["radix_51", "subtle/nightly"]
default = ["std"]
std = ["rand", "subtle/std"]
alloc = []
# This isn't used at the moment, but keep it around for future yolocrypto features.
yolocrypto = []
bench = []
# Radix-51 arithmetic using u128
radix_51 = []
# Include precomputed basepoint tables. This is off by default so that build.rs can generate the tables, and then re-enabled by build.rs in the main-stage compilation.
precomputed_tables = []