Skip to content

Commit

Permalink
chore: remove unused dep (#5163)
Browse files Browse the repository at this point in the history
* chore: remove unused dep

* chore: remove more unused dep
  • Loading branch information
shuiyisong authored and evenyag committed Dec 20, 2024
1 parent dc2252e commit 4e725d2
Show file tree
Hide file tree
Showing 21 changed files with 2 additions and 218 deletions.
179 changes: 2 additions & 177 deletions Cargo.lock

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion src/cache/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@ common-macro.workspace = true
common-meta.workspace = true
moka.workspace = true
snafu.workspace = true
substrait.workspace = true
3 changes: 0 additions & 3 deletions src/catalog/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ async-stream.workspace = true
async-trait = "0.1"
bytes.workspace = true
common-catalog.workspace = true
common-config.workspace = true
common-error.workspace = true
common-macro.workspace = true
common-meta.workspace = true
Expand Down Expand Up @@ -58,7 +57,5 @@ catalog = { workspace = true, features = ["testing"] }
chrono.workspace = true
common-meta = { workspace = true, features = ["testing"] }
common-query = { workspace = true, features = ["testing"] }
common-test-util.workspace = true
log-store.workspace = true
object-store.workspace = true
tokio.workspace = true
2 changes: 0 additions & 2 deletions src/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ common-error.workspace = true
common-grpc.workspace = true
common-macro.workspace = true
common-meta.workspace = true
common-options.workspace = true
common-procedure.workspace = true
common-query.workspace = true
common-recordbatch.workspace = true
Expand Down Expand Up @@ -61,5 +60,4 @@ client = { workspace = true, features = ["testing"] }
common-test-util.workspace = true
common-version.workspace = true
serde.workspace = true
temp-env = "0.3"
tempfile.workspace = true
2 changes: 0 additions & 2 deletions src/client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ tonic.workspace = true

[dev-dependencies]
common-grpc-expr.workspace = true
datanode.workspace = true
derive-new = "0.5"
tracing = "0.1"

[dev-dependencies.substrait_proto]
Expand Down
5 changes: 0 additions & 5 deletions src/common/catalog/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,5 @@ license.workspace = true
workspace = true

[dependencies]
common-error.workspace = true
common-macro.workspace = true
snafu.workspace = true

[dev-dependencies]
chrono.workspace = true
tokio.workspace = true
1 change: 0 additions & 1 deletion src/common/datasource/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,4 @@ url = "2.3"
[dev-dependencies]
common-telemetry.workspace = true
common-test-util.workspace = true
dotenv.workspace = true
uuid.workspace = true
5 changes: 0 additions & 5 deletions src/common/frontend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@ edition.workspace = true
license.workspace = true

[dependencies]
api.workspace = true
async-trait.workspace = true
common-base.workspace = true
common-error.workspace = true
common-macro.workspace = true
common-query.workspace = true
session.workspace = true
snafu.workspace = true
sql.workspace = true
1 change: 0 additions & 1 deletion src/common/function/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,5 @@ wkt = { version = "0.11", optional = true }

[dev-dependencies]
approx = "0.5"
ron = "0.7"
serde = { version = "1.0", features = ["derive"] }
tokio.workspace = true
2 changes: 0 additions & 2 deletions src/common/runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ serde_json.workspace = true
snafu.workspace = true
tempfile.workspace = true
tokio.workspace = true
tokio-metrics = "0.3"
tokio-metrics-collector = { git = "https://github.com/MichaelScofield/tokio-metrics-collector.git", rev = "89d692d5753d28564a7aac73c6ac5aba22243ba0" }
tokio-util.workspace = true

[dev-dependencies]
Expand Down
1 change: 0 additions & 1 deletion src/file-engine/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,4 @@ tokio.workspace = true

[dev-dependencies]
api.workspace = true
common-procedure-test.workspace = true
common-test-util.workspace = true
1 change: 0 additions & 1 deletion src/flow/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ hydroflow = { git = "https://github.com/GreptimeTeam/hydroflow.git", branch = "m
itertools.workspace = true
lazy_static.workspace = true
meta-client.workspace = true
minstant = "0.1.7"
nom = "7.1.3"
num-traits = "0.2"
operator.workspace = true
Expand Down
2 changes: 0 additions & 2 deletions src/frontend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ common-catalog.workspace = true
common-config.workspace = true
common-datasource.workspace = true
common-error.workspace = true
common-frontend.workspace = true
common-function.workspace = true
common-grpc.workspace = true
common-macro.workspace = true
Expand Down Expand Up @@ -71,7 +70,6 @@ common-test-util.workspace = true
datanode.workspace = true
datatypes.workspace = true
futures = "0.3"
meta-srv = { workspace = true, features = ["mock"] }
serde_json.workspace = true
strfmt = "0.2"
tower.workspace = true
Expand Down
1 change: 0 additions & 1 deletion src/metric-engine/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ workspace = true

[dependencies]
api.workspace = true
aquamarine.workspace = true
async-trait.workspace = true
base64.workspace = true
common-base.workspace = true
Expand Down
2 changes: 0 additions & 2 deletions src/mito2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ workspace = true

[dependencies]
api.workspace = true
aquamarine.workspace = true
async-channel = "1.9"
async-stream.workspace = true
async-trait = "0.1"
Expand Down Expand Up @@ -77,7 +76,6 @@ uuid.workspace = true
[dev-dependencies]
common-function.workspace = true
common-meta = { workspace = true, features = ["testing"] }
common-procedure-test.workspace = true
common-test-util.workspace = true
criterion = "0.4"
dotenv.workspace = true
Expand Down
1 change: 0 additions & 1 deletion src/pipeline/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ yaml-rust = "0.4"
catalog = { workspace = true, features = ["testing"] }
criterion = { version = "0.4", features = ["html_reports"] }
rayon = "1.0"
ron = "0.7"
serde = { version = "1.0", features = ["derive"] }
session = { workspace = true, features = ["testing"] }

Expand Down
3 changes: 0 additions & 3 deletions src/promql/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,8 @@ futures = "0.3"
greptime-proto.workspace = true
lazy_static.workspace = true
prometheus.workspace = true
promql-parser.workspace = true
prost.workspace = true
snafu.workspace = true

[dev-dependencies]
query.workspace = true
session = { workspace = true, features = ["testing"] }
tokio.workspace = true
4 changes: 0 additions & 4 deletions src/query/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,11 @@ tokio.workspace = true
uuid.workspace = true

[dev-dependencies]
approx_eq = "0.1"
arrow.workspace = true
catalog = { workspace = true, features = ["testing"] }
common-macro.workspace = true
common-query = { workspace = true, features = ["testing"] }
fastrand = "2.0"
format_num = "0.1"
num = "0.4"
num-traits = "0.2"
paste = "1.0"
Expand All @@ -83,8 +81,6 @@ serde.workspace = true
serde_json.workspace = true
session = { workspace = true, features = ["testing"] }
statrs = "0.16"
stats-cli = "3.0"
store-api.workspace = true
streaming-stats = "0.2"
table = { workspace = true, features = ["testing"] }
tokio-stream.workspace = true
2 changes: 0 additions & 2 deletions src/script/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,11 @@ tokio.workspace = true
catalog = { workspace = true, features = ["testing"] }
common-test-util.workspace = true
criterion = { version = "0.4", features = ["html_reports", "async_tokio"] }
log-store.workspace = true
operator.workspace = true
rayon = "1.0"
ron = "0.7"
serde = { version = "1.0", features = ["derive"] }
session = { workspace = true, features = ["testing"] }
tokio-test = "0.4"

[[bench]]
name = "py_benchmark"
Expand Down
1 change: 0 additions & 1 deletion src/servers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ table.workspace = true
tempfile = "3.0.0"
tokio-postgres = "0.7"
tokio-postgres-rustls = "0.12"
tokio-test = "0.4"

[target.'cfg(unix)'.dev-dependencies]
pprof = { version = "0.13", features = ["criterion", "flamegraph"] }
Expand Down
1 change: 0 additions & 1 deletion src/store-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ workspace = true

[dependencies]
api.workspace = true
aquamarine.workspace = true
async-trait.workspace = true
common-base.workspace = true
common-error.workspace = true
Expand Down

0 comments on commit 4e725d2

Please sign in to comment.