#multipart-form #forms #http #multipart

izihawa-common-multipart

An implementation of multipart/form-data

11 stable releases

1.1.7 Sep 10, 2022
1.1.4 Sep 9, 2022
1.1.3 Sep 8, 2022
1.0.3 Sep 8, 2022

#1621 in Asynchronous

Download history 31/week @ 2024-09-18 71/week @ 2024-09-25

51 downloads per month
Used in izihawa-hyper-multipart

MIT/Apache

33KB
502 lines

Workflow Status Maintenance

Rust Multipart (RFC 7578)

Components

Name Documentation Crate
common 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:

Hyper:

[dependencies]
izihawa-hyper-multipart = "1.0"

and import:

extern crate izihawa_hyper_multipart 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
~54K SLoC