Compare commits

..

1 Commits

Author SHA1 Message Date
ba0b0fd422 Update Rust crate serde_json to v1.0.146
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-12-23 00:34:43 +00:00
3 changed files with 360 additions and 657 deletions

996
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -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"

View File

@@ -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)