Update code to Rust Edition 2024
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pierre HUBERT 2025-03-28 20:19:15 +01:00
parent 7869c3a863
commit 90ebf4c4c6
3 changed files with 668 additions and 372 deletions

1028
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -1,19 +1,19 @@
[package]
name = "oidc-test-client"
version = "0.1.0"
edition = "2021"
edition = "2024"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
light-openid = { version = "1.0.3", features=["crypto-wrapper"] }
light-openid = { version = "1.0.4", features=["crypto-wrapper"] }
log = "0.4.21"
env_logger = "0.11.3"
clap = { version = "4.5.31", features = ["derive", "env"] }
env_logger = "0.11.7"
clap = { version = "4.5.34", features = ["derive", "env"] }
lazy_static = "1.4.0"
actix-web = "4.5.1"
askama = "0.13.0"
serde = { version = "1.0.198", features = ["derive"] }
serde_json = "1.0.140"
reqwest = { version = "0.12.4", features = ["json"] }
reqwest = { version = "0.12.15", features = ["json"] }
actix-remote-ip = "0.1.0"

View File

@ -1,6 +1,6 @@
use actix_remote_ip::{RemoteIP, RemoteIPConfig};
use actix_web::middleware::Logger;
use actix_web::{get, web, App, HttpResponse, HttpServer};
use actix_web::{App, HttpResponse, HttpServer, get, web};
use askama::Template;
use light_openid::basic_state_manager::BasicStateManager;
use light_openid::primitives::OpenIDConfig;