mirror of
https://github.com/ntex-rs/ntex-extras.git
synced 2025-04-01 20:07:40 +03:00
update deps
This commit is contained in:
parent
440c0073d0
commit
38cf72793c
10 changed files with 16 additions and 27 deletions
10
Cargo.toml
10
Cargo.toml
|
@ -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" }
|
||||
|
|
|
@ -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"] }
|
||||
|
|
|
@ -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<'_> {
|
||||
|
|
|
@ -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"] }
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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"] }
|
||||
|
|
|
@ -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<'_> {
|
||||
|
|
|
@ -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"] }
|
||||
|
|
|
@ -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"] }
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue