Skip to content

Commit

Permalink
refactor: rename multipart module
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed Jul 4, 2024
1 parent 210c9a5 commit 611154b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
8 changes: 3 additions & 5 deletions actix-multipart/src/extractor.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
//! Multipart payload support

use actix_utils::future::{ready, Ready};
use actix_web::{dev::Payload, Error, FromRequest, HttpRequest};

use crate::server::Multipart;
use crate::multipart::Multipart;

/// Get request's payload as multipart stream.
/// Extract request's payload as multipart stream.
///
/// Content-type: multipart/form-data;
/// Content-type: multipart/*;
///
/// # Examples
///
Expand Down
4 changes: 2 additions & 2 deletions actix-multipart/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ mod error;
mod extractor;
pub(crate) mod field;
pub mod form;
mod multipart;
pub(crate) mod payload;
pub(crate) mod safety;
mod server;
pub mod test;

pub use self::{error::Error as MultipartError, field::Field, server::Multipart};
pub use self::{error::Error as MultipartError, field::Field, multipart::Multipart};
File renamed without changes.

0 comments on commit 611154b

Please sign in to comment.