Rust Multipart (RFC 7578)
Components
Name | Documentation | Crate |
---|---|---|
common | ||
actix | ||
hyper |
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.3"
and import:
extern crate actix_multipart_rfc7578 as multipart;
Hyper:
[dependencies]
hyper-multipart-rfc7578 = "0.4"
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
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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.