Skip to content

Commit

Permalink
Remove unused dependencies (#1207)
Browse files Browse the repository at this point in the history
Cleanup some unused dependencies.
  • Loading branch information
allada authored Jul 27, 2024
1 parent 532d1b1 commit df5f9e2
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 74 deletions.
37 changes: 0 additions & 37 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 @@ -33,7 +33,6 @@ enable_tokio_console = []

[dependencies]
nativelink-error = { path = "nativelink-error" }
nativelink-proto = { path = "nativelink-proto" }
nativelink-config = { path = "nativelink-config" }
nativelink-scheduler = { path = "nativelink-scheduler" }
nativelink-service = { path = "nativelink-service" }
Expand Down
1 change: 0 additions & 1 deletion nativelink-metric-collector/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ rust_test_suite(
"@crates//:opentelemetry_sdk",
"@crates//:prometheus",
"@crates//:serde_json",
"@crates//:tokio",
"@crates//:tracing",
"@crates//:tracing-subscriber",
],
Expand Down
9 changes: 0 additions & 9 deletions nativelink-scheduler/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -38,24 +38,16 @@ rust_library(
"//nativelink-store",
"//nativelink-util",
"@crates//:async-lock",
"@crates//:blake3",
"@crates//:futures",
"@crates//:hashbrown",
"@crates//:lru",
"@crates//:parking_lot",
"@crates//:prost",
"@crates//:rand",
"@crates//:redis",
"@crates//:redis-macros",
"@crates//:scopeguard",
"@crates//:serde",
"@crates//:serde_json",
"@crates//:static_assertions",
"@crates//:tokio",
"@crates//:tokio-stream",
"@crates//:tonic",
"@crates//:tracing",
"@crates//:uuid",
],
)

Expand Down Expand Up @@ -89,7 +81,6 @@ rust_test_suite(
"@crates//:pretty_assertions",
"@crates//:prost",
"@crates//:tokio",
"@crates//:tokio-stream",
"@crates//:uuid",
],
)
Expand Down
6 changes: 0 additions & 6 deletions nativelink-scheduler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,9 @@ nativelink-store = { path = "../nativelink-store" }

async-lock = "3.4.0"
async-trait = "0.1.81"
blake3 = "1.5.2"
prost = "0.13.1"
uuid = { version = "1.10.0", features = ["v4"] }
futures = "0.3.30"
hashbrown = "0.14"
lru = "0.12.3"
mock_instant = "0.3.2"
parking_lot = "0.12.2"
Expand All @@ -30,10 +28,6 @@ tokio = { version = "1.38.0", features = ["sync", "rt", "parking_lot"] }
tokio-stream = { version = "0.1.15", features = ["sync"] }
tonic = { version = "0.12.0", features = ["gzip", "tls"] }
tracing = "0.1.40"
redis = { version = "0.25.2", features = ["aio", "tokio", "json"] }
serde = "1.0.203"
redis-macros = "0.3.0"
serde_json = "1.0.120"
static_assertions = "1.1.0"

[dev-dependencies]
Expand Down
4 changes: 0 additions & 4 deletions nativelink-service/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ rust_library(
deps = [
"//nativelink-config",
"//nativelink-error",
"//nativelink-metric",
"//nativelink-proto",
"//nativelink-scheduler",
"//nativelink-store",
Expand All @@ -36,10 +35,8 @@ rust_library(
"@crates//:hyper-1.4.1",
"@crates//:parking_lot",
"@crates//:prost",
"@crates//:rand",
"@crates//:serde_json5",
"@crates//:tokio",
"@crates//:tokio-stream",
"@crates//:tonic",
"@crates//:tower",
"@crates//:tracing",
Expand Down Expand Up @@ -80,7 +77,6 @@ rust_test_suite(
"@crates//:pretty_assertions",
"@crates//:prost",
"@crates//:prost-types",
"@crates//:serde_json5",
"@crates//:tokio",
"@crates//:tokio-stream",
"@crates//:tonic",
Expand Down
1 change: 0 additions & 1 deletion nativelink-service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ hyper = { version = "1.4.1" }
serde_json5 = "0.1.0"
parking_lot = "0.12.3"
prost = "0.13.1"
rand = "0.8.5"
tokio = { version = "1.38.0", features = ["sync", "rt"] }
tokio-stream = { version = "0.1.15", features = ["sync"] }
tonic = { version = "0.12.0", features = ["gzip", "tls"] }
Expand Down
4 changes: 0 additions & 4 deletions nativelink-store/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ rust_library(
"@crates//:rand",
"@crates//:redis",
"@crates//:serde",
"@crates//:sha2",
"@crates//:shellexpand",
"@crates//:tempfile",
"@crates//:tokio",
"@crates//:tokio-stream",
"@crates//:tokio-util",
Expand Down Expand Up @@ -114,7 +111,6 @@ rust_test_suite(
"@crates//:futures",
"@crates//:hex",
"@crates//:http",
"@crates//:http-body",
"@crates//:hyper-0.14.30",
"@crates//:memory-stats",
"@crates//:mock_instant",
Expand Down
2 changes: 0 additions & 2 deletions nativelink-store/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ redis = { version = "0.25.4", features = [
] }
serde = "1.0.204"
sha2 = "0.10.8"
shellexpand = "3.1.0"
tempfile = "3.10.1"
tokio = { version = "1.38.0" }
tokio-stream = { version = "0.1.15", features = ["fs"] }
tokio-util = { version = "0.7.11" }
Expand Down
4 changes: 0 additions & 4 deletions nativelink-worker/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,12 @@ rust_library(
"//nativelink-error",
"//nativelink-metric",
"//nativelink-proto",
"//nativelink-scheduler",
"//nativelink-store",
"//nativelink-util",
"@crates//:bytes",
"@crates//:filetime",
"@crates//:formatx",
"@crates//:futures",
"@crates//:hex",
"@crates//:parking_lot",
"@crates//:prost",
"@crates//:relative-path",
Expand Down Expand Up @@ -67,13 +65,11 @@ rust_test_suite(
"//nativelink-config",
"//nativelink-error",
"//nativelink-proto",
"//nativelink-scheduler",
"//nativelink-store",
"//nativelink-util",
"@crates//:async-lock",
"@crates//:bytes",
"@crates//:futures",
"@crates//:hex",
"@crates//:hyper-1.4.1",
"@crates//:once_cell",
"@crates//:pin-project-lite",
Expand Down
5 changes: 0 additions & 5 deletions nativelink-worker/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,11 @@ nativelink-util = { path = "../nativelink-util" }
nativelink-store = { path = "../nativelink-store" }
nativelink-metric = { path = "../nativelink-metric" }

# TODO(aaronmondal): This should not be a dependency. Move corresponding
# functionality out of the schedulers.
nativelink-scheduler = { path = "../nativelink-scheduler" }

async-lock = "3.4.0"
bytes = "1.6.1"
filetime = "0.2.23"
formatx = "0.2.2"
futures = "0.3.30"
hex = "0.4.3"
parking_lot = "0.12.3"
prost = "0.13.1"
relative-path = "1.9.3"
Expand Down

0 comments on commit df5f9e2

Please sign in to comment.