update deps

This commit is contained in:
Nikolay Kim 2022-12-28 13:43:07 +01:00
parent 440c0073d0
commit 38cf72793c
10 changed files with 16 additions and 27 deletions

View file

@ -6,13 +6,3 @@ members = [
"ntex-multipart",
"ntex-session",
]
[patch.crates-io]
ntex = { git = "https://github.com/ntex-rs/ntex.git", branch = "service-0-4" }
ntex-connect = { git = "https://github.com/ntex-rs/ntex.git", branch = "service-0-4" }
ntex-io = { git = "https://github.com/ntex-rs/ntex.git", branch = "service-0-4" }
ntex-service = { git = "https://github.com/ntex-rs/ntex.git", branch = "service-0-4" }
ntex-util = { git = "https://github.com/ntex-rs/ntex.git", branch = "service-0-4" }
ntex-tls = { git = "https://github.com/ntex-rs/ntex.git", branch = "service-0-4" }
ntex-tokio = { git = "https://github.com/ntex-rs/ntex.git", branch = "service-0-4" }
ntex-h2 = { git = "https://github.com/ntex-rs/ntex-h2.git", branch = "service-0-4" }

View file

@ -16,9 +16,9 @@ name = "ntex_cors"
path = "src/lib.rs"
[dependencies]
ntex = "0.6.0-alpha.0"
ntex = "0.6.0-beta.0"
derive_more = "0.99"
futures = "0.3"
[dev-dependencies]
ntex = { version = "0.6.0-alpha.0", features=["tokio"] }
ntex = { version = "0.6.0-beta.0", features=["tokio"] }

View file

@ -760,8 +760,8 @@ where
self.service.poll_ready(cx)
}
fn poll_shutdown(&self, cx: &mut Context<'_>, is_error: bool) -> Poll<()> {
self.service.poll_shutdown(cx, is_error)
fn poll_shutdown(&self, cx: &mut Context<'_>) -> Poll<()> {
self.service.poll_shutdown(cx)
}
fn call(&self, req: WebRequest<Err>) -> Self::Future<'_> {

View file

@ -18,7 +18,7 @@ name = "ntex_files"
path = "src/lib.rs"
[dependencies]
ntex = "0.6.0-alpha.0"
ntex = "0.6.0-beta.0"
ntex-http = "0.1.8"
bitflags = "1.3"
futures = "0.3"
@ -32,4 +32,4 @@ percent-encoding = "2.1"
v_htmlescape = "0.14.1"
[dev-dependencies]
ntex = { version = "0.6.0-alpha.0", features=["tokio", "openssl", "compress"] }
ntex = { version = "0.6.0-beta.0", features=["tokio", "openssl", "compress"] }

View file

@ -467,7 +467,6 @@ fn none_match(etag: Option<&header::EntityTag>, req: &HttpRequest) -> bool {
}
impl<Err: ErrorRenderer> Responder<Err> for NamedFile {
type Error = Err::Container;
type Future = Ready<HttpResponse>;
fn respond_to(self, req: &HttpRequest) -> Self::Future {

View file

@ -21,7 +21,7 @@ default = ["cookie-policy"]
cookie-policy = ["cookie/secure", "ntex/cookie"]
[dependencies]
ntex = "0.6.0-alpha.0"
ntex = "0.6.0-beta.0"
futures = "0.3"
serde = "1.0"
serde_json = "1.0"
@ -30,4 +30,4 @@ cookie = { version = "0.16", features = ["private"] }
time = { version = "0.3", default-features = false, features = ["std"] }
[dev-dependencies]
ntex = { version = "0.6.0-alpha.0", features=["tokio"] }
ntex = { version = "0.6.0-beta.0", features=["tokio"] }

View file

@ -256,8 +256,8 @@ where
self.service.poll_ready(cx)
}
fn poll_shutdown(&self, cx: &mut Context, is_error: bool) -> Poll<()> {
self.service.poll_shutdown(cx, is_error)
fn poll_shutdown(&self, cx: &mut Context) -> Poll<()> {
self.service.poll_shutdown(cx)
}
fn call(&self, mut req: WebRequest<Err>) -> Self::Future<'_> {

View file

@ -16,7 +16,7 @@ name = "ntex_multipart"
path = "src/lib.rs"
[dependencies]
ntex = "0.6.0-alpha.0"
ntex = "0.6.0-beta.0"
derive_more = "0.99"
httparse = "1.3"
futures = "0.3"
@ -25,4 +25,4 @@ mime = "0.3"
twoway = "0.2"
[dev-dependencies]
ntex = { version = "0.6.0-alpha.0", features=["tokio"] }
ntex = { version = "0.6.0-beta.0", features=["tokio"] }

View file

@ -22,7 +22,7 @@ default = ["cookie-session"]
cookie-session = ["cookie/secure", "ntex/cookie"]
[dependencies]
ntex = "0.6.0-alpha.0"
ntex = "0.6.0-beta.0"
cookie = "0.16"
derive_more = "0.99"
futures = "0.3"
@ -31,4 +31,4 @@ serde_json = "1.0"
time = { version = "0.3", default-features = false, features = ["std"] }
[dev-dependencies]
ntex = { version = "0.6.0-alpha.0", features=["tokio"] }
ntex = { version = "0.6.0-beta.0", features=["tokio"] }

View file

@ -307,8 +307,8 @@ where
self.service.poll_ready(cx)
}
fn poll_shutdown(&self, cx: &mut Context, is_error: bool) -> Poll<()> {
self.service.poll_shutdown(cx, is_error)
fn poll_shutdown(&self, cx: &mut Context) -> Poll<()> {
self.service.poll_shutdown(cx)
}
/// On first request, a new session cookie is returned in response, regardless