diff --git a/Cargo.toml b/Cargo.toml index faa056e..95461de 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "actix-form-data" description = "Multipart Form Data for Actix Web" -version = "0.1.2" +version = "0.1.3" license = "GPL-3.0" authors = ["asonix "] repository = "https://github.com/asonix/actix-multipart" diff --git a/README.md b/README.md index a20b5ba..3a66f4d 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Add it to your dependencies. # Cargo.toml [dependencies] -actix-form-data = "0.1.2" +actix-form-data = "0.1.3" ``` Require it in your project. @@ -32,10 +32,10 @@ This creates a form with one required field named "field-name" that will be pars Then, pass it to `handle_multipart` in your request handler. ```rust -let stream = form_data::handle_multipart(req.multipart, form); +let future = form_data::handle_multipart(req.multipart, form); ``` -This returns a `Stream`, which can be used to +This returns a `Future`, which can be used to fetch your data. ```rust