|
@@ -16,15 +16,15 @@ name = "ntex-raw"
|
|
path = "src/main_raw.rs"
|
|
path = "src/main_raw.rs"
|
|
|
|
|
|
[dependencies]
|
|
[dependencies]
|
|
-ntex = "0.2.1"
|
|
|
|
|
|
+ntex = "0.3.3"
|
|
snmalloc-rs = { version = "0.2.24", features = ["1mib", "native-cpu"] }
|
|
snmalloc-rs = { version = "0.2.24", features = ["1mib", "native-cpu"] }
|
|
-yarte = { version = "0.14", features = ["bytes-buf", "json"] }
|
|
|
|
|
|
+yarte = { version = "0.15", features = ["bytes-buf", "json"] }
|
|
env_logger = "0.8"
|
|
env_logger = "0.8"
|
|
random-fast-rng = "0.1.1"
|
|
random-fast-rng = "0.1.1"
|
|
-bytes = "0.5.6"
|
|
|
|
|
|
+bytes = "1.0"
|
|
atoi = "0.4.0"
|
|
atoi = "0.4.0"
|
|
num_cpus = "1.13"
|
|
num_cpus = "1.13"
|
|
-futures = "0.3.12"
|
|
|
|
|
|
+futures = "0.3.13"
|
|
http = "0.2"
|
|
http = "0.2"
|
|
smallvec = "1.6.1"
|
|
smallvec = "1.6.1"
|
|
simd-json = "0.3.24"
|
|
simd-json = "0.3.24"
|
|
@@ -32,10 +32,13 @@ simd-json = "0.3.24"
|
|
simd-json-derive = "0.1.15"
|
|
simd-json-derive = "0.1.15"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
log = { version = "0.4", features = ["release_max_level_off"] }
|
|
log = { version = "0.4", features = ["release_max_level_off"] }
|
|
-tokio = "=0.2.6"
|
|
|
|
-tokio-postgres = { git="https://github.com/fafhrd91/postgres.git" }
|
|
|
|
|
|
+tokio = "1"
|
|
|
|
+tokio-postgres = { git="https://github.com/fafhrd91/postgres.git", branch="ntex-0.3" }
|
|
|
|
|
|
[profile.release]
|
|
[profile.release]
|
|
lto = true
|
|
lto = true
|
|
opt-level = 3
|
|
opt-level = 3
|
|
codegen-units = 1
|
|
codegen-units = 1
|
|
|
|
+
|
|
|
|
+[patch.crates-io]
|
|
|
|
+ntex = { git="https://github.com/ntex-rs/ntex.git", branch="tfb-0.3" }
|