-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use async fn for Service::ready() and Service::shutdown() (#363)
- Loading branch information
Showing
33 changed files
with
282 additions
and
296 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "ntex-async-std" | ||
version = "0.4.0" | ||
version = "0.5.0" | ||
authors = ["ntex contributors <[email protected]>"] | ||
description = "async-std intergration for ntex framework" | ||
keywords = ["network", "framework", "async", "futures"] | ||
|
@@ -16,9 +16,9 @@ name = "ntex_async_std" | |
path = "src/lib.rs" | ||
|
||
[dependencies] | ||
ntex-bytes = "0.1.21" | ||
ntex-io = "1.0.0" | ||
ntex-util = "1.0.0" | ||
ntex-bytes = "0.1" | ||
ntex-io = "2.0" | ||
ntex-util = "2.0" | ||
log = "0.4" | ||
async-std = { version = "1", features = ["unstable"] } | ||
oneshot = { version = "0.1", default-features = false, features = ["async"] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "ntex-glommio" | ||
version = "0.4.0" | ||
version = "0.5.0" | ||
authors = ["ntex contributors <[email protected]>"] | ||
description = "glommio intergration for ntex framework" | ||
keywords = ["network", "framework", "async", "futures"] | ||
|
@@ -16,9 +16,9 @@ name = "ntex_glommio" | |
path = "src/lib.rs" | ||
|
||
[dependencies] | ||
ntex-bytes = "0.1.24" | ||
ntex-io = "1.0.0" | ||
ntex-util = "1.0.0" | ||
ntex-bytes = "0.1" | ||
ntex-io = "2.0" | ||
ntex-util = "2.0" | ||
futures-lite = "2.2" | ||
log = "0.4" | ||
oneshot = { version = "0.1", default-features = false, features = ["async"] } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "ntex-io" | ||
version = "1.2.0" | ||
version = "2.0.0" | ||
authors = ["ntex contributors <[email protected]>"] | ||
description = "Utilities for encoding and decoding frames" | ||
keywords = ["network", "framework", "async", "futures"] | ||
|
@@ -18,8 +18,8 @@ path = "src/lib.rs" | |
[dependencies] | ||
ntex-codec = "0.6.2" | ||
ntex-bytes = "0.1.24" | ||
ntex-util = "1.0" | ||
ntex-service = "2.0" | ||
ntex-util = "2.0" | ||
ntex-service = "3.0" | ||
|
||
bitflags = "2" | ||
log = "0.4" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "ntex-net" | ||
version = "1.0.2" | ||
version = "2.0.0" | ||
authors = ["ntex contributors <[email protected]>"] | ||
description = "ntexwork utils for ntex framework" | ||
keywords = ["network", "framework", "async", "futures"] | ||
|
@@ -28,16 +28,16 @@ glommio = ["ntex-rt/glommio", "ntex-glommio"] | |
async-std = ["ntex-rt/async-std", "ntex-async-std"] | ||
|
||
[dependencies] | ||
ntex-service = "2.0" | ||
ntex-bytes = "0.1.24" | ||
ntex-service = "3.0" | ||
ntex-bytes = "0.1" | ||
ntex-http = "0.1" | ||
ntex-io = "1.0" | ||
ntex-io = "2.0" | ||
ntex-rt = "0.4.11" | ||
ntex-util = "1.0" | ||
ntex-util = "2.0" | ||
|
||
ntex-tokio = { version = "0.4.0", optional = true } | ||
ntex-glommio = { version = "0.4.0", optional = true } | ||
ntex-async-std = { version = "0.4.0", optional = true } | ||
ntex-tokio = { version = "0.5.0", optional = true } | ||
ntex-glommio = { version = "0.5.0", optional = true } | ||
ntex-async-std = { version = "0.5.0", optional = true } | ||
|
||
log = "0.4" | ||
thiserror = "1.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "ntex-server" | ||
version = "1.0.5" | ||
version = "2.0.0" | ||
authors = ["ntex contributors <[email protected]>"] | ||
description = "Server for ntex framework" | ||
keywords = ["network", "framework", "async", "futures"] | ||
|
@@ -16,11 +16,11 @@ name = "ntex_server" | |
path = "src/lib.rs" | ||
|
||
[dependencies] | ||
ntex-bytes = "0.1.24" | ||
ntex-net = "1.0" | ||
ntex-service = "2.0" | ||
ntex-rt = "0.4.13" | ||
ntex-util = "1.0" | ||
ntex-bytes = "0.1" | ||
ntex-net = "2.0" | ||
ntex-service = "3.0" | ||
ntex-rt = "0.4" | ||
ntex-util = "2.0" | ||
|
||
async-channel = "2" | ||
async-broadcast = "0.7" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.