mirror of
https://github.com/ntex-rs/ntex-extras.git
synced 2025-04-01 20:07:40 +03:00
parent
b72566656a
commit
7034dcc851
12 changed files with 27 additions and 17 deletions
|
@ -3,7 +3,7 @@
|
|||
<p><strong>A collection of additional crates supporting the ntex frameworks.</strong> </p>
|
||||
<p>
|
||||
|
||||
[/badge.svg)](https://travis-ci.org/ntex-rs/ntex)
|
||||
[](https://github.com/ntex-rs/ntex-extras/actions/workflows/linux.yml)
|
||||
[](https://blog.rust-lang.org/2023/12/28/Rust-1.75.0.html)
|
||||
[](https://codecov.io/gh/ntex-rs/ntex-extras)
|
||||
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
# Changes
|
||||
|
||||
## [1.0.0] - 2024-02-28
|
||||
|
||||
* Update the `ntex` dependency to 1.1
|
||||
|
||||
## [0.1.0] - 2020-10-05
|
||||
|
||||
* Initial release
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "ntex-cors"
|
||||
version = "0.5.0"
|
||||
version = "1.0.0"
|
||||
authors = ["ntex contributors <team@ntex.rs>"]
|
||||
description = "Cross-origin resource sharing (CORS) for ntex applications."
|
||||
readme = "README.md"
|
||||
|
|
|
@ -104,20 +104,15 @@ impl WebResponseError<DefaultError> for CorsError {
|
|||
/// allowed).
|
||||
///
|
||||
/// `Default` is implemented for this enum and is `All`.
|
||||
#[derive(Clone, Debug, Eq, PartialEq)]
|
||||
#[derive(Default, Clone, Debug, Eq, PartialEq)]
|
||||
pub enum AllOrSome<T> {
|
||||
/// Everything is allowed. Usually equivalent to the "*" value.
|
||||
#[default]
|
||||
All,
|
||||
/// Only some of `T` is allowed
|
||||
Some(T),
|
||||
}
|
||||
|
||||
impl<T> Default for AllOrSome<T> {
|
||||
fn default() -> Self {
|
||||
AllOrSome::All
|
||||
}
|
||||
}
|
||||
|
||||
impl<T> AllOrSome<T> {
|
||||
/// Returns whether this is an `All` variant
|
||||
pub fn is_all(&self) -> bool {
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
# Changes
|
||||
|
||||
## [1.0.0] - 2024-02-28
|
||||
|
||||
* Update the `ntex` dependency to 1.1
|
||||
|
||||
## [0.4.1] - 2024-01-17
|
||||
|
||||
* Fix compatibility #11
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "ntex-files"
|
||||
version = "0.4.1"
|
||||
version = "1.0.0"
|
||||
authors = ["ntex contributors <team@ntex.rs>"]
|
||||
description = "Static files support for ntex web."
|
||||
readme = "README.md"
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
# Changes
|
||||
|
||||
## [Unreleased] - 2020-xx-xx
|
||||
## [1.0.0] - 2024-02-28
|
||||
|
||||
* Update the `time` dependency to 0.2.5
|
||||
* Update the `ntex` dependency to 1.1
|
||||
* Update the `time` dependency to 0.3
|
||||
|
||||
## [0.2.1] - 2020-01-10
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "ntex-identity"
|
||||
version = "0.4.0"
|
||||
version = "1.0.0"
|
||||
authors = ["ntex contributors <team@ntex.rs>"]
|
||||
description = "Identity service for ntex web framework."
|
||||
readme = "README.md"
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
# Changes
|
||||
|
||||
## [1.0.0] - 2024-02-28
|
||||
|
||||
* Update the `ntex` dependency to 1.1
|
||||
* Rename `ParseError` to `DecodeError`
|
||||
|
||||
## [0.2.1] - 2020-01-xx
|
||||
|
||||
* Remove the unused `time` dependency
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "ntex-multipart"
|
||||
version = "0.4.0"
|
||||
version = "1.0.0"
|
||||
authors = ["ntex contributors <team@ntex.rs>"]
|
||||
description = "Multipart support for ntex web framework."
|
||||
readme = "README.md"
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
# Changes
|
||||
|
||||
## [Unreleased] - 2020-01-xx
|
||||
## [1.0.0] 2024-02-28
|
||||
|
||||
* Update the `time` dependency to 0.2.5
|
||||
* Update the `ntex` dependency to 1.1
|
||||
* Update the `time` dependency to 0.3
|
||||
* [#1292](https://github.com/actix/actix-web/pull/1292) Long lasting auto-prolonged session
|
||||
|
||||
## [0.3.0] - 2019-12-20
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "ntex-session"
|
||||
version = "0.4.0"
|
||||
version = "1.0.0"
|
||||
authors = ["ntex contributors <team@ntex.rs>"]
|
||||
description = "Session for ntex web framework."
|
||||
readme = "README.md"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue