chore: remove unused dependencies (#319)

* chore: remove unused dependences

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

* fix: recover some dev-deps

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
This commit is contained in:
Ruihang Xia
2022-10-19 14:08:54 +08:00
committed by GitHub
parent 87130adf54
commit fbea07ea83
9 changed files with 5 additions and 21 deletions

8
Cargo.lock generated
View File

@@ -790,7 +790,6 @@ version = "0.1.0"
dependencies = [
"api",
"async-stream",
"catalog",
"common-base",
"common-error",
"common-grpc",
@@ -950,7 +949,6 @@ name = "common-recordbatch"
version = "0.1.0"
dependencies = [
"common-error",
"datafusion",
"datafusion-common",
"datatypes",
"futures",
@@ -1002,7 +1000,6 @@ name = "common-time"
version = "0.1.0"
dependencies = [
"chrono",
"common-error",
"serde",
"serde_json",
"snafu",
@@ -1733,7 +1730,6 @@ dependencies = [
"arrow2",
"async-stream",
"async-trait",
"catalog",
"client",
"common-base",
"common-error",
@@ -1747,7 +1743,6 @@ dependencies = [
"datanode",
"datatypes",
"futures",
"query",
"serde",
"servers",
"snafu",
@@ -4549,7 +4544,6 @@ dependencies = [
"axum-test-helper",
"bytes",
"catalog",
"client",
"common-base",
"common-error",
"common-grpc",
@@ -4574,7 +4568,6 @@ dependencies = [
"serde",
"serde_json",
"snafu",
"table",
"test-util",
"tokio",
"tokio-postgres",
@@ -4870,7 +4863,6 @@ dependencies = [
"datatypes",
"derive_builder",
"futures",
"object-store",
"serde",
"serde_json",
"snafu",

View File

@@ -7,7 +7,6 @@ edition = "2021"
[dependencies]
api = { path = "../api" }
async-stream = "0.3"
catalog = { path = "../catalog" }
common-base = { path = "../common/base" }
common-error = { path = "../common/error" }
common-grpc = { path = "../common/grpc" }

View File

@@ -7,12 +7,12 @@ edition = "2021"
proc-macro = true
[dependencies]
common-query = { path = "../query" }
datatypes = { path = "../../datatypes" }
quote = "1.0"
snafu = { version = "0.7", features = ["backtraces"] }
syn = "1.0"
[dev-dependencies]
arc-swap = "1.0"
common-query = { path = "../query" }
datatypes = { path = "../../datatypes" }
snafu = { version = "0.7", features = ["backtraces"] }
static_assertions = "1.1.0"

View File

@@ -5,7 +5,6 @@ edition = "2021"
[dependencies]
common-error = { path = "../error" }
datafusion = { git = "https://github.com/apache/arrow-datafusion.git", branch = "arrow2", features = ["simd"] }
datafusion-common = { git = "https://github.com/apache/arrow-datafusion.git", branch = "arrow2" }
datatypes = { path = "../../datatypes" }
futures = "0.3"

View File

@@ -6,7 +6,6 @@ edition = "2021"
[dependencies]
chrono = "0.4"
common-error = { path = "../error" }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
snafu = { version = "0.7", features = ["backtraces"] }

View File

@@ -7,7 +7,6 @@ edition = "2021"
api = { path = "../api" }
async-stream = "0.3"
async-trait = "0.1"
catalog = { path = "../catalog" }
client = { path = "../client" }
common-base = { path = "../common/base" }
common-error = { path = "../common/error" }
@@ -17,7 +16,6 @@ common-runtime = { path = "../common/runtime" }
common-telemetry = { path = "../common/telemetry" }
common-time = { path = "../common/time" }
datatypes = { path = "../datatypes" }
query = { path = "../query" }
serde = "1.0"
servers = { path = "../servers" }
snafu = { version = "0.7", features = ["backtraces"] }

View File

@@ -9,7 +9,6 @@ async-trait = "0.1"
axum = "0.6.0-rc.2"
axum-macros = "0.3.0-rc.1"
bytes = "1.2"
client = { path = "../client" }
common-base = { path = "../common/base" }
common-error = { path = "../common/error" }
common-grpc = { path = "../common/grpc" }
@@ -27,11 +26,9 @@ metrics = "0.20"
num_cpus = "1.13"
opensrv-mysql = "0.1"
pgwire = { version = "0.4" }
query = { path = "../query" }
serde = "1.0"
serde_json = "1.0"
snafu = { version = "0.7", features = ["backtraces"] }
table = { path = "../table" }
tokio = { version = "1.20", features = ["full"] }
tokio-stream = { version = "0.1", features = ["net"] }
tonic = "0.8"
@@ -45,6 +42,7 @@ common-base = { path = "../common/base" }
mysql_async = { git = "https://github.com/Morranto/mysql_async.git", rev = "127b538" }
rand = "0.8"
script = { path = "../script", features = ["python"] }
query = { path = "../query" }
test-util = { path = "../../test-util" }
tokio-postgres = "0.7"
tokio-test = "0.4"

View File

@@ -20,7 +20,6 @@ datatypes = { path = "../datatypes" }
futures = "0.3"
futures-util = "0.3"
lazy_static = "1.4"
log-store = { path = "../log-store" }
object-store = { path = "../object-store" }
paste = "1.0"
planus = "0.2"
@@ -40,6 +39,7 @@ uuid = { version = "1.1", features = ["v4"] }
atomic_float = "0.1"
criterion = "0.3"
datatypes = { path = "../datatypes", features = ["test"] }
log-store = { path = "../log-store" }
rand = "0.8"
tempdir = "0.3"

View File

@@ -14,7 +14,6 @@ common-time = { path = "../common/time" }
datatypes = { path = "../datatypes" }
derive_builder = "0.11"
futures = "0.3"
object-store = { path = "../object-store" }
serde = { version = "1.0", features = ["derive"] }
snafu = { version = "0.7", features = ["backtraces"] }