2017-09-14 00:25:34 +00:00
|
|
|
[package]
|
2023-03-12 05:49:18 +00:00
|
|
|
name = "x25519-dalek"
|
2025-07-07 15:52:25 +00:00
|
|
|
edition = "2024"
|
2020-08-18 02:43:22 +00:00
|
|
|
# Before changing this:
|
|
|
|
|
# - update version in README.md
|
|
|
|
|
# - update html_root_url
|
|
|
|
|
# - update CHANGELOG
|
2021-09-13 22:37:52 +00:00
|
|
|
# - if any changes were made to README.md, mirror them in src/lib.rs docs
|
2025-07-09 17:04:17 +00:00
|
|
|
version = "3.0.0-pre.0"
|
2019-01-22 22:03:00 +00:00
|
|
|
authors = [
|
2021-05-03 23:31:32 +00:00
|
|
|
"Isis Lovecruft <isis@patternsinthevoid.net>",
|
2019-01-22 22:03:00 +00:00
|
|
|
"DebugSteven <debugsteven@gmail.com>",
|
|
|
|
|
"Henry de Valence <hdevalence@hdevalence.ca>",
|
|
|
|
|
]
|
2017-09-14 00:25:34 +00:00
|
|
|
readme = "README.md"
|
|
|
|
|
license = "BSD-3-Clause"
|
2023-09-06 04:49:26 +00:00
|
|
|
repository = "https://github.com/dalek-cryptography/curve25519-dalek/tree/main/x25519-dalek"
|
2023-08-28 06:36:14 +00:00
|
|
|
homepage = "https://github.com/dalek-cryptography/curve25519-dalek"
|
2017-09-14 00:25:34 +00:00
|
|
|
documentation = "https://docs.rs/x25519-dalek"
|
|
|
|
|
categories = ["cryptography", "no-std"]
|
2025-07-09 17:04:17 +00:00
|
|
|
keywords = [
|
|
|
|
|
"cryptography",
|
|
|
|
|
"curve25519",
|
|
|
|
|
"key-exchange",
|
|
|
|
|
"x25519",
|
|
|
|
|
"diffie-hellman",
|
2017-09-14 00:25:34 +00:00
|
|
|
]
|
2025-07-09 17:04:17 +00:00
|
|
|
description = "X25519 elliptic curve Diffie-Hellman key exchange in pure-Rust, using curve25519-dalek."
|
|
|
|
|
exclude = [".gitignore", ".travis.yml", "CONTRIBUTING.md"]
|
2025-07-07 15:52:25 +00:00
|
|
|
rust-version = "1.85"
|
2017-09-14 00:25:34 +00:00
|
|
|
|
|
|
|
|
[badges]
|
2025-07-09 17:04:17 +00:00
|
|
|
travis-ci = { repository = "dalek-cryptography/x25519-dalek", branch = "master" }
|
2017-09-14 00:25:34 +00:00
|
|
|
|
2019-01-10 18:08:08 +00:00
|
|
|
[package.metadata.docs.rs]
|
2023-03-12 05:45:37 +00:00
|
|
|
rustdoc-args = [
|
2025-07-09 17:04:17 +00:00
|
|
|
"--html-in-header",
|
|
|
|
|
"docs/assets/rustdoc-include-katex-header.html",
|
|
|
|
|
"--cfg",
|
|
|
|
|
"docsrs",
|
2023-03-12 05:45:37 +00:00
|
|
|
]
|
2025-07-07 19:36:11 +00:00
|
|
|
features = ["os_rng", "reusable_secrets", "serde", "static_secrets"]
|
2017-09-14 00:25:34 +00:00
|
|
|
|
2019-01-10 18:08:08 +00:00
|
|
|
[dependencies]
|
2025-07-18 14:26:13 +00:00
|
|
|
curve25519-dalek = { version = "=5.0.0-pre.0", default-features = false }
|
2025-07-07 19:36:11 +00:00
|
|
|
rand_core = { version = "0.9", default-features = false }
|
2025-07-09 17:04:17 +00:00
|
|
|
serde = { version = "1", default-features = false, optional = true, features = [
|
|
|
|
|
"derive",
|
|
|
|
|
] }
|
2025-07-07 14:14:51 +00:00
|
|
|
zeroize = { version = "1", default-features = false, optional = true }
|
2018-11-06 19:00:52 +00:00
|
|
|
|
2018-04-02 21:53:26 +00:00
|
|
|
[dev-dependencies]
|
2019-10-24 22:02:26 +00:00
|
|
|
bincode = "1"
|
2023-08-11 22:18:15 +00:00
|
|
|
criterion = "0.5"
|
2025-07-07 19:36:11 +00:00
|
|
|
rand_core = { version = "0.9", default-features = false, features = ["os_rng"] }
|
2018-04-02 21:53:26 +00:00
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
|
name = "x25519"
|
|
|
|
|
harness = false
|
|
|
|
|
|
2017-09-14 00:25:34 +00:00
|
|
|
[features]
|
2023-01-29 09:29:07 +00:00
|
|
|
default = ["alloc", "precomputed-tables", "zeroize"]
|
2025-07-07 19:36:11 +00:00
|
|
|
os_rng = ["rand_core/os_rng"]
|
2023-01-29 09:29:07 +00:00
|
|
|
zeroize = ["dep:zeroize", "curve25519-dalek/zeroize"]
|
2022-12-09 14:35:49 +00:00
|
|
|
serde = ["dep:serde", "curve25519-dalek/serde"]
|
2023-01-29 09:29:07 +00:00
|
|
|
alloc = ["curve25519-dalek/alloc", "serde?/alloc", "zeroize?/alloc"]
|
|
|
|
|
precomputed-tables = ["curve25519-dalek/precomputed-tables"]
|
2021-04-20 21:33:32 +00:00
|
|
|
reusable_secrets = []
|
2023-03-31 17:34:03 +00:00
|
|
|
static_secrets = []
|