#http #multipart-form #forms #multipart

common-multipart-rfc7578

An implementation of multipart/form-data (RFC7578)

10 releases (5 breaking)

0.6.0 May 5, 2022
0.5.0 Mar 13, 2022
0.4.2 Mar 9, 2022
0.3.1 Sep 15, 2021
0.1.1 Feb 11, 2019

#1175 in Web programming

Download history 6498/week @ 2024-06-10 6168/week @ 2024-06-17 7858/week @ 2024-06-24 8412/week @ 2024-07-01 8590/week @ 2024-07-08 11631/week @ 2024-07-15 10194/week @ 2024-07-22 9190/week @ 2024-07-29 8248/week @ 2024-08-05 9429/week @ 2024-08-12 12607/week @ 2024-08-19 10749/week @ 2024-08-26 10242/week @ 2024-09-02 11659/week @ 2024-09-09 10296/week @ 2024-09-16 6155/week @ 2024-09-23

38,642 downloads per month
Used in 63 crates (7 directly)

MIT/Apache

32KB
491 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

~1.8–2.8MB
~53K SLoC