2017-09-14 00:25:34 +00:00
|
|
|
[package]
|
|
|
|
|
name = "x25519-dalek"
|
2022-12-09 14:35:49 +00:00
|
|
|
edition = "2021"
|
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
|
2021-09-23 19:53:44 +00:00
|
|
|
version = "2.0.0-pre.1"
|
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"
|
2018-04-02 20:07:25 +00:00
|
|
|
repository = "https://github.com/dalek-cryptography/x25519-dalek"
|
|
|
|
|
homepage = "https://dalek.rs/"
|
2017-09-14 00:25:34 +00:00
|
|
|
documentation = "https://docs.rs/x25519-dalek"
|
|
|
|
|
categories = ["cryptography", "no-std"]
|
|
|
|
|
keywords = ["cryptography", "curve25519", "key-exchange", "x25519", "diffie-hellman"]
|
|
|
|
|
description = "X25519 elliptic curve Diffie-Hellman key exchange in pure-Rust, using curve25519-dalek."
|
|
|
|
|
exclude = [
|
|
|
|
|
".gitignore",
|
|
|
|
|
".travis.yml",
|
|
|
|
|
"CONTRIBUTING.md",
|
|
|
|
|
]
|
2022-12-09 14:35:49 +00:00
|
|
|
rust-version = "1.60"
|
2017-09-14 00:25:34 +00:00
|
|
|
|
|
|
|
|
[badges]
|
2018-04-02 20:07:25 +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]
|
2019-01-22 22:03:00 +00:00
|
|
|
#rustdoc-args = ["--html-in-header", ".cargo/registry/src/github.com-1ecc6299db9ec823/curve25519-dalek-1.0.1/docs/assets/rustdoc-include-katex-header.html"]
|
2021-04-20 21:33:32 +00:00
|
|
|
features = ["nightly", "reusable_secrets", "serde"]
|
2017-09-14 00:25:34 +00:00
|
|
|
|
2019-01-10 18:08:08 +00:00
|
|
|
[dependencies]
|
2022-12-09 14:35:49 +00:00
|
|
|
curve25519-dalek = { version = "4.0.0-pre.2", default-features = false }
|
|
|
|
|
rand_core = { version = "0.6", default-features = false, features = ["getrandom"] }
|
|
|
|
|
serde = { version = "1", default-features = false, optional = true, features = ["derive"] }
|
2021-09-23 19:08:11 +00:00
|
|
|
zeroize = { version = "1", default-features = false, features = ["zeroize_derive"] }
|
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"
|
2020-03-05 03:35:33 +00:00
|
|
|
criterion = "0.3.0"
|
2018-04-02 21:53:26 +00:00
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
|
name = "x25519"
|
|
|
|
|
harness = false
|
|
|
|
|
|
2017-09-14 00:25:34 +00:00
|
|
|
[features]
|
2022-12-09 14:35:49 +00:00
|
|
|
default = ["alloc"]
|
|
|
|
|
serde = ["dep:serde", "curve25519-dalek/serde"]
|
|
|
|
|
alloc = ["curve25519-dalek/alloc", "serde?/alloc"]
|
2021-04-20 21:33:32 +00:00
|
|
|
reusable_secrets = []
|
2022-12-09 14:35:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
[patch.crates-io]
|
|
|
|
|
curve25519-dalek = { git = "https://github.com/dalek-cryptography/curve25519-dalek", branch = "release/4.0" }
|