Skip to content

Commit bb9fdd2

Browse files
authored
chore: Remove unused dependencies (#11565)
## Summary Removes ~45 unused dependency declarations to reduce compile times. ## Testing - `cargo check --workspace` passes - `cargo test --workspace --no-run` compiles successfully <sub>CLOSES TURBO-5126</sub> <sub>CLOSES TURBO-5124</sub>
1 parent 8409dd8 commit bb9fdd2

7 files changed

Lines changed: 6 additions & 108 deletions

File tree

Cargo.lock

Lines changed: 3 additions & 45 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ strip = true
4141
# Declare dependencies used across workspace packages requires single version bump.
4242
# ref: https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#inheriting-a-dependency-from-a-workspace
4343
[workspace.dependencies]
44-
async-recursion = "1.0.2"
4544
miette = { version = "7.5.0", features = ["fancy"] }
46-
markdown = "1.0.0-alpha.18"
4745

4846
turbo-trace = { path = "crates/turbo-trace" }
4947
turbo-updater = { path = "crates/turborepo-updater" }
@@ -103,7 +101,6 @@ async-trait = "0.1.64"
103101
atty = "0.2.14"
104102
axum = "0.7.5"
105103
axum-server = "0.7.1"
106-
biome_console = { version = "0.5.7" }
107104
biome_deserialize = { version = "0.6.0", features = ["serde"] }
108105
biome_deserialize_macros = { version = "0.6.0" }
109106
biome_diagnostics = { version = "0.5.7" }
@@ -116,66 +113,44 @@ camino = { version = "1.1.4", features = ["serde1"] }
116113
chrono = "0.4.23"
117114
clap = "4.5.16"
118115
clap_complete = "4.5.24"
119-
concurrent-queue = "2.5.0"
120116
console = "0.15.5"
121-
console-subscriber = "0.1.8"
122-
crossbeam-channel = "0.5.8"
123117
dashmap = "5.4.0"
124118
derive_setters = "0.1.6"
125119
dialoguer = "0.11.0"
126120
dunce = "1.0.3"
127121
either = "1.9.0"
128122
futures = "0.3.30"
129-
futures-retry = "0.6.0"
130123
git2 = { version = "0.20.0", default-features = false }
131124
hex = "0.4.3"
132125
httpmock = { version = "0.6.8", default-features = false }
133-
indexmap = "1.9.2"
134126
indicatif = "0.17.3"
135127
indoc = "2.0.0"
136128
insta = { version = "1.34.0", features = ["json"] }
137129
itertools = "0.10.5"
138130
lazy_static = "1.4.0"
139131
merge = "0.1.0"
140-
mime = "0.3.16"
141132
notify = "6.1.1"
142133
num_cpus = "1.15.0"
143134
once_cell = "1.17.1"
144135
owo-colors = "3.5.0"
145136
oxc_resolver = "4.2.0"
146-
parking_lot = "0.12.1"
147137
path-clean = "1.0.1"
148-
pathdiff = "0.2.1"
149138
petgraph = "0.6.5"
150-
pin-project-lite = "0.2.9"
151139
port_scanner = "0.1.5"
152-
predicates = "2.1.5"
153140
pretty_assertions = "1.3.0"
154-
proc-macro2 = "1.0.79"
155-
quote = "1.0.23"
156141
radix_trie = "0.2.1"
157142
rand = "0.8.5"
158143
ratatui = "0.26.1"
159144
regex = "1.7.0"
160-
rustc-hash = "1.1.0"
161145
semver = "1.0.16"
162146
serde = { version = "1.0.228", features = ["derive"] }
163147
serde_json = "1.0.93"
164-
serde_qs = "0.11.0"
165-
serde_with = "2.3.2"
166148
serde_yaml = "0.9.17"
167149
sha2 = "0.10.6"
168-
smallvec = { version = "1.13.1", features = [
169-
"serde",
170-
"const_generics",
171-
"union",
172-
"const_new",
173-
] }
174150
swc_common = "18.0.1"
175151
swc_ecma_ast = "20.0.0"
176152
swc_ecma_parser = "33.0.0"
177153
swc_ecma_visit = "20.0.0"
178-
syn = "1.0.107"
179154
tempfile = "3.3.0"
180155
test-case = "3.0.0"
181156
thiserror = "1.0.48"
@@ -187,10 +162,8 @@ tracing-appender = "0.2.2"
187162
tracing-subscriber = "0.3.16"
188163
tui-term = { version = "=0.1.9", default-features = false }
189164
url = "2.2.2"
190-
urlencoding = "2.1.2"
191165
webbrowser = "0.8.7"
192166
which = "4.4.0"
193-
unicode-segmentation = "1.10.1"
194167

195168
# Schema generation
196169
schemars = "0.8.16"

crates/turborepo-auth/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ lazy_static.workspace = true
1818
reqwest.workspace = true
1919
serde = { workspace = true, features = ["derive"] }
2020
serde_json = { workspace = true }
21-
tempfile = { workspace = true }
2221
thiserror = "1.0.38"
2322
tokio.workspace = true
2423
tracing.workspace = true
@@ -36,3 +35,4 @@ http = "1.1.0"
3635
httpmock = { workspace = true }
3736
insta = { workspace = true }
3837
port_scanner = { workspace = true }
38+
tempfile = { workspace = true }

crates/turborepo-devtools/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,11 @@ serde_json = { workspace = true }
2323
# File watching
2424
ignore = "0.4.22"
2525
notify = { workspace = true }
26-
radix_trie = { workspace = true }
2726

2827
# Utilities
2928
port_scanner = { workspace = true }
3029
thiserror = { workspace = true }
3130
tracing = { workspace = true }
32-
webbrowser = { workspace = true }
3331

3432
# Internal crates
3533
turbopath = { workspace = true }

crates/turborepo-lib/Cargo.toml

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ daemon-file-hashing = []
1919
anyhow = { workspace = true, features = ["backtrace"] }
2020
assert_cmd = { workspace = true }
2121
async-stream = "0.3.4"
22+
biome_deserialize = { workspace = true }
23+
biome_json_parser = { workspace = true }
2224
insta = { workspace = true }
2325
itertools = { workspace = true }
2426
port_scanner = { workspace = true }
@@ -38,40 +40,26 @@ async-graphql = { workspace = true }
3840
async-graphql-axum = { workspace = true }
3941
atty = { workspace = true }
4042
axum = { workspace = true }
41-
biome_deserialize = { workspace = true }
42-
biome_deserialize_macros = { workspace = true }
43-
biome_diagnostics = { workspace = true }
44-
biome_json_parser = { workspace = true }
45-
biome_json_syntax = { workspace = true }
4643
camino = "1.1.4"
47-
capnp = "0.17.2"
4844
chrono = { workspace = true, features = ["serde"] }
4945
clap = { workspace = true, features = ["derive", "env"] }
5046
clap_complete = { workspace = true }
51-
command-group = { version = "2.1.0", features = ["with-tokio"] }
5247
console = { workspace = true }
53-
const_format = "0.2.30"
5448
convert_case = "0.6.0"
55-
crossterm = "0.26"
5649
ctrlc = { version = "3.4.0", features = ["termination"] }
57-
derive_setters = { workspace = true }
5850
dialoguer = { workspace = true, features = ["fuzzy-select", "password"] }
5951
dirs-next = "2.0.0"
60-
dunce = { workspace = true }
6152
either = { workspace = true }
6253
futures = { workspace = true }
63-
futures-core = "0.3.30"
6454
git2 = { workspace = true, default-features = false }
6555
globwalk = { version = "0.1.0", path = "../turborepo-globwalk" }
6656
go-parse-duration = "0.1.1"
67-
hex = "0.4.3"
6857
human-panic = "1.2.1"
6958
human_format = "1.1.0"
7059
humantime = "2.1.0"
7160
ignore = "0.4.22"
7261
indicatif = { workspace = true }
7362
itertools = { workspace = true }
74-
jsonc-parser = { version = "0.21.0" }
7563
lazy_static = { workspace = true }
7664
libc = "0.2.140"
7765
merge = { workspace = true }
@@ -80,7 +68,6 @@ notify = { workspace = true }
8068
num_cpus = { workspace = true }
8169
owo-colors = { workspace = true }
8270
oxc_resolver = { workspace = true }
83-
path-clean = "1.0.1"
8471
petgraph = { workspace = true }
8572
pidlock = { path = "../turborepo-pidlock" }
8673
pprof = { version = "0.12.1", features = [
@@ -99,22 +86,16 @@ serde_json = { workspace = true }
9986
serde_yaml = { workspace = true }
10087
sha2 = { workspace = true }
10188
shared_child = "1.0.0"
102-
struct_iterable = "0.1.1"
103-
svix-ksuid = { version = "0.7.0", features = ["serde"] }
10489
swc_common = { workspace = true }
10590
swc_ecma_ast = { workspace = true, features = ["serde-impl"] }
10691
swc_ecma_parser = { workspace = true }
107-
swc_ecma_visit = { workspace = true }
10892
sysinfo = "0.27.7"
109-
tabwriter = "1.3.0"
11093
thiserror = "1.0.38"
11194
time = "0.3.20"
11295
tiny-gradient = { workspace = true }
11396
tokio = { workspace = true, features = ["full", "time"] }
11497
tokio-stream = { version = "0.1.12", features = ["net"] }
115-
tokio-util = { version = "0.7.7", features = ["compat"] }
11698
tonic = { version = "0.11.0", features = ["transport"] }
117-
tower = "0.4.13"
11899
tower-http = { version = "0.5.2", features = ["cors"] }
119100
tracing-appender = "0.2.2"
120101
tracing-chrome = "0.7.1"
@@ -165,13 +146,10 @@ turborepo-types = { workspace = true }
165146
turborepo-ui = { workspace = true }
166147
turborepo-unescape = { workspace = true }
167148
turborepo-vercel-api = { path = "../turborepo-vercel-api" }
168-
twox-hash = "1.6.3"
169-
uds_windows = "1.0.2"
170149
wax = { workspace = true }
171150
webbrowser = { workspace = true }
172151
which = { workspace = true }
173152

174153

175154
[target.'cfg(target_os = "windows")'.dependencies]
176-
uds_windows = "1.0.2"
177155
async-io = "1.12.0"

crates/turborepo-shim/Cargo.toml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,6 @@ itertools = { workspace = true }
4545
const_format = "0.2.32"
4646
tiny-gradient = { workspace = true }
4747

48-
# Signal handling (for spawn_child)
49-
ctrlc = { version = "3.4.0", features = ["termination"] }
50-
51-
[target.'cfg(unix)'.dependencies]
52-
libc = "0.2"
53-
5448
[target.'cfg(windows)'.dependencies]
5549
crossterm = "0.27"
5650

crates/turborepo-task-executor/Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,3 @@ regex = { workspace = true }
6767

6868
# Case conversion for error codes
6969
convert_case = "0.6.0"
70-
71-
# Iteration utilities
72-
itertools = { workspace = true }

0 commit comments

Comments
 (0)