Compare commits
1 Commits
master
...
ba0b0fd422
| Author | SHA1 | Date | |
|---|---|---|---|
| ba0b0fd422 |
996
Cargo.lock
generated
996
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
15
Cargo.toml
15
Cargo.toml
@@ -6,13 +6,14 @@ edition = "2024"
|
|||||||
# 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 = "1.1.0", features=["crypto-wrapper"] }
|
light-openid = { version = "1.0.4", features=["crypto-wrapper"] }
|
||||||
log = "0.4.29"
|
log = "0.4.21"
|
||||||
env_logger = "0.11.10"
|
env_logger = "0.11.7"
|
||||||
clap = { version = "4.5.34", features = ["derive", "env"] }
|
clap = { version = "4.5.34", features = ["derive", "env"] }
|
||||||
lazy_static = "1.4.0"
|
lazy_static = "1.4.0"
|
||||||
actix-web = "4.5.1"
|
actix-web = "4.5.1"
|
||||||
askama = "0.15.0"
|
askama = "0.14.0"
|
||||||
serde = { version = "1.0.228", features = ["derive"] }
|
serde = { version = "1.0.198", features = ["derive"] }
|
||||||
serde_json = "1.0.149"
|
serde_json = "1.0.140"
|
||||||
actix-remote-ip = "1.0.0"
|
reqwest = { version = "0.12.15", features = ["json"] }
|
||||||
|
actix-remote-ip = "0.1.0"
|
||||||
|
|||||||
@@ -217,9 +217,9 @@ async fn main() -> std::io::Result<()> {
|
|||||||
HttpServer::new(move || {
|
HttpServer::new(move || {
|
||||||
App::new()
|
App::new()
|
||||||
.wrap(Logger::default())
|
.wrap(Logger::default())
|
||||||
.app_data(web::Data::new(RemoteIPConfig::parse_opt(
|
.app_data(web::Data::new(RemoteIPConfig {
|
||||||
CONF.proxy_ip.clone(),
|
proxy: CONF.proxy_ip.clone(),
|
||||||
)))
|
}))
|
||||||
.app_data(state_manager.clone())
|
.app_data(state_manager.clone())
|
||||||
.service(bootstrap)
|
.service(bootstrap)
|
||||||
.service(cover)
|
.service(cover)
|
||||||
|
|||||||
Reference in New Issue
Block a user