Bump dependencies
This commit is contained in:
parent
c686cba0c4
commit
e8c3d1a5fc
4 changed files with 1246 additions and 1277 deletions
|
@ -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())
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue