Use light-openid to reduce code base size #4

Merged
pierre merged 4 commits from dep-light-openid into master 2023-04-29 08:03:12 +00:00
2 changed files with 4 additions and 6 deletions
Showing only changes of commit 5c1f74dc3e - Show all commits

5
Cargo.lock generated
View File

@ -1043,9 +1043,9 @@ checksum = "348108ab3fba42ec82ff6e9564fc4ca0247bdccdc68dd8af9764bbc79c3c8ffb"
[[package]] [[package]]
name = "light-openid" name = "light-openid"
version = "0.3.0-alpha" version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7e5cec4a7a2327170125f62ce851e730ff9c44ad32389c20652ff7dcb9f719cf" checksum = "608aa1b7148a6eeab631c6267deca33407ff851ab50eea115e52c13a9bb184ee"
dependencies = [ dependencies = [
"aes-gcm", "aes-gcm",
"base64", "base64",
@ -1203,7 +1203,6 @@ version = "0.1.0"
dependencies = [ dependencies = [
"actix-web", "actix-web",
"askama", "askama",
"bincode",
"clap", "clap",
"env_logger", "env_logger",
"futures-util", "futures-util",

View File

@ -6,7 +6,7 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
light-openid = { version = "0.3.0-alpha", features=["crypto-wrapper"] } light-openid = { version = "1.0.1", features=["crypto-wrapper"] }
log = "0.4.17" log = "0.4.17"
env_logger = "0.10.0" env_logger = "0.10.0"
clap = { version = "4.2.4", features = ["derive", "env"] } clap = { version = "4.2.4", features = ["derive", "env"] }
@ -16,5 +16,4 @@ askama = "0.12.0"
serde = { version = "1.0.160", features = ["derive"] } serde = { version = "1.0.160", features = ["derive"] }
serde_json = "1.0.96" serde_json = "1.0.96"
reqwest = { version = "0.11.16", features = ["json"] } reqwest = { version = "0.11.16", features = ["json"] }
futures-util = "0.3.28" futures-util = "0.3.28"
bincode = "2.0.0-rc.3"