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

@ -7,7 +7,7 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
actix-web = "4.0.0-beta.21"
actix-web = "4.0.0-rc.1"
actix-multipart = "0.4.0-beta.12"
futures = "0.3.1"
rusoto_s3 = "0.47.0"

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>