Bump dependencies

This commit is contained in:
Jordan Doyle 2022-03-14 22:45:27 +00:00
parent c686cba0c4
commit e8c3d1a5fc
No known key found for this signature in database
GPG key ID: 1EA6BAE6F66DC49A
4 changed files with 1246 additions and 1277 deletions

View file

@ -33,7 +33,7 @@ pub struct BinArgs {
max_paste_size: usize,
}
#[actix_rt::main]
#[actix_web::main]
async fn main() -> std::io::Result<()> {
if std::env::var_os("RUST_LOG").is_none() {
std::env::set_var("RUST_LOG", "INFO");
@ -162,4 +162,4 @@ fn render_template<T: Template>(req: &HttpRequest, template: T) -> Result<HttpRe
Err(InternalServerError(Box::new(e)).into())
}
}
}
}