diff --git a/Cargo.toml b/Cargo.toml index 28fe7f3..d8051ae 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,10 +1,10 @@ [package] name = "actix-form-data" description = "Multipart Form Data for Actix Web" -version = "0.6.1" +version = "0.6.2" license = "GPL-3.0" authors = ["asonix "] -repository = "https://git.asonix.dog/Aardwolf/actix-form-data.git" +repository = "https://git.asonix.dog/asonix/actix-form-data.git" readme = "README.md" keywords = ["actix", "form-data", "multipart", "async"] edition = "2021" diff --git a/README.md b/README.md index b4b29fd..7a33977 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ App::new() In your handler, get the value ```rust -async fn upload(value: Value) -> { +async fn upload(uploaded_content: Value<()>) -> HttpResponse { ... } ``` @@ -67,7 +67,7 @@ use actix_web::{ web::{post, resource}, App, HttpResponse, HttpServer, }; -use futures::stream::StreamExt; +use futures_util::stream::StreamExt; async fn upload(uploaded_content: Value<()>) -> HttpResponse { println!("Uploaded Content: {:#?}", uploaded_content);