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
|
2021-07-20 02:56:28 +00:00
|
|
|
# - if README was updated, also update module documentation in src/lib.rs
|
2022-02-16 21:26:01 +00:00
|
|
|
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"
|
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",
|
2017-11-16 01:13:57 +00:00
|
|
|
".travis.yml",
|
2017-11-16 01:13:30 +00:00
|
|
|
]
|
2016-12-08 05:12:00 +00:00
|
|
|
|
2017-11-15 18:09:52 +00:00
|
|
|
[package.metadata.docs.rs]
|
2022-11-24 23:14:25 +00:00
|
|
|
rustdoc-args = ["--html-in-header", "docs/assets/rustdoc-include-katex-header.html", "--cfg", "docsrs"]
|
2022-12-08 18:59:28 +00:00
|
|
|
features = ["serde", "simd_backend", "rand_core", "digest"]
|
2017-11-15 18:09:52 +00:00
|
|
|
|
2017-03-14 03:38:13 +00:00
|
|
|
[badges]
|
2018-01-20 00:55:50 +00:00
|
|
|
travis-ci = { repository = "dalek-cryptography/curve25519-dalek", branch = "master"}
|
2017-03-14 03:38:13 +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"
|
|
|
|
|
|
2018-03-26 00:10:30 +00:00
|
|
|
[[bench]]
|
|
|
|
|
name = "dalek_benchmarks"
|
|
|
|
|
harness = false
|
2022-12-08 20:05:59 +00:00
|
|
|
required-features = ["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 }
|
2019-11-15 22:29:14 +00:00
|
|
|
subtle = { version = "^2.2.1", default-features = false }
|
2019-10-23 22:55:03 +00:00
|
|
|
serde = { version = "1.0", default-features = false, optional = true, features = ["derive"] }
|
2022-12-09 08:42:52 +00:00
|
|
|
zeroize = { version = "1", default-features = false }
|
|
|
|
|
|
|
|
|
|
[target.'cfg(curve25519_dalek_backend = "fiat")'.dependencies]
|
|
|
|
|
fiat-crypto = "0.1.6"
|
|
|
|
|
|
2020-09-30 19:01:43 +00:00
|
|
|
# The original packed_simd package was orphaned, see
|
|
|
|
|
# https://github.com/rust-lang/packed_simd/issues/303#issuecomment-701361161
|
2022-12-09 08:42:52 +00:00
|
|
|
[target.'cfg(curve25519_dalek_backend = "simd")'.dependencies]
|
|
|
|
|
packed_simd = { version = "0.3.4", package = "packed_simd_2", features = ["into_bits"] }
|
2017-05-15 01:06:59 +00:00
|
|
|
|
2017-01-14 01:43:08 +00:00
|
|
|
[features]
|
2022-12-08 20:05:59 +00:00
|
|
|
default = ["alloc"]
|
2019-09-30 18:51:57 +00:00
|
|
|
alloc = ["zeroize/alloc"]
|