Move utils to ntex-util crate

This commit is contained in:
Nikolay Kim 2021-04-11 12:15:06 +06:00
parent 1e2d0a769a
commit c3540207e3
4 changed files with 15 additions and 4 deletions

View file

@ -1,5 +1,9 @@
# Changes
## [0.1.8] - 2021-04-11
* Move utils to ntex-util crate
## [0.1.7] - 2021-04-03
* drop futures-util dependency

View file

@ -1,6 +1,6 @@
[package]
name = "ntex-service"
version = "0.1.7"
version = "0.1.8"
authors = ["ntex contributors <team@ntex.rs>"]
description = "ntex service"
keywords = ["network", "framework", "async", "futures"]
@ -16,8 +16,8 @@ name = "ntex_service"
path = "src/lib.rs"
[dependencies]
ntex-util = "0.1.0"
pin-project-lite = "0.2.4"
ntex-util = "0.1.1"
pin-project-lite = "0.2.6"
[dev-dependencies]
ntex = "0.3.13"

View file

@ -349,3 +349,10 @@ pub mod dev {
pub use crate::transform::ApplyTransform;
pub use crate::transform_err::TransformMapInitErr;
}
#[doc(hidden)]
pub mod util {
pub use ntex_util::future::Either;
pub use ntex_util::future::Ready;
pub use ntex_util::future::{lazy, Lazy};
}

View file

@ -42,7 +42,7 @@ url = ["url-pkg"]
ntex-codec = "0.4.1"
ntex-rt = "0.2.2"
ntex-router = "0.4.2"
ntex-service = "0.1.7"
ntex-service = "0.1.8"
ntex-macros = "0.1.3"
ntex-util = "0.1.1"