Actix Easy Multipart

Build status crates.io docs.rs

Typed multipart form extractor for actix-web.

Example

```rust use actixweb::Responder; use actixeasymultipart::{File, FromMultipart}; use actixeasy_multipart::extractor::MultipartForm;

[derive(MultipartForm)]

struct Upload { description: Option>, timestamp: Text, #[multipart(rename="imageset[]") imageset: Vec, }

async fn route(form: MultipartForm) -> impl Responder { format!("Received 5 images: {}", form.image_set.len()) } ```

Features

Versions and Compatibility

| actix-easy-multipart | actix-web | tokio | |-------------------------------------------------------------------|-----------|-------| | 0.x | 2.x | 0.2 | | 1.x | 3.x | 0.2 | | 2.x | 4.x | 1 | | 3.x | 4.x | 1 |

See Also