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
|
2021-07-20 02:56:28 +00:00
|
|
|
# - if README was updated, also update module documentation in src/lib.rs
|
2023-06-23 21:13:20 +00:00
|
|
|
version = "4.0.0-rc.3"
|
2022-10-18 17:45:59 +00:00
|
|
|
edition = "2021"
|
2022-12-27 10:12:55 +00:00
|
|
|
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"
|
2018-01-20 00:54:46 +00:00
|
|
|
repository = "https://github.com/dalek-cryptography/curve25519-dalek"
|
2022-12-07 10:36:07 +00:00
|
|
|
homepage = "https://github.com/dalek-cryptography/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"]
|
2019-07-31 22:22:31 +00:00
|
|
|
keywords = ["cryptography", "crypto", "ristretto", "curve25519", "ristretto255"]
|
2019-02-15 18:11:18 +00:00
|
|
|
description = "A pure-Rust implementation of group operations on ristretto255 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",
|
|
|
|
|
]
|
2016-12-08 05:12:00 +00:00
|
|
|
|
2017-11-15 18:09:52 +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",
|
|
|
|
|
]
|
2023-03-28 22:12:24 +00:00
|
|
|
features = ["serde", "rand_core", "digest", "legacy_compatibility"]
|
2017-11-15 18:09:52 +00:00
|
|
|
|
2018-01-27 00:29:23 +00:00
|
|
|
[dev-dependencies]
|
2022-02-01 23:33:34 +00:00
|
|
|
sha2 = { version = "0.10", default-features = false }
|
2018-09-26 22:28:47 +00:00
|
|
|
bincode = "1"
|
2022-11-13 06:36:46 +00:00
|
|
|
criterion = { version = "0.4.0", features = ["html_reports"] }
|
2020-10-21 15:02:06 +00:00
|
|
|
hex = "0.4.2"
|
2020-12-22 02:03:06 +00:00
|
|
|
rand = "0.8"
|
2022-12-08 20:05:59 +00:00
|
|
|
rand_core = { version = "0.6", default-features = false, features = ["getrandom"] }
|
2018-03-26 00:10:30 +00:00
|
|
|
|
2022-12-10 02:09:24 +00:00
|
|
|
[build-dependencies]
|
|
|
|
|
platforms = "3.0.2"
|
2023-03-30 06:16:18 +00:00
|
|
|
rustc_version = "0.4.0"
|
2022-12-10 02:09:24 +00:00
|
|
|
|
2018-03-26 00:10:30 +00:00
|
|
|
[[bench]]
|
|
|
|
|
name = "dalek_benchmarks"
|
|
|
|
|
harness = false
|
2023-01-20 17:55:32 +00:00
|
|
|
required-features = ["alloc", "rand_core"]
|
2017-10-23 21:03:23 +00:00
|
|
|
|
2018-01-27 00:29:23 +00:00
|
|
|
[dependencies]
|
2022-11-13 17:17:42 +00:00
|
|
|
cfg-if = "1"
|
2022-12-11 20:11:15 +00:00
|
|
|
rand_core = { version = "0.6.4", default-features = false, optional = true }
|
2022-12-08 18:59:28 +00:00
|
|
|
digest = { version = "0.10", default-features = false, optional = true }
|
2022-12-12 22:38:04 +00:00
|
|
|
subtle = { version = "2.3.0", default-features = false }
|
2019-10-23 22:55:03 +00:00
|
|
|
serde = { version = "1.0", default-features = false, optional = true, features = ["derive"] }
|
2022-12-26 21:19:55 +00:00
|
|
|
zeroize = { version = "1", default-features = false, optional = true }
|
2023-04-11 11:13:18 +00:00
|
|
|
|
|
|
|
|
[target.'cfg(target_arch = "x86_64")'.dependencies]
|
|
|
|
|
cpufeatures = "0.2.6"
|
2022-12-09 08:42:52 +00:00
|
|
|
|
|
|
|
|
[target.'cfg(curve25519_dalek_backend = "fiat")'.dependencies]
|
2023-03-26 06:49:20 +00:00
|
|
|
fiat-crypto = "0.1.19"
|
2022-12-09 08:42:52 +00:00
|
|
|
|
2017-01-14 01:43:08 +00:00
|
|
|
[features]
|
2023-06-22 05:46:27 +00:00
|
|
|
default = ["alloc", "precomputed-tables", "zeroize"]
|
2022-12-27 10:12:55 +00:00
|
|
|
alloc = ["zeroize?/alloc"]
|
2023-01-19 19:04:22 +00:00
|
|
|
precomputed-tables = []
|
2023-03-28 22:12:24 +00:00
|
|
|
legacy_compatibility = []
|
2022-12-12 22:38:04 +00:00
|
|
|
|
2023-06-22 05:46:27 +00:00
|
|
|
[target.'cfg(all(not(curve25519_dalek_backend = "fiat"), not(curve25519_dalek_backend = "serial"), target_arch = "x86_64"))'.dependencies]
|
2023-06-28 09:38:06 +00:00
|
|
|
curve25519-dalek-derive = { version = "0.1", path = "../curve25519-dalek-derive" }
|