# 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.74" name = "opaque-ke" version = "3.0.0" authors = [ "Kevin Lewi ", "François Garillot ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "An implementation of the OPAQUE password-authenticated key exchange protocol" readme = "README.md" keywords = [ "cryptography", "crypto", "opaque", "passwords", "authentication", ] categories = ["no-std"] license = "Apache-2.0 OR MIT" repository = "https://github.com/facebook/opaque-ke" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] targets = [] [lib] name = "opaque_ke" path = "src/lib.rs" [[example]] name = "digital_locker" path = "examples/digital_locker.rs" [[example]] name = "simple_login" path = "examples/simple_login.rs" required-features = ["argon2"] [[bench]] name = "opaque" path = "benches/opaque.rs" harness = false [dependencies.argon2] version = "0.5" features = ["alloc"] optional = true default-features = false [dependencies.curve25519-dalek] version = "4" features = ["zeroize"] optional = true default-features = false [dependencies.derive-where] version = "1" features = ["zeroize-on-drop"] [dependencies.digest] version = "0.10" [dependencies.displaydoc] version = "0.2" default-features = false [dependencies.elliptic-curve] version = "0.13" features = [ "hash2curve", "sec1", ] [dependencies.generic-array] version = "0.14" [dependencies.hkdf] version = "0.12" [dependencies.hmac] version = "0.12" [dependencies.rand] version = "0.8" default-features = false [dependencies.serde] version = "1" features = ["derive"] optional = true default-features = false [dependencies.subtle] version = "2.6" default-features = false [dependencies.voprf] version = "0.5" features = ["danger"] default-features = false [dependencies.zeroize] version = "1.8" features = ["zeroize_derive"] [dev-dependencies.bincode] version = "1" [dev-dependencies.chacha20poly1305] version = "0.10" [dev-dependencies.criterion] version = "0.5" [dev-dependencies.hex] version = "0.4" [dev-dependencies.p256] version = "0.13" features = [ "hash2curve", "voprf", ] default-features = false [dev-dependencies.p384] version = "0.13" features = [ "hash2curve", "voprf", ] default-features = false [dev-dependencies.p521] version = "0.13.3" features = [ "hash2curve", "voprf", ] default-features = false [dev-dependencies.proptest] version = "1" [dev-dependencies.rand] version = "0.8" [dev-dependencies.regex] version = "1" [dev-dependencies.rustyline] version = "14" [dev-dependencies.scrypt] version = "0.11" [dev-dependencies.serde_json] version = "1" [features] argon2 = ["dep:argon2"] curve25519 = ["dep:curve25519-dalek"] default = [ "ristretto255-voprf", "serde", ] ristretto255 = [ "dep:curve25519-dalek", "voprf/ristretto255", ] ristretto255-voprf = [ "ristretto255", "voprf/ristretto255-ciphersuite", ] serde = [ "dep:serde", "generic-array/serde", "voprf/serde", ] std = ["dep:getrandom"] [target.'cfg(target_arch = "wasm32")'.dependencies.getrandom] version = "0.2" features = ["js"] optional = true