1
0
mirror of https://github.com/actix/examples synced 2025-06-26 17:17:42 +02:00

bump to rc.1

This commit is contained in:
Rob Ede
2022-02-02 00:44:58 +00:00
parent 61fc66c5e5
commit c960da6bdb
25 changed files with 122 additions and 369 deletions

View File

@ -11,7 +11,7 @@ readme = "README.md"
[dependencies]
actix-multipart = "0.4.0-beta.12"
actix-web = "4.0.0-beta.21"
actix-web = "4.0.0-rc.1"
futures-util = "0.3"
sanitize-filename = "0.3"

View File

@ -29,7 +29,7 @@ async fn save_file(mut payload: Multipart) -> Result<HttpResponse, Error> {
Ok(HttpResponse::Ok().into())
}
fn index() -> HttpResponse {
async fn index() -> HttpResponse {
let html = r#"<html>
<head><title>Upload Test</title></head>
<body>