curve25519-dalek-source/Cargo.toml

66 lines
2.3 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 html_root_url
# - update README if required by semver
# - if README was updated, also update module documentation in src/lib.rs
version = "4.0.0-pre.2"
2022-10-18 17:45:59 +00:00
edition = "2021"
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",
2017-11-16 01:13:57 +00:00
".travis.yml",
]
2016-12-08 05:12:00 +00:00
[package.metadata.docs.rs]
rustdoc-args = ["--html-in-header", "docs/assets/rustdoc-include-katex-header.html", "--cfg", "docsrs"]
2022-11-26 10:55:48 +00:00
features = ["serde", "simd_backend"]
[badges]
travis-ci = { repository = "dalek-cryptography/curve25519-dalek", branch = "master"}
[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"
[[bench]]
name = "dalek_benchmarks"
harness = false
2017-10-23 21:03:23 +00:00
[dependencies]
cfg-if = "1"
rand_core = { version = "0.6", default-features = false }
digest = { version = "0.10", default-features = false }
subtle = { version = "^2.2.1", default-features = false }
serde = { version = "1.0", default-features = false, optional = true, features = ["derive"] }
# The original packed_simd package was orphaned, see
# https://github.com/rust-lang/packed_simd/issues/303#issuecomment-701361161
packed_simd = { version = "0.3.4", package = "packed_simd_2", features = ["into_bits"], optional = true }
zeroize = { version = "1", default-features = false }
2021-01-11 17:32:54 +00:00
fiat-crypto = { version = "0.1.6", optional = true}
2017-05-15 01:06:59 +00:00
[features]
nightly = ["subtle/nightly"]
default = ["std"]
2019-01-05 11:32:36 +00:00
std = ["alloc", "subtle/std", "rand_core/std"]
alloc = ["zeroize/alloc"]
# fiat-crypto backend with formally-verified field arithmetic
fiat_backend = ["fiat-crypto"]
# The SIMD backend uses parallel formulas, using either AVX2 or AVX512-IFMA.
simd_backend = ["nightly", "packed_simd"]