Skip to main content

rust_multipart_rfc7578_2/
lib.rs

1//! This crate contains an implementation of the multipart/form-data media
2//! type described in [RFC 7578](https://tools.ietf.org/html/rfc7578).
3
4mod boundary;
5mod client_;
6mod error;
7
8pub mod client {
9    pub use crate::error::Error;
10
11    /// This module contains data structures for building a multipart/form
12    /// body to send a server.
13    pub mod multipart {
14        pub use crate::{
15            boundary::BoundaryGenerator,
16            client_::{Body, Form},
17        };
18    }
19}