156 lines
3.2 KiB
TOML
156 lines
3.2 KiB
TOML
|
|
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
||
|
|
#
|
||
|
|
# When uploading crates to the registry Cargo will automatically
|
||
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
||
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
||
|
|
# to registry (e.g., crates.io) dependencies.
|
||
|
|
#
|
||
|
|
# If you are reading this file be aware that the original Cargo.toml
|
||
|
|
# will likely look very different (and much more reasonable).
|
||
|
|
# See Cargo.toml.orig for the original contents.
|
||
|
|
|
||
|
|
[package]
|
||
|
|
edition = "2021"
|
||
|
|
rust-version = "1.60.0"
|
||
|
|
name = "curve25519-dalek"
|
||
|
|
version = "4.1.3"
|
||
|
|
authors = [
|
||
|
|
"Isis Lovecruft <isis@patternsinthevoid.net>",
|
||
|
|
"Henry de Valence <hdevalence@hdevalence.ca>",
|
||
|
|
]
|
||
|
|
exclude = [
|
||
|
|
"**/.gitignore",
|
||
|
|
".gitignore",
|
||
|
|
]
|
||
|
|
description = "A pure-Rust implementation of group operations on ristretto255 and Curve25519"
|
||
|
|
homepage = "https://github.com/dalek-cryptography/curve25519-dalek"
|
||
|
|
documentation = "https://docs.rs/curve25519-dalek"
|
||
|
|
readme = "README.md"
|
||
|
|
keywords = [
|
||
|
|
"cryptography",
|
||
|
|
"crypto",
|
||
|
|
"ristretto",
|
||
|
|
"curve25519",
|
||
|
|
"ristretto255",
|
||
|
|
]
|
||
|
|
categories = [
|
||
|
|
"cryptography",
|
||
|
|
"no-std",
|
||
|
|
]
|
||
|
|
license = "BSD-3-Clause"
|
||
|
|
repository = "https://github.com/dalek-cryptography/curve25519-dalek/tree/main/curve25519-dalek"
|
||
|
|
|
||
|
|
[package.metadata.docs.rs]
|
||
|
|
features = [
|
||
|
|
"serde",
|
||
|
|
"rand_core",
|
||
|
|
"digest",
|
||
|
|
"legacy_compatibility",
|
||
|
|
"group-bits",
|
||
|
|
]
|
||
|
|
rustdoc-args = [
|
||
|
|
"--html-in-header",
|
||
|
|
"docs/assets/rustdoc-include-katex-header.html",
|
||
|
|
"--cfg",
|
||
|
|
"docsrs",
|
||
|
|
]
|
||
|
|
|
||
|
|
[[bench]]
|
||
|
|
name = "dalek_benchmarks"
|
||
|
|
harness = false
|
||
|
|
required-features = [
|
||
|
|
"alloc",
|
||
|
|
"rand_core",
|
||
|
|
]
|
||
|
|
|
||
|
|
[dependencies.cfg-if]
|
||
|
|
version = "1"
|
||
|
|
|
||
|
|
[dependencies.digest]
|
||
|
|
version = "0.10"
|
||
|
|
optional = true
|
||
|
|
default-features = false
|
||
|
|
|
||
|
|
[dependencies.ff]
|
||
|
|
version = "0.13"
|
||
|
|
optional = true
|
||
|
|
default-features = false
|
||
|
|
|
||
|
|
[dependencies.group]
|
||
|
|
version = "0.13"
|
||
|
|
optional = true
|
||
|
|
default-features = false
|
||
|
|
|
||
|
|
[dependencies.rand_core]
|
||
|
|
version = "0.6.4"
|
||
|
|
optional = true
|
||
|
|
default-features = false
|
||
|
|
|
||
|
|
[dependencies.serde]
|
||
|
|
version = "1.0"
|
||
|
|
features = ["derive"]
|
||
|
|
optional = true
|
||
|
|
default-features = false
|
||
|
|
|
||
|
|
[dependencies.subtle]
|
||
|
|
version = "2.3.0"
|
||
|
|
default-features = false
|
||
|
|
|
||
|
|
[dependencies.zeroize]
|
||
|
|
version = "1"
|
||
|
|
optional = true
|
||
|
|
default-features = false
|
||
|
|
|
||
|
|
[dev-dependencies.bincode]
|
||
|
|
version = "1"
|
||
|
|
|
||
|
|
[dev-dependencies.criterion]
|
||
|
|
version = "0.5"
|
||
|
|
features = ["html_reports"]
|
||
|
|
|
||
|
|
[dev-dependencies.hex]
|
||
|
|
version = "0.4.2"
|
||
|
|
|
||
|
|
[dev-dependencies.rand]
|
||
|
|
version = "0.8"
|
||
|
|
|
||
|
|
[dev-dependencies.rand_core]
|
||
|
|
version = "0.6"
|
||
|
|
features = ["getrandom"]
|
||
|
|
default-features = false
|
||
|
|
|
||
|
|
[dev-dependencies.sha2]
|
||
|
|
version = "0.10"
|
||
|
|
default-features = false
|
||
|
|
|
||
|
|
[build-dependencies.rustc_version]
|
||
|
|
version = "0.4.0"
|
||
|
|
|
||
|
|
[features]
|
||
|
|
alloc = ["zeroize?/alloc"]
|
||
|
|
default = [
|
||
|
|
"alloc",
|
||
|
|
"precomputed-tables",
|
||
|
|
"zeroize",
|
||
|
|
]
|
||
|
|
group = [
|
||
|
|
"dep:group",
|
||
|
|
"rand_core",
|
||
|
|
]
|
||
|
|
group-bits = [
|
||
|
|
"group",
|
||
|
|
"ff/bits",
|
||
|
|
]
|
||
|
|
legacy_compatibility = []
|
||
|
|
precomputed-tables = []
|
||
|
|
|
||
|
|
[target."cfg(all(not(curve25519_dalek_backend = \"fiat\"), not(curve25519_dalek_backend = \"serial\"), target_arch = \"x86_64\"))".dependencies.curve25519-dalek-derive]
|
||
|
|
version = "0.1"
|
||
|
|
|
||
|
|
[target."cfg(curve25519_dalek_backend = \"fiat\")".dependencies.fiat-crypto]
|
||
|
|
version = "0.2.1"
|
||
|
|
default-features = false
|
||
|
|
|
||
|
|
[target."cfg(target_arch = \"x86_64\")".dependencies.cpufeatures]
|
||
|
|
version = "0.2.6"
|