lldap/auth/Cargo.toml
Valentin Tolmer 5cb07b9780 dependencies: update opaque_ke to v2
This is a breaking change: it changes the way the password data is
serialized in the DB, so any saved password is no longer readable (all
passwords have to get reset).
2022-11-21 12:22:10 +01:00

38 lines
710 B
TOML

[package]
name = "lldap_auth"
version = "0.3.0-alpha.1"
authors = ["Valentin Tolmer <valentin@tolmer.fr>"]
edition = "2021"
[features]
default = ["opaque_server", "opaque_client"]
opaque_server = []
opaque_client = []
js = []
[dependencies]
argon2 = "*"
curve25519-dalek = "3"
digest = "0.9"
generic-array = "*"
rand = "0.8"
serde = "*"
sha2 = "0.9"
thiserror = "*"
[dependencies.opaque-ke]
version = "2"
features = ["std"]
[dependencies.chrono]
version = "*"
features = [ "serde" ]
# For WASM targets, use the JS getrandom.
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.getrandom]
version = "0.2"
features = ["js"]
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.2"