Use async fn for Service::ready() and Service::shutdown() (#364)

This commit is contained in:
Nikolay Kim 2024-05-28 19:26:08 +05:00 committed by GitHub
parent c52db3fd10
commit 3b49828e5f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
33 changed files with 147 additions and 190 deletions

View file

@ -30,7 +30,7 @@ socket2 = "0.5"
oneshot = { version = "0.1", default-features = false, features = ["async"] }
[dev-dependencies]
ntex = { version = "1", features = ["tokio"] }
ntex = { version = "2", features = ["tokio"] }
ntex-macros = "0.1.3"
[target.'cfg(target_family = "unix")'.dependencies]