♻️ Simple & Efficient Gemini-to-HTTP Proxy fuwn.net
proxy gemini-protocol protocol gemini http rust
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(main): Remove deprecated std::env::set_var use

Fuwn 3b9b895d 9b0e10dd

+6 -2
+6 -2
src/main.rs
··· 20 20 21 21 #[actix_web::main] 22 22 async fn main() -> std::io::Result<()> { 23 - std::env::set_var("RUST_LOG", "actix_web=info"); 24 23 dotenv::dotenv().ok(); 25 - pretty_env_logger::init(); 24 + pretty_env_logger::formatted_builder() 25 + .parse_filters( 26 + &std::env::var("RUST_LOG") 27 + .unwrap_or_else(|_| "actix_web=info".to_string()), 28 + ) 29 + .init(); 26 30 27 31 actix_web::HttpServer::new(move || { 28 32 actix_web::App::new()