mirror of
https://github.com/actix/actix-extras.git
synced 2025-08-31 19:37:00 +02:00
bump actix-web to 4.0.0-rc.1
This commit is contained in:
@@ -68,7 +68,7 @@ async fn secret(session: Session) -> Result<impl Responder, Error> {
|
||||
Ok("secret revealed")
|
||||
}
|
||||
|
||||
#[actix_rt::main]
|
||||
#[actix_web::main]
|
||||
async fn main() -> std::io::Result<()> {
|
||||
std::env::set_var("RUST_LOG", "actix_web=info,actix_redis=info");
|
||||
env_logger::init();
|
||||
|
@@ -17,7 +17,7 @@ async fn index(req: HttpRequest, session: Session) -> Result<impl Responder, Err
|
||||
Ok("Welcome!")
|
||||
}
|
||||
|
||||
#[actix_rt::main]
|
||||
#[actix_web::main]
|
||||
async fn main() -> std::io::Result<()> {
|
||||
std::env::set_var("RUST_LOG", "actix_web=info,actix_redis=info");
|
||||
env_logger::init();
|
||||
|
Reference in New Issue
Block a user