#multipart #form #http

common-multipart-rfc7578

An implementation of multipart/form-data (RFC7578)

6 releases

0.3.1 Sep 15, 2021
0.3.0 Feb 14, 2021
0.2.0-rc Dec 22, 2019
0.1.2 Oct 11, 2019
0.1.1 Feb 11, 2019

#73 in Web programming

Download history 234/week @ 2021-08-16 323/week @ 2021-08-23 511/week @ 2021-08-30 335/week @ 2021-09-06 323/week @ 2021-09-13 431/week @ 2021-09-20 346/week @ 2021-09-27 513/week @ 2021-10-04 493/week @ 2021-10-11 405/week @ 2021-10-18 400/week @ 2021-10-25 327/week @ 2021-11-01 336/week @ 2021-11-08 292/week @ 2021-11-15 407/week @ 2021-11-22 437/week @ 2021-11-29

1,489 downloads per month
Used in 16 crates (4 directly)

MIT/Apache

25KB
395 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.6"

and import:

extern crate actix_multipart_rfc7578 as multipart;

Hyper:

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

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

~2–2.7MB
~55K SLoC