Browse Source

use released crate (#5873)

Nikolay Kim 5 years ago
parent
commit
6c01ac272e

+ 1 - 1
frameworks/Rust/actix/Cargo.toml

@@ -45,7 +45,7 @@ num_cpus = "1.0"
 futures = "0.3.1"
 http = "0.2"
 simd-json = "0.3"
-simd-json-derive = { git = "https://github.com/simd-lite/simd-json-derive.git" }
+simd-json-derive = "0.1.9"
 diesel = { version = "1.4.3", features = ["postgres"] }
 url = { version="1.7", features=["query_encoding"] }
 log = { version = "0.4", features = ["release_max_level_debug"] }

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

@@ -17,7 +17,7 @@ path = "src/main_raw.rs"
 
 [dependencies]
 ntex = "0.1.18"
-snmalloc-rs = { version = "0.2.15", features = ["native-cpu"] }
+snmalloc-rs = { version = "0.2.17", features = ["native-cpu"] }
 yarte = { version = "0.11", features = ["bytes-buf", "json"] }
 env_logger = "0.7"
 random-fast-rng = "0.1.1"
@@ -27,8 +27,8 @@ num_cpus = "1.0"
 futures = "0.3.4"
 http = "0.2"
 smallvec = "1.4.0"
-simd-json = "0.3.9"
-simd-json-derive = { git = "https://github.com/simd-lite/simd-json-derive.git" }
+simd-json = "0.3.14"
+simd-json-derive = "0.1.9"
 serde = { version = "1.0", features = ["derive"] }
 log = { version = "0.4", features = ["release_max_level_off"] }
 tokio = "=0.2.6"

+ 1 - 1
frameworks/Rust/ntex/src/db.rs

@@ -8,7 +8,7 @@ use futures::stream::futures_unordered::FuturesUnordered;
 use futures::{Future, FutureExt, StreamExt, TryStreamExt};
 use ntex::web::Error;
 use random_fast_rng::{FastRng, Random};
-use smallvec::{smallvec, SmallVec};
+use smallvec::SmallVec;
 use tokio_postgres::types::ToSql;
 use tokio_postgres::{connect, Client, NoTls, Statement};
 use yarte::{Serialize, TemplateBytes};