# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.60" name = "x25519-dalek" version = "2.0.1" authors = [ "Isis Lovecruft ", "DebugSteven ", "Henry de Valence ", ] exclude = [ ".gitignore", ".travis.yml", "CONTRIBUTING.md", ] description = "X25519 elliptic curve Diffie-Hellman key exchange in pure-Rust, using curve25519-dalek." homepage = "https://github.com/dalek-cryptography/curve25519-dalek" documentation = "https://docs.rs/x25519-dalek" readme = "README.md" keywords = [ "cryptography", "curve25519", "key-exchange", "x25519", "diffie-hellman", ] categories = [ "cryptography", "no-std", ] license = "BSD-3-Clause" repository = "https://github.com/dalek-cryptography/curve25519-dalek/tree/main/x25519-dalek" [package.metadata.docs.rs] features = [ "getrandom", "reusable_secrets", "serde", "static_secrets", ] rustdoc-args = [ "--html-in-header", "docs/assets/rustdoc-include-katex-header.html", "--cfg", "docsrs", ] [[bench]] name = "x25519" harness = false [dependencies.curve25519-dalek] version = "4" default-features = false [dependencies.rand_core] version = "0.6" default-features = false [dependencies.serde] version = "1" features = ["derive"] optional = true default-features = false [dependencies.zeroize] version = "1" features = ["zeroize_derive"] optional = true default-features = false [dev-dependencies.bincode] version = "1" [dev-dependencies.criterion] version = "0.5" [dev-dependencies.rand_core] version = "0.6" features = ["getrandom"] default-features = false [features] alloc = [ "curve25519-dalek/alloc", "serde?/alloc", "zeroize?/alloc", ] default = [ "alloc", "precomputed-tables", "zeroize", ] getrandom = ["rand_core/getrandom"] precomputed-tables = ["curve25519-dalek/precomputed-tables"] reusable_secrets = [] serde = [ "dep:serde", "curve25519-dalek/serde", ] static_secrets = [] zeroize = [ "dep:zeroize", "curve25519-dalek/zeroize", ] [badges.travis-ci] branch = "master" repository = "dalek-cryptography/x25519-dalek"