Tidy up dependencies

This commit is contained in:
Valentin Tolmer 2021-05-14 09:15:37 +02:00
parent 2de589d05c
commit e0bcb58d36
3 changed files with 56 additions and 22 deletions

View File

@ -20,34 +20,48 @@ actix-service = "2.0.0"
actix-web = "4.0.0-beta.6" actix-web = "4.0.0-beta.6"
actix-web-httpauth = "0.6.0-beta.1" actix-web-httpauth = "0.6.0-beta.1"
anyhow = "*" anyhow = "*"
clap = "3.0.0-beta.2" async-trait = "0.1"
chrono = { version = "*", features = [ "serde" ]} chrono = { version = "*", features = [ "serde" ]}
clap = "3.0.0-beta.2"
futures = "*" futures = "*"
futures-util = "*" futures-util = "*"
hmac = "0.10"
http = "*" http = "*"
jwt = "0.13"
ldap3_server = "*" ldap3_server = "*"
lldap_app = { path = "app" }
lldap_model = { path = "model" }
log = "*" log = "*"
serde = "*" serde = "*"
sqlx = { version = "0.5", features = [ "runtime-actix-native-tls", "any", "sqlite", "mysql", "postgres", "macros" , "chrono"] } serde_json = "1"
sha2 = "0.9"
thiserror = "*" thiserror = "*"
time = "0.2"
tokio = { version = "1.2.0", features = ["full"] } tokio = { version = "1.2.0", features = ["full"] }
tokio-util = "0.6.3" tokio-util = "0.6.3"
tracing = "*" tracing = "*"
tracing-actix-web = "0.3.0-beta.2" tracing-actix-web = "0.3.0-beta.2"
tracing-log = "*" tracing-log = "*"
tracing-subscriber = "*" tracing-subscriber = "*"
async-trait = "0.1.48"
sea-query = { version = "0.9.4", features = [ "with-chrono" ] } [dependencies.sqlx]
lldap_model = { path = "model" } version = "0.5"
lldap_app = { path = "app" } features = [
serde_json = "1.0.64" "any",
jwt = "0.13.0" "chrono",
hmac = "0.10" "macros",
sha2 = "0.9.5" "mysql",
time = "0.2.26" "postgres",
"runtime-actix-native-tls",
"sqlite",
]
[dependencies.sea-query]
version = "0.9.4"
features = ["with-chrono"]
[dependencies.figment] [dependencies.figment]
features = ["toml", "env"] features = ["env", "toml"]
version = "*" version = "*"
[dev-dependencies] [dev-dependencies]

View File

@ -5,16 +5,24 @@ authors = ["Valentin Tolmer <valentin@tolmer.fr>", "Steve Barrau <steve.barrau@g
edition = "2018" edition = "2018"
[dependencies] [dependencies]
yew = "0.17"
wasm-bindgen = "0.2"
lldap_model = { path = "../model" }
anyhow = "1" anyhow = "1"
web-sys = { version = "0.3", features = [ "console", "Document", "Element", "HtmlDocument" ] } chrono = "*"
serde_json = "1"
serde = "1"
http = "0.2.4" http = "0.2.4"
jwt = "0.13" jwt = "0.13"
chrono = "*" lldap_model = { path = "../model" }
serde = "1"
serde_json = "1"
wasm-bindgen = "0.2"
yew = "0.17"
[dependencies.web-sys]
version = "0.3"
features = [
"Document",
"Element",
"HtmlDocument",
"console",
]
[lib] [lib]
crate-type = ["cdylib"] crate-type = ["cdylib"]

View File

@ -8,8 +8,20 @@ edition = "2018"
js = [] js = []
[dependencies] [dependencies]
chrono = { version = "*", features = [ "serde" ]}
serde = "*" serde = "*"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies] [dependencies.chrono]
sqlx = { version = "0.5", features = [ "runtime-actix-native-tls", "any", "sqlite", "mysql", "postgres", "macros" , "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",
]