mirror of
https://github.com/actix/actix-web.git
synced 2025-02-22 22:06:17 +00:00
chore(actix-multipart): prepare release 0.7.1
This commit is contained in:
parent
01d60f3315
commit
ffee672909
5 changed files with 15 additions and 5 deletions
|
@ -2,6 +2,10 @@
|
|||
|
||||
## Unreleased
|
||||
|
||||
## 0.7.1
|
||||
|
||||
- Expose `LimitExceeded` error type.
|
||||
|
||||
## 0.7.0
|
||||
|
||||
- Add `MultipartError::ContentTypeIncompatible` variant.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "actix-multipart"
|
||||
version = "0.7.0"
|
||||
version = "0.7.1"
|
||||
authors = [
|
||||
"Nikolay Kim <fafhrd91@gmail.com>",
|
||||
"Jacob Halsey <jacob@jhalsey.com>",
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
<!-- prettier-ignore-start -->
|
||||
|
||||
[](https://crates.io/crates/actix-multipart)
|
||||
[](https://docs.rs/actix-multipart/0.7.0)
|
||||
[](https://docs.rs/actix-multipart/0.7.1)
|
||||

|
||||

|
||||
<br />
|
||||
[](https://deps.rs/crate/actix-multipart/0.7.0)
|
||||
[](https://deps.rs/crate/actix-multipart/0.7.1)
|
||||
[](https://crates.io/crates/actix-multipart)
|
||||
[](https://discord.gg/NWpN5mmg3x)
|
||||
|
||||
|
|
|
@ -22,8 +22,10 @@ use crate::{
|
|||
safety::Safety,
|
||||
};
|
||||
|
||||
/// Error type returned from [`Field::bytes()`] when field data is larger than limit.
|
||||
#[derive(Debug, Display, Error)]
|
||||
#[display(fmt = "limit exceeded")]
|
||||
#[display(fmt = "size limit exceeded while collecting field data")]
|
||||
#[non_exhaustive]
|
||||
pub struct LimitExceeded;
|
||||
|
||||
/// A single field in a multipart stream.
|
||||
|
|
|
@ -63,4 +63,8 @@ pub(crate) mod payload;
|
|||
pub(crate) mod safety;
|
||||
pub mod test;
|
||||
|
||||
pub use self::{error::Error as MultipartError, field::Field, multipart::Multipart};
|
||||
pub use self::{
|
||||
error::Error as MultipartError,
|
||||
field::{Field, LimitExceeded},
|
||||
multipart::Multipart,
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue