Skip to content

Commit

Permalink
Round of cleanup of unused dependencies (#29193)
Browse files Browse the repository at this point in the history
Use cargo machete to find unused dependency arrows and remove them.

GitOrigin-RevId: bcf57119bfe0c518f42698e6db6f16931df109d6
  • Loading branch information
nipunn1313 authored and Convex, Inc. committed Aug 26, 2024
1 parent 1f828d5 commit 8e1ac98
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 96 deletions.
81 changes: 1 addition & 80 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ jsonschema = "0.18"
levenshtein_automata = "0.2.1"
lru = "0.12.0"
maplit = "1"
miette = "7.0"
mime = "0.3"
mime2ext = "0.1.52"
minitrace = { version = "0.6", features = [ "enable" ] }
Expand Down
1 change: 0 additions & 1 deletion crates/config_loader/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ license = "LicenseRef-FSL-1.1-Apache-2.0"
anyhow = { workspace = true }
common = { path = "../../crates/common" }
futures = { workspace = true }
miette = { workspace = true, features = ["fancy"] }
prost-reflect = { workspace = true }
tokio = { workspace = true }
tokio-stream = { workspace = true }
Expand Down
2 changes: 0 additions & 2 deletions crates/local_backend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,8 @@ file_storage = { path = "../file_storage" }
function_runner = { path = "../function_runner" }
futures = { workspace = true }
futures-async-stream = { workspace = true }
hex = { workspace = true }
http = { workspace = true }
http-body-util = { workspace = true }
hyper = { workspace = true }
hyper-util = { workspace = true }
isolate = { path = "../../crates/isolate" }
keybroker = { path = "../keybroker" }
Expand Down
7 changes: 0 additions & 7 deletions crates/model/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ sync_types = { package = "convex_sync_types", path = "../convex/sync_types" }
thiserror = { workspace = true }
tokio = { workspace = true }
tracing = { workspace = true }
uuid = { workspace = true }
value = { path = "../value" }

[dev-dependencies]
Expand Down Expand Up @@ -79,9 +78,3 @@ testing = [
"storage/testing",
"value/testing",
]

[package.metadata.cargo-machete]
ignored = [
# Used in a serde(with) clause
"serde_bytes",
]
2 changes: 1 addition & 1 deletion crates/pb/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pb_build = { path = "../pb_build" }
[package.metadata.cargo-machete]
ignored = [
# Prost/Tonic required via tonic macro
"prost_types",
"prost-types",
# Build dependencies not understood
"pb_build",
]
1 change: 0 additions & 1 deletion crates/storage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ futures = { workspace = true }
futures-async-stream = { workspace = true }
http = { workspace = true }
http-body-util = { workspace = true }
hyper = { workspace = true }
pb = { path = "../pb" }
pin-project = { workspace = true }
runtime = { path = "../runtime", optional = true }
Expand Down
3 changes: 0 additions & 3 deletions crates/text_search/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ maplit = { workspace = true }
metrics = { path = "../metrics" }
minitrace = { workspace = true }
proptest = { workspace = true, optional = true }
proptest-derive = { workspace = true, optional = true }
sucds = { workspace = true }
tantivy = { workspace = true }
tantivy-common = { workspace = true }
Expand All @@ -26,14 +25,12 @@ value = { path = "../value" }
common = { path = "../common", features = ["testing"] }
metrics = { path = "../metrics", features = ["testing"] }
proptest = { workspace = true }
proptest-derive = { workspace = true }
value = { path = "../value", features = ["testing"] }

[features]
testing = [
"common/testing",
"metrics/testing",
"proptest",
"proptest-derive",
"value/testing"
]

0 comments on commit 8e1ac98

Please sign in to comment.