Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to Actix 0.13 APIs, Tokio 1.x, and fix OGN device DB download #439

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
Cosmetics
  • Loading branch information
mologie committed May 8, 2023
commit 2a0cdb98d4dab99d5cf6c76be823f11960d80f29
20 changes: 10 additions & 10 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
use std::env;
use std::net::{IpAddr, SocketAddr};

use ::actix::prelude::*;
use ::actix_cors::Cors;
use ::actix_files::NamedFile;
use ::actix_ogn::OGNActor;
use ::actix_web::middleware::Logger;
use ::actix_web::{web, App, HttpServer, Responder};
use ::anyhow::{anyhow, Context, Result};
use ::clap::{self, value_t, Arg};
use ::log::debug;
use ::r2d2_redis::RedisConnectionManager;
use actix::prelude::*;
use actix_cors::Cors;
use actix_files::NamedFile;
use actix_ogn::OGNActor;
use actix_web::middleware::Logger;
use actix_web::{web, App, HttpServer, Responder};
use anyhow::{anyhow, Context, Result};
use clap::{self, value_t, Arg};
use log::debug;
use r2d2_redis::RedisConnectionManager;

mod api;
mod gateway;
Expand Down