[package]
name = "lldap_app"
version = "0.4.2"
authors = ["Valentin Tolmer <valentin@tolmer.fr>"]
edition = "2021"
include = ["src/**/*", "queries/**/*", "Cargo.toml", "../schema.graphql"]

[dependencies]
anyhow = "1"
base64 = "0.13"
gloo-console = "0.2.3"
gloo-file = "0.2.3"
gloo-net = "*"
graphql_client = "0.10"
http = "0.2"
jwt = "0.13"
rand = "0.8"
serde = "1"
serde_json = "1"
url-escape = "0.1.1"
validator = "=0.14"
validator_derive = "*"
wasm-bindgen = "0.2"
wasm-bindgen-futures = "*"
yew = "0.19.3"
yew-router = "0.16"

# Needed because of https://github.com/tkaitchuck/aHash/issues/95
indexmap = "=1.6.2"

[dependencies.web-sys]
version = "0.3"
features = [
  "Document",
  "Element",
  "FileReader",
  "HtmlDocument",
  "HtmlInputElement",
  "HtmlOptionElement",
  "HtmlOptionsCollection",
  "HtmlSelectElement",
  "console",
]

[dependencies.chrono]
version = "*"
features = [
  "wasmbind"
]

[dependencies.lldap_auth]
path = "../auth"
features = [ "opaque_client" ]

[dependencies.image]
features = ["jpeg"]
default-features = false
version = "0.24"

[dependencies.yew_form]
git = "https://github.com/jfbilodeau/yew_form"
rev = "4b9fabffb63393ec7626a4477fd36de12a07fac9"

[dependencies.yew_form_derive]
git = "https://github.com/jfbilodeau/yew_form"
rev = "4b9fabffb63393ec7626a4477fd36de12a07fac9"

[lib]
crate-type = ["cdylib"]