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

hyper-multipart-rfc7578

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

14 releases (8 breaking)

new 0.9.0 Dec 5, 2024
0.8.0 May 5, 2022
0.7.0 Mar 13, 2022
0.5.1 Sep 16, 2021
0.1.0-alpha2 Dec 1, 2017

#241 in Web programming

Download history 10733/week @ 2024-08-22 9677/week @ 2024-08-29 10621/week @ 2024-09-05 11384/week @ 2024-09-12 7351/week @ 2024-09-19 7618/week @ 2024-09-26 7371/week @ 2024-10-03 6767/week @ 2024-10-10 6778/week @ 2024-10-17 8179/week @ 2024-10-24 9426/week @ 2024-10-31 12836/week @ 2024-11-07 7647/week @ 2024-11-14 5619/week @ 2024-11-21 6481/week @ 2024-11-28 6163/week @ 2024-12-05

28,187 downloads per month
Used in 55 crates (8 directly)

MIT/Apache

47KB
524 lines

Workflow Status Maintenance

Rust Multipart (RFC 7578)

Call for new maintainer. I no longer use this code, and would happily pass this off to someone who would like to continue to maintain this code. Feel free to message me, and we can find a way to make that happen.

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:

use actix_multipart_rfc7578 as multipart;

Hyper:

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

and import:

use 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

~4–11MB
~113K SLoC