# 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 = "ecdh-omr" version = "0.1.1" authors = ["eaon "] description = "ECDH based Oblivious Message Retrieval" readme = "README.md" keywords = [ "cryptography", "diffie-hellman", "privacy", "pir", ] license = "AGPL-3.0-or-later" repository = "https://codeberg.org/reach/reach/src/branch/main/common/ecdh-omr" [[bench]] name = "ecdh_omr_benches" harness = false [dependencies.aead] version = "0.5.2" features = ["alloc"] [dependencies.elliptic-curve] version = "0.13" features = [ "ecdh", "sec1", ] optional = true [dependencies.rand] version = "0.8.5" [dependencies.rand_chacha] version = "0.3.1" [dependencies.rand_core] version = "0.6.4" [dependencies.x25519-dalek] version = "2.0.1" features = ["static_secrets"] optional = true [dev-dependencies.aes] version = "0.8.4" [dev-dependencies.chacha20poly1305] version = "0.10.1" [dev-dependencies.criterion] version = "0.5" [dev-dependencies.ocb3] version = "0.1.0" [dev-dependencies.p256] version = "0.13.2" [features] dalek = ["dep:x25519-dalek"] default = [ "rustcrypto-ec", "dalek", ] rustcrypto-ec = ["dep:elliptic-curve"] [lints.clippy] cast_possible_truncation = "warn" cast_possible_wrap = "warn" cast_precision_loss = "warn" cast_sign_loss = "warn" checked_conversions = "warn" implicit_saturating_sub = "warn" panic = "warn" panic_in_result_fn = "warn" unwrap_used = "warn" [lints.rust] rust_2018_idioms = "warn" unsafe_code = "forbid" unused_lifetimes = "warn" unused_qualifications = "warn"