mirror of
https://github.com/lldap/lldap.git
synced 2026-06-10 05:20:33 +00:00
45 lines
1022 B
TOML
45 lines
1022 B
TOML
[package]
|
|
name = "lldap_auth"
|
|
version = "0.6.3"
|
|
description = "Authentication protocol for LLDAP"
|
|
edition.workspace = true
|
|
authors.workspace = true
|
|
homepage.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[features]
|
|
default = ["opaque_server", "opaque_client"]
|
|
opaque_server = []
|
|
opaque_client = []
|
|
js = []
|
|
sea_orm = ["dep:sea-orm"]
|
|
test = []
|
|
|
|
[dependencies]
|
|
chrono = { workspace = true }
|
|
derive_more = { workspace = true }
|
|
opaque-ke = { workspace = true }
|
|
serde = { workspace = true }
|
|
rust-argon2 = "2"
|
|
curve25519-dalek = "3"
|
|
digest = "0.9"
|
|
generic-array = "0.14"
|
|
rand = { workspace = true }
|
|
sha2 = "0.9"
|
|
thiserror = { workspace = true }
|
|
uuid = { workspace = true, features = ["serde"] }
|
|
|
|
[dependencies.sea-orm]
|
|
workspace = true
|
|
optional = true
|
|
|
|
# For WASM targets, use the JS getrandom.
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.getrandom]
|
|
version = "0.2"
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
|
|
version = "0.2"
|
|
features = ["js"]
|