Skip to content

Commit

Permalink
Merge pull request #1 from spiralover/bump/ntext-v2
Browse files Browse the repository at this point in the history
bump: use ntex v2
  • Loading branch information
Ahmard authored May 31, 2024
2 parents 35cdde0 + 5a26af3 commit 1f880ea
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 30 deletions.
47 changes: 23 additions & 24 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "medullah-web"
version = "0.2.1"
version = "0.3.0"
edition = "2021"
repository = "https://github.com/spiralover/medullah-web"

Expand Down Expand Up @@ -47,10 +47,10 @@ fancy-regex = { version = "0.13", optional = true }
rust-argon2 = { version = "1", optional = true }
tera = { version = "1", optional = true }
nanoid = { version = "0.4", optional = true }
ntex = { version = "1.2", features = ["tokio"], optional = true }
ntex-multipart = { version = "1.0", optional = true }
ntex = { version = "2.0.1", features = ["tokio"], optional = true }
ntex-multipart = { version = "2.0.0", optional = true }
r2d2 = { version = "0.8", optional = true }
ntex-cors = { version = "1.0", optional = true }
ntex-cors = { version = "2.0.0", optional = true }
reqwest = { version = "0.12", features = ["json", "blocking"], optional = true }
diesel = { version = "2", features = ["postgres", "r2d2", "uuid", "chrono", "serde_json"], optional = true }
jsonwebtoken = { version = "9.1.0", optional = true }
Expand Down
4 changes: 2 additions & 2 deletions src/http/middlewares/base_middleware.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ where
type Response = WebResponse;
type Error = Error;

ntex::forward_poll_ready!(service);
ntex::forward_poll_shutdown!(service);
ntex::forward_ready!(service);
ntex::forward_shutdown!(service);

async fn call(
&self,
Expand Down

0 comments on commit 1f880ea

Please sign in to comment.