server, auth: Update some dependencies

This commit is contained in:
Valentin Tolmer 2021-11-14 01:15:03 +01:00 committed by nitnelave
parent ad1ee52d76
commit 4551e27b55
3 changed files with 5 additions and 25 deletions

7
Cargo.lock generated
View File

@ -1858,8 +1858,6 @@ dependencies = [
"rust-argon2", "rust-argon2",
"serde", "serde",
"sha2", "sha2",
"sqlx",
"sqlx-core",
"thiserror", "thiserror",
] ]
@ -2201,8 +2199,9 @@ checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5"
[[package]] [[package]]
name = "opaque-ke" name = "opaque-ke"
version = "0.6.0-pre.1" version = "0.6.0"
source = "git+https://github.com/novifinancial/opaque-ke?rev=eb59676a940b15f77871aefe1e46d7b5bf85f40a#eb59676a940b15f77871aefe1e46d7b5bf85f40a" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "26772682ba4fa69f11ae6e4af8bc83946372981ff31a026648d4acb2553c9ee8"
dependencies = [ dependencies = [
"base64", "base64",
"curve25519-dalek", "curve25519-dalek",

View File

@ -20,30 +20,13 @@ serde = "*"
sha2 = "0.9" sha2 = "0.9"
thiserror = "*" thiserror = "*"
# TODO: update to 0.6 when out.
[dependencies.opaque-ke] [dependencies.opaque-ke]
git = "https://github.com/novifinancial/opaque-ke" version = "0.6"
rev = "eb59676a940b15f77871aefe1e46d7b5bf85f40a"
[dependencies.chrono] [dependencies.chrono]
version = "*" version = "*"
features = [ "serde" ] 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. # For WASM targets, use the JS getrandom.
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.getrandom] [target.'cfg(not(target_arch = "wasm32"))'.dependencies.getrandom]
version = "0.2" version = "0.2"

View File

@ -48,10 +48,8 @@ juniper_actix = "0.4.0"
juniper = "0.15.6" juniper = "0.15.6"
itertools = "0.10.1" itertools = "0.10.1"
# TODO: update to 0.6 when out.
[dependencies.opaque-ke] [dependencies.opaque-ke]
git = "https://github.com/novifinancial/opaque-ke" version = "0.6"
rev = "eb59676a940b15f77871aefe1e46d7b5bf85f40a"
[dependencies.lettre] [dependencies.lettre]
version = "0.10.0-rc.3" version = "0.10.0-rc.3"