Browse Source

ntex: upgrade rust (#7296)

* ntex: upgrade rust

* fix rust version
Nikolay Kim 3 years ago
parent
commit
2e30840fec

+ 4 - 4
frameworks/Rust/ntex/Cargo.toml

@@ -37,13 +37,13 @@ tokio = ["ntex/tokio"]
 async-std = ["ntex/async-std"]
 
 [dependencies]
-ntex = "0.5.14"
+ntex = "0.5.16"
 mimalloc = { version = "0.1.25", default-features = false }
 snmalloc-rs = { version = "0.2.26", features = ["1mib", "native-cpu"] }
 yarte = { version = "0.15", features = ["bytes-buf", "json"] }
 env_logger = "0.9"
-nanorand = { version = "0.6", default-features = false, features = ["std", "wyrand"] }
-atoi = "0.4"
+nanorand = { version = "0.7", default-features = false, features = ["std", "wyrand"] }
+atoi = "1.0"
 num_cpus = "1.13"
 futures = "0.3"
 http = "0.2"
@@ -53,7 +53,7 @@ simd-json-derive = "0.2.2"
 serde = { version = "1.0", features = ["derive"] }
 serde_json = "1.0"
 log = { version = "0.4", features = ["release_max_level_off"] }
-tok_io = {version = "=1.15.0", package = "tokio" }
+tok_io = {version = "1", package = "tokio" }
 tokio-postgres = { git="https://github.com/fafhrd91/postgres.git" }
 
 [profile.release]

+ 1 - 1
frameworks/Rust/ntex/ntex-astd.dockerfile

@@ -1,4 +1,4 @@
-FROM rust:1.57.0
+FROM rust:1.60.0
 
 # Disable simd at jsonescape
 # ENV CARGO_CFG_JSONESCAPE_DISABLE_AUTO_SIMD=

+ 1 - 1
frameworks/Rust/ntex/ntex-db-astd.dockerfile

@@ -1,4 +1,4 @@
-FROM rust:1.57.0
+FROM rust:1.60.0
 
 # Disable simd at jsonescape
 # ENV CARGO_CFG_JSONESCAPE_DISABLE_AUTO_SIMD=

+ 1 - 1
frameworks/Rust/ntex/ntex-db.dockerfile

@@ -1,4 +1,4 @@
-FROM rust:1.57.0
+FROM rust:1.60.0
 
 # Disable simd at jsonescape
 # ENV CARGO_CFG_JSONESCAPE_DISABLE_AUTO_SIMD=

+ 1 - 1
frameworks/Rust/ntex/ntex-plt-astd.dockerfile

@@ -1,4 +1,4 @@
-FROM rust:1.57.0
+FROM rust:1.60.0
 
 # Disable simd at jsonescape
 # ENV CARGO_CFG_JSONESCAPE_DISABLE_AUTO_SIMD=

+ 1 - 1
frameworks/Rust/ntex/ntex-plt.dockerfile

@@ -1,4 +1,4 @@
-FROM rust:1.57.0
+FROM rust:1.60.0
 
 # Disable simd at jsonescape
 # ENV CARGO_CFG_JSONESCAPE_DISABLE_AUTO_SIMD=

+ 1 - 1
frameworks/Rust/ntex/ntex.dockerfile

@@ -1,4 +1,4 @@
-FROM rust:1.57.0
+FROM rust:1.60.0
 
 # Disable simd at jsonescape
 # ENV CARGO_CFG_JSONESCAPE_DISABLE_AUTO_SIMD=