update ntex

This commit is contained in:
Nikolay Kim 2021-02-21 15:40:45 +06:00
parent 0c1b98a999
commit 5da65b7b30
8 changed files with 25 additions and 24 deletions

View file

@ -22,11 +22,11 @@ default = ["cookie-session"]
cookie-session = ["cookie/secure", "ntex/cookie"]
[dependencies]
ntex = "0.1.21"
bytes = "0.5.4"
ntex = "0.2.0-b.14"
bytes = "0.5.6"
cookie = "0.14.2"
derive_more = "0.99.5"
futures = "0.3.4"
futures = "0.3.12"
serde = "1.0"
serde_json = "1.0"
time = { version = "0.2.5", default-features = false, features = ["std"] }

View file

@ -47,7 +47,8 @@ use std::convert::Infallible;
use std::rc::Rc;
use futures::future::{ok, Ready};
use ntex::http::{Extensions, Payload, RequestHead};
use ntex::http::{Payload, RequestHead};
use ntex::util::Extensions;
use ntex::web::dev::{WebRequest, WebResponse};
use ntex::web::{Error, FromRequest, HttpRequest};
use serde::de::DeserializeOwned;