mirror of
https://github.com/nitnelave/lldap.git
synced 2023-04-12 14:25:13 +00:00

Since the "model" doesn't contain any message from the API anymore, and instead contains only the structures needed for authentication, it was renamed as such.
54 lines
1.1 KiB
TOML
54 lines
1.1 KiB
TOML
[package]
|
|
name = "lldap_auth"
|
|
version = "0.1.0"
|
|
authors = ["Valentin Tolmer <valentin@tolmer.fr>", "Steve Barrau <steve.barrau@gmail.com>", "Thomas Wickham <mackwic@gmail.com>"]
|
|
edition = "2018"
|
|
|
|
[features]
|
|
default = ["opaque_server", "opaque_client"]
|
|
opaque_server = []
|
|
opaque_client = []
|
|
js = []
|
|
|
|
[dependencies]
|
|
rust-argon2 = "0.8"
|
|
curve25519-dalek = "3"
|
|
digest = "*"
|
|
generic-array = "*"
|
|
rand = "0.8"
|
|
serde = "*"
|
|
sha2 = "0.9"
|
|
thiserror = "*"
|
|
|
|
# TODO: update to 0.6 when out.
|
|
[dependencies.opaque-ke]
|
|
git = "https://github.com/novifinancial/opaque-ke"
|
|
rev = "eb59676a940b15f77871aefe1e46d7b5bf85f40a"
|
|
|
|
[dependencies.chrono]
|
|
version = "*"
|
|
features = [ "serde" ]
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.sqlx]
|
|
version = "0.5"
|
|
features = [
|
|
"any",
|
|
"chrono",
|
|
"macros",
|
|
"mysql",
|
|
"postgres",
|
|
"runtime-actix-native-tls",
|
|
"sqlite",
|
|
]
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.sqlx-core]
|
|
version = "=0.5.1"
|
|
|
|
# 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"
|