Use actix-remote-ip to reduce code base size (#5)
All checks were successful
continuous-integration/drone/push Build is passing

Use https://crates.io/crates/actix-remote-ip to remove some code redundancy

Reviewed-on: #5
This commit is contained in:
2023-04-29 09:08:18 +00:00
parent 07fc94f930
commit 40eb16cef9
7 changed files with 79 additions and 271 deletions

13
Cargo.lock generated
View File

@ -68,6 +68,17 @@ dependencies = [
"syn 1.0.109",
]
[[package]]
name = "actix-remote-ip"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7629b357d4705cf3f1e31f989f48ecd56027112f7d52dcf06dd96ee197065f8e"
dependencies = [
"actix-web",
"futures-util",
"log",
]
[[package]]
name = "actix-router"
version = "0.5.1"
@ -1201,11 +1212,11 @@ dependencies = [
name = "oidc-test-client"
version = "0.1.0"
dependencies = [
"actix-remote-ip",
"actix-web",
"askama",
"clap",
"env_logger",
"futures-util",
"lazy_static",
"light-openid",
"log",