# 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" name = "edx" version = "0.1.0" authors = ["The Night Sail Crew"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "ECDH key exchange using Ed25519 derived keys" readme = "README.adoc" keywords = [ "cryptography", "key-exchange", "ed25519", "curve25519", ] categories = [ "cryptography", "no-std", ] license = "BSD-3-Clause" repository = "https://codeberg.org/nightsail/edx.git" [lib] name = "edx" path = "src/lib.rs" [[example]] name = "simple" path = "examples/simple.rs" [dependencies.blake3] version = "1" optional = true [dependencies.curve25519-dalek] version = "4" [dependencies.ed25519-dalek] version = "2" optional = true [dependencies.rand] version = "0.8" optional = true [dependencies.thiserror] version = "2" [dev-dependencies.base32] version = "0.5" [dev-dependencies.crypto_secretbox] version = "0.1" [dev-dependencies.ed25519-dalek] version = "2" [dev-dependencies.hex] version = "0.4" [dev-dependencies.rand] version = "0.8" [dev-dependencies.sha2] version = "0.10" [features] default = [ "hashed", "ed25519-dalek", ] ed25519-dalek = ["dep:ed25519-dalek"] hashed = ["dep:blake3"] [lints.clippy] tabs_in_doc_comments = "allow"