|
@@ -1,5 +1,5 @@
|
|
|
[package]
|
|
|
-name = "ntex"
|
|
|
+name = "ntex-bench"
|
|
|
version = "2.0.0"
|
|
|
edition = "2018"
|
|
|
|
|
@@ -8,7 +8,7 @@ name = "ntex"
|
|
|
path = "src/main.rs"
|
|
|
|
|
|
[[bin]]
|
|
|
-name = "ntex-astd"
|
|
|
+name = "ntex-compio"
|
|
|
path = "src/main.rs"
|
|
|
|
|
|
[[bin]]
|
|
@@ -16,7 +16,7 @@ name = "ntex-db"
|
|
|
path = "src/main_db.rs"
|
|
|
|
|
|
[[bin]]
|
|
|
-name = "ntex-db-astd"
|
|
|
+name = "ntex-db-compio"
|
|
|
path = "src/main_db.rs"
|
|
|
|
|
|
[[bin]]
|
|
@@ -24,7 +24,7 @@ name = "ntex-plt"
|
|
|
path = "src/main_plt.rs"
|
|
|
|
|
|
[[bin]]
|
|
|
-name = "ntex-plt-astd"
|
|
|
+name = "ntex-plt-compio"
|
|
|
path = "src/main_plt.rs"
|
|
|
|
|
|
[features]
|
|
@@ -33,11 +33,11 @@ default = []
|
|
|
# tokio runtime
|
|
|
tokio = ["ntex/tokio"]
|
|
|
|
|
|
-# async-std runtime
|
|
|
-async-std = ["ntex/async-std"]
|
|
|
+# compio runtime
|
|
|
+compio = ["ntex/compio"]
|
|
|
|
|
|
[dependencies]
|
|
|
-ntex = "=2.1.0"
|
|
|
+ntex = "2.4"
|
|
|
ntex-bytes = { version = "0.1.21", features=["simd"] }
|
|
|
mimalloc = { version = "0.1.25", default-features = false }
|
|
|
snmalloc-rs = { version = "0.3.3", features = ["native-cpu"] }
|
|
@@ -63,3 +63,10 @@ lto = "thin"
|
|
|
debug = false
|
|
|
incremental = false
|
|
|
overflow-checks = false
|
|
|
+
|
|
|
+[patch.crates-io]
|
|
|
+ntex = { git = "https://github.com/ntex-rs/ntex.git", branch = "compio" }
|
|
|
+ntex-io = { git = "https://github.com/ntex-rs/ntex.git", branch = "compio" }
|
|
|
+ntex-rt = { git = "https://github.com/ntex-rs/ntex.git", branch = "compio" }
|
|
|
+ntex-net = { git = "https://github.com/ntex-rs/ntex.git", branch = "compio" }
|
|
|
+ntex-compio = { git = "https://github.com/ntex-rs/ntex.git", branch = "compio" }
|