risc0-curve25519-dalek-source/Cargo.toml

82 lines
2.6 KiB
TOML
Raw Normal View History

2016-12-08 05:12:00 +00:00
[package]
name = "curve25519-dalek"
2020-05-29 19:39:39 +00:00
# Before incrementing:
# - update CHANGELOG
# - update README if required by semver
# - if README was updated, also update module documentation in src/lib.rs
2023-03-26 06:49:20 +00:00
version = "4.0.0-rc.2"
2022-10-18 17:45:59 +00:00
edition = "2021"
rust-version = "1.60.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"
repository = "https://github.com/dalek-cryptography/curve25519-dalek"
homepage = "https://github.com/dalek-cryptography/curve25519-dalek"
2016-12-08 05:12:00 +00:00
documentation = "https://docs.rs/curve25519-dalek"
categories = ["cryptography", "no-std"]
2019-07-31 22:22:31 +00:00
keywords = ["cryptography", "crypto", "ristretto", "curve25519", "ristretto255"]
description = "A pure-Rust implementation of group operations on ristretto255 and Curve25519"
2016-12-08 05:12:00 +00:00
exclude = [
"**/.gitignore",
".gitignore",
]
2016-12-08 05:12:00 +00:00
[package.metadata.docs.rs]
2022-12-13 13:48:03 +00:00
rustdoc-args = [
"--html-in-header", "docs/assets/rustdoc-include-katex-header.html",
"--cfg", "docsrs",
]
features = ["serde", "rand_core", "digest", "legacy_compatibility"]
[dev-dependencies]
sha2 = { version = "0.10", default-features = false }
bincode = "1"
2022-11-13 06:36:46 +00:00
criterion = { version = "0.4.0", features = ["html_reports"] }
hex = "0.4.2"
2020-12-22 02:03:06 +00:00
rand = "0.8"
rand_core = { version = "0.6", default-features = false, features = ["getrandom"] }
[build-dependencies]
platforms = "3.0.2"
rustc_version = "0.4.0"
[[bench]]
name = "dalek_benchmarks"
harness = false
required-features = ["alloc", "rand_core"]
2017-10-23 21:03:23 +00:00
[dependencies]
cfg-if = "1"
rand_core = { version = "0.6.4", default-features = false, optional = true }
digest = { version = "0.10", default-features = false, optional = true }
subtle = { version = "2.3.0", default-features = false }
serde = { version = "1.0", default-features = false, optional = true, features = ["derive"] }
zeroize = { version = "1", default-features = false, optional = true }
unsafe_target_feature = { version = "= 0.1.1", optional = true }
2023-04-11 11:13:18 +00:00
[target.'cfg(target_arch = "x86_64")'.dependencies]
cpufeatures = "0.2.6"
[target.'cfg(curve25519_dalek_backend = "fiat")'.dependencies]
2023-03-26 06:49:20 +00:00
fiat-crypto = "0.1.19"
[features]
2023-04-11 11:13:18 +00:00
default = ["alloc", "precomputed-tables", "zeroize", "simd"]
alloc = ["zeroize?/alloc"]
precomputed-tables = []
legacy_compatibility = []
2023-04-11 11:13:18 +00:00
# Whether to allow the use of the AVX2 SIMD backend.
simd_avx2 = ["unsafe_target_feature"]
# Whether to allow the use of the AVX512 SIMD backend.
# (Note: This requires Rust nightly; on Rust stable this feature will be ignored.)
simd_avx512 = ["unsafe_target_feature"]
# A meta-feature to allow all SIMD backends to be used.
simd = ["simd_avx2", "simd_avx512"]
[profile.dev]
opt-level = 2