#hyper-http #hyper #multipart-form #http #forms

hyper-multipart-rfc7578

An implementation of multipart/form-data (RFC7578) for Hyper

13 releases (7 breaking)

0.8.0 May 5, 2022
0.7.0 Mar 13, 2022
0.6.2 Mar 9, 2022
0.5.1 Sep 16, 2021
0.1.0-alpha2 Dec 1, 2017

#1546 in Asynchronous

Download history 10052/week @ 2024-07-21 8912/week @ 2024-07-28 7746/week @ 2024-08-04 8658/week @ 2024-08-11 12306/week @ 2024-08-18 10055/week @ 2024-08-25 9583/week @ 2024-09-01 11124/week @ 2024-09-08 9808/week @ 2024-09-15 6184/week @ 2024-09-22 9066/week @ 2024-09-29 6505/week @ 2024-10-06 5931/week @ 2024-10-13 9168/week @ 2024-10-20 6698/week @ 2024-10-27 12717/week @ 2024-11-03

35,085 downloads per month
Used in 55 crates (8 directly)

MIT/Apache

41KB
544 lines

Workflow Status Maintenance

Rust Multipart (RFC 7578)

Components

Name Documentation Crate
common Docs Crate
actix Docs Crate
hyper Docs Crate

This crate contains an implementation of the multipart/form-data media type described in RFC 7578.

Usage

Add either the Hyper implementation or the Actix implementation to your Cargo.toml file:

Actix:

[dependencies]
actix-multipart-rfc7578 = "0.10"

and import:

extern crate actix_multipart_rfc7578 as multipart;

Hyper:

[dependencies]
hyper-multipart-rfc7578 = "0.8"

and import:

extern crate hyper_multipart_rfc7578 as multipart;

Note on Server Implementation

I don't have any plans on implementing the server-side of this any time soon. I ended up implementing the client-side because I couldn't find any good libraries that were compatible with hyper >= 0.11.

Please feel free to submit a pull request, I would gladly review it!

Alternatives

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~5–11MB
~124K SLoC