Optimize dependencies

next
Sayan Nandan 3 years ago
parent be087f0c84
commit a87478dcba

35
Cargo.lock generated

@ -110,25 +110,25 @@ dependencies = [
[[package]]
name = "crossterm"
version = "0.19.0"
version = "0.20.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7c36c10130df424b2f3552fcc2ddcd9b28a27b1e54b358b45874f88d1ca6888c"
checksum = "c0ebde6a9dd5e331cd6c6f48253254d117642c31653baa475e394657c59c1f7d"
dependencies = [
"bitflags",
"crossterm_winapi",
"lazy_static",
"libc",
"mio",
"parking_lot",
"signal-hook",
"signal-hook-mio",
"winapi",
]
[[package]]
name = "crossterm_winapi"
version = "0.7.0"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0da8964ace4d3e4a044fd027919b2237000b24315a37c916f61809f1ff2140b9"
checksum = "3a6966607622438301997d3dac0d2f6e9a90c68bb6bc1785ea98456ab93c0507"
dependencies = [
"winapi",
]
@ -403,7 +403,6 @@ checksum = "5600b4e6efc5421841a2138a6b082e07fe12f9aaa12783d50e5d13325b26b4fc"
name = "libsky"
version = "0.6.1"
dependencies = [
"bytes",
"lazy_static",
"regex",
"skytable",
@ -819,15 +818,25 @@ dependencies = [
[[package]]
name = "signal-hook"
version = "0.1.17"
version = "0.3.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7e31d442c16f047a671b5a71e2161d6e68814012b7f5379d269ebd915fac2729"
checksum = "470c5a6397076fae0094aaf06a08e6ba6f37acb77d3b1b91ea92b4d6c8650c39"
dependencies = [
"libc",
"mio",
"signal-hook-registry",
]
[[package]]
name = "signal-hook-mio"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "29fd5867f1c4f2c5be079aee7a2adf1152ebb04a4bc4d341f504b7dece607ed4"
dependencies = [
"libc",
"mio",
"signal-hook",
]
[[package]]
name = "signal-hook-registry"
version = "1.4.0"
@ -843,11 +852,9 @@ version = "0.6.1"
dependencies = [
"clap",
"devtimer",
"lazy_static",
"libsky",
"libstress",
"rand",
"regex",
"serde",
"serde_json",
"skytable",
@ -883,7 +890,6 @@ dependencies = [
"parking_lot",
"regex",
"serde",
"serde_derive",
"sky_macros",
"skytable",
"tokio",
@ -896,17 +902,12 @@ dependencies = [
name = "skysh"
version = "0.6.1"
dependencies = [
"bytes",
"clap",
"crossterm",
"lazy_static",
"libsky",
"openssl",
"regex",
"rustyline",
"skytable",
"tokio",
"tokio-openssl",
]
[[package]]

@ -7,14 +7,11 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
libsky = { path = "../libsky" }
tokio = { version = "1.6.1", features = ["full"] }
bytes = "1.0.1"
clap = { version = "2.33.3", features = ["yaml"] }
openssl = { version = "0.10.34", features = ["vendored"] }
tokio-openssl = "0.6.1"
# internal deps
libsky = { path="../libsky" }
skytable = { git="https://github.com/skytable/client-rust", branch="next", features=["async"], default-features=false }
# external deps
tokio = { version="1.6.1", features=["full"] }
clap = { version="2.33.3", features=["yaml"] }
rustyline = "8.2.0"
crossterm = "0.19.0"
skytable = { git = "https://github.com/skytable/client-rust", branch = "next", features = ["async"], default-features = false }
lazy_static = "1.4.0"
regex = "1.5.4"
crossterm = "0.20.0"

@ -24,6 +24,10 @@
*
*/
#![deny(unused_crate_dependencies)]
#![deny(unused_imports)]
mod argparse;
mod runner;

@ -7,8 +7,9 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
# internal deps
skytable = { git="https://github.com/skytable/client-rust", branch="next", features=["dbg"], default-features=false }
# external deps
lazy_static = "1.4.0"
bytes = "1.0.1"
termcolor = "1.1.2"
regex = "1.5.4"
skytable = { git = "https://github.com/skytable/client-rust", branch = "next", features = ["dbg"], default-features = false }

@ -24,6 +24,9 @@
*
*/
#![deny(unused_crate_dependencies)]
#![deny(unused_imports)]
//! The core library for the Skytable
//!
//! This contains modules which are shared by both the `cli` and the `server` modules

@ -7,4 +7,5 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
num_cpus = "1.13.0"
# external deps
num_cpus = "1.13.0"

@ -24,6 +24,9 @@
*
*/
#![deny(unused_crate_dependencies)]
#![deny(unused_imports)]
use core::marker::PhantomData;
use std::sync::mpsc;
use std::sync::Arc;

@ -6,6 +6,9 @@ edition = "2018"
build = "build.rs"
[dependencies]
# internal deps
skytable = { git = "https://github.com/skytable/client-rust", branch = "next", default-features = false }
# external deps
tokio = { version = "1.6.1", features = ["full"] }
bytes = "1.0.1"
libsky = { path = "../libsky" }
@ -13,7 +16,6 @@ bincode = "1.3.3"
parking_lot = "0.11.1"
lazy_static = "1.4.0"
dashmap = {version = "4.0.2", features = ["serde"]}
serde_derive = "1.0.126"
serde = { version = "1.0.126", features = ["derive"] }
toml = "0.5.8"
clap = { version = "2.33.3", features = ["yaml"] }
@ -21,24 +23,28 @@ env_logger = "0.8.3"
log = "0.4.14"
chrono = "0.4.19"
regex = "1.5.4"
sky_macros = { path = "../sky-macros" }
tokio-openssl = "0.6.1"
openssl = { version = "0.10.34", features = ["vendored"] }
# Use the respcodes from the client-driver
skytable = { git = "https://github.com/skytable/client-rust", branch = "next", default-features = false }
[target.'cfg(not(target_env = "msvc"))'.dependencies]
# external deps
jemallocator = "0.3.2"
[target.'cfg(target_os = "windows")'.dependencies]
# external deps
winapi = { version = "0.3.9", features = ["fileapi"] }
[target.'cfg(unix)'.build-dependencies]
# external deps
cc = "1.0.68"
[dev-dependencies]
tokio = { version = "1.6.1", features = ["test-util"] }
# internal deps
sky_macros = { path = "../sky-macros" }
skytable = { git = "https://github.com/skytable/client-rust", features = ["async"], default-features = false, branch = "next" }
devtimer = "4.0.1"
# external deps
tokio = { version = "1.6.1", features = ["test-util"] }
[target.'cfg(unix)'.dependencies]
# external deps
libc = "0.2.96"

@ -24,6 +24,9 @@
*
*/
#![deny(unused_crate_dependencies)]
#![deny(unused_imports)]
//! # Skytable
//!
//! The `skyd` crate (or the `server` folder) is Skytable's database server and maybe

@ -7,13 +7,13 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
# internal deps
skytable = { git="https://github.com/skytable/client-rust", branch="next" }
libsky = { path="../libsky" }
libstress = { path="../libstress" }
# external deps
rand = "0.8.3"
devtimer = "4.0.1"
skytable = { git = "https://github.com/skytable/client-rust", branch = "next" }
clap = { version = "2.33.3", features = ["yaml"] }
serde = { version = "1.0.126", features = ["derive"] }
clap = { version="2.33.3", features=["yaml"] }
serde = { version="1.0.126", features=["derive"] }
serde_json = "1.0.64"
regex = "1.5.4"
lazy_static = "1.4.0"
libsky = { path = "../libsky" }
libstress = {path = "../libstress"}

@ -24,6 +24,9 @@
*
*/
#![deny(unused_crate_dependencies)]
#![deny(unused_imports)]
//! A generic module for benchmarking SET/GET operations
//! **NOTE:** This is experimental and may show incorrect results - that is,
//! the response times may be shown to be slower than they actually are

@ -10,6 +10,7 @@ edition = "2018"
proc-macro = true
[dependencies]
# external deps
syn = {version = "1.0.72", features = ["full"]}
quote = "1.0.9"
proc-macro2 = "1.0.27"

@ -24,6 +24,9 @@
*
*/
#![deny(unused_crate_dependencies)]
#![deny(unused_imports)]
//! A library containing a collection of custom derives used by Skytable
//!
//! ## Ghost values

@ -24,15 +24,19 @@
*
*/
#![deny(unused_crate_dependencies)]
#![deny(unused_imports)]
use libstress::Workpool;
use skytable::Connection;
use skytable::Query;
use skytable::{Element, Response};
fn main() {
let mut pool = Workpool::new(
10,
|| Connection::new("127.0.0.1", 2003).unwrap(),
|con, query: Query| {
|con, query| {
let ret = con.run_simple_query(&query).unwrap();
assert_eq!(ret, Response::Item(Element::String("HEY!".to_owned())));
},

Loading…
Cancel
Save