-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Expand file tree
/
Copy pathCargo.toml
More file actions
220 lines (202 loc) · 7.87 KB
/
Copy pathCargo.toml
File metadata and controls
220 lines (202 loc) · 7.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
[workspace]
resolver = "3"
members = [
"crates/libghostty-vt-sys",
"crates/turbo-trace",
"crates/turborepo*",
"packages/turbo-repository/rust",
]
[workspace.package]
edition = "2024"
[workspace.metadata]
# The Cargo workspace's name as a Turborepo package: task keys
# (`turborepo-crates#test`) and filters (`--filter=turborepo-crates`).
name = "turborepo-crates"
[workspace.metadata.groups]
# Only the libraries, does not include the turborepo binary.
# That way we don't have to build the Go code
turborepo-libraries = ["path:crates/turborepo-*"]
turborepo = ["path:crates/turborepo*"]
[workspace.lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_assert)'] }
[workspace.lints.clippy]
expect_used = "deny"
too_many_arguments = "allow"
unwrap_used = "deny"
[profile.dev]
debug = 0
opt-level = 0
[profile.release]
# Thin lto delivers some small runtime optimizations but massive binary size wins.
# Coupling it with codegen-units=1 means we can distribute much of the work to the crate
# level builds and have fewer objects to merge at the root.
lto = "thin"
codegen-units = 1
[profile.release-turborepo-lsp]
inherits = "release"
strip = true
opt-level = "z"
[profile.release-turborepo]
inherits = "release"
strip = true
# Declare dependencies used across workspace packages requires single version bump.
# ref: https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#inheriting-a-dependency-from-a-workspace
[workspace.dependencies]
miette = { version = "7.5.0", features = ["fancy"] }
turbo-trace = { path = "crates/turbo-trace" }
turbo-updater = { path = "crates/turborepo-updater" }
turbopath = { path = "crates/turborepo-paths" }
turborepo = { path = "crates/turborepo" }
turborepo-analytics = { path = "crates/turborepo-analytics" }
turborepo-api-client = { path = "crates/turborepo-api-client" }
turborepo-boundaries = { path = "crates/turborepo-boundaries" }
turborepo-auth = { path = "crates/turborepo-auth" }
turborepo-cache = { path = "crates/turborepo-cache" }
turborepo-ai-agents = { path = "crates/turborepo-ai-agents" }
turborepo-ci = { path = "crates/turborepo-ci" }
turborepo-daemon = { path = "crates/turborepo-daemon" }
turborepo-engine = { path = "crates/turborepo-engine" }
turborepo-env = { path = "crates/turborepo-env" }
turborepo-errors = { path = "crates/turborepo-errors" }
turborepo-fixed-map = { path = "crates/turborepo-fixed-map" }
turborepo-frameworks = { path = "crates/turborepo-frameworks" }
turborepo-fs = { path = "crates/turborepo-fs" }
turborepo-gitignore = { path = "crates/turborepo-gitignore" }
turborepo-hash = { path = "crates/turborepo-hash" }
turborepo-lockfile-hash = { path = "crates/turborepo-lockfile-hash" }
turborepo-json-rewrite = { path = "crates/turborepo-json-rewrite" }
turborepo-lib = { path = "crates/turborepo-lib", default-features = false }
turborepo-lsp = { path = "crates/turborepo-lsp", default-features = false }
turborepo-lockfiles = { path = "crates/turborepo-lockfiles" }
turborepo-log = { path = "crates/turborepo-log" }
turborepo-microfrontends = { path = "crates/turborepo-microfrontends" }
turborepo-microfrontends-proxy = { path = "crates/turborepo-microfrontends-proxy" }
turborepo-process = { path = "crates/turborepo-process" }
turborepo-query = { path = "crates/turborepo-query" }
turborepo-query-api = { path = "crates/turborepo-query-api" }
turborepo-profile-md = { path = "crates/turborepo-profile-md" }
turborepo-repository = { path = "crates/turborepo-repository" }
turborepo-sccache-proxy = { path = "crates/turborepo-sccache-proxy" }
# Vercel fork of mozilla/sccache (v0.16.0 + the `main_from_args` embedding
# entrypoint from the `vercel/main-from-args` branch). Public, so anonymous
# builds fetch it; the rev is pinned for reproducibility.
sccache = { git = "https://github.com/vercel/sccache", rev = "52bfcd03ee7fa94059d0af593d466a464254307e", default-features = false, features = [
"webdav",
] }
turborepo-task-id = { path = "crates/turborepo-task-id" }
turborepo-types = { path = "crates/turborepo-types" }
turborepo-ui = { path = "crates/turborepo-ui" }
turborepo-unescape = { path = "crates/turborepo-unescape" }
turborepo-run-summary = { path = "crates/turborepo-run-summary" }
turborepo-scm = { path = "crates/turborepo-scm" }
turborepo-scope = { path = "crates/turborepo-scope" }
turborepo-signals = { path = "crates/turborepo-signals" }
turborepo-task-executor = { path = "crates/turborepo-task-executor" }
turborepo-task-hash = { path = "crates/turborepo-task-hash" }
turborepo-turbo-json = { path = "crates/turborepo-turbo-json" }
turborepo-otel = { path = "crates/turborepo-otel" }
turborepo-rayon-compat = { path = "crates/turborepo-rayon-compat" }
wax = { path = "crates/turborepo-wax" }
turborepo-shim = { path = "crates/turborepo-shim" }
turborepo-vercel-api = { path = "crates/turborepo-vercel-api" }
turborepo-vercel-api-mock = { path = "crates/turborepo-vercel-api-mock" }
turborepo-ghostty = { path = "crates/turborepo-ghostty" }
libghostty-vt = "0.2.1"
reqwest = { version = "0.12.28", default-features = false }
rustls-native-certs = "0.8.3"
hyper-rustls = { version = "0.27.7", default-features = false }
anyhow = "1.0.69"
assert_cmd = "2.0.8"
async-compression = { version = "0.3.13", default-features = false, features = [
"gzip",
"tokio",
] }
async-graphql = { version = "7.0.17", default-features = false, features = [
"graphiql",
] }
async-graphql-axum = "7.0.16"
async-trait = "0.1.64"
axum = "0.8.4"
axum-server = "0.8.0"
biome_deserialize = { version = "0.6.0", features = ["serde"] }
biome_deserialize_macros = { version = "0.6.0" }
biome_diagnostics = { version = "0.5.7" }
biome_formatter = { version = "0.5.7" }
biome_json_parser = { version = "0.5.7" }
biome_json_formatter = { version = "0.5.7" }
biome_json_syntax = { version = "0.5.7" }
bytes = "1.11.1"
camino = { version = "1.1.4", features = ["serde1"] }
chrono = { version = "0.4.23", default-features = false, features = [
"clock",
"std",
] }
clap = "4.5.16"
clap_complete = "4.5.24"
console = "0.16.0"
crossbeam-channel = "0.5.15"
dashmap = "6.1.0"
derive_setters = "0.1.6"
dialoguer = "0.12.0"
dunce = "1.0.3"
dhat = "0.3.3"
mimalloc = "0.1.48"
either = "1.9.0"
futures = "0.3.31"
gix-attributes = { version = "0.31.0", default-features = false }
gix-index = { version = "0.47.0", default-features = false }
gix-object = { version = "0.56.0", default-features = false }
hex = "0.4.3"
httpmock = { version = "0.8.0", default-features = false }
indicatif = "0.18.3"
indoc = "2.0.0"
insta = { version = "1.34.0", features = ["json"] }
itertools = "0.14.0"
merge = "0.2.0"
nix = { version = "0.26.2", default-features = false, features = ["term"] }
notify = "6.1.1"
oxc_allocator = "0.115.0"
oxc_ast = { version = "0.115.0", features = ["serialize"] }
oxc_diagnostics = "0.115.0"
oxc_estree = { version = "0.115.0", features = ["serialize"] }
oxc_parser = "0.115.0"
oxc_span = "0.115.0"
oxc_syntax = "0.115.0"
layout-rs = "0.1.3"
owo-colors = "3.5.0"
unrs_resolver = "1.11.1"
path-clean = "1.0.1"
petgraph = { version = "0.8.3", default-features = false, features = ["std"] }
port_scanner = "0.1.5"
pretty_assertions = "1.3.0"
radix_trie = "0.2.1"
rand = "0.9.3"
ratatui = "0.30.0"
regex = "1.13.0"
secrecy = "0.10.3"
semver = "1.0.16"
serde = { version = "1.0.228", features = ["derive"] }
serde_json = { version = "1.0.93", features = ["preserve_order"] }
serde_yaml_ng = "0.10.0"
sha2 = "0.10.6"
temp-env = "0.3.6"
tempfile = "3.3.0"
test-case = "3.3.1"
thiserror = "2.0.18"
tiny-gradient = "0.1.0"
tokio = "1.47.1"
tokio-util = { version = "0.7.7", features = ["io"] }
toml = "0.9.5"
toml_edit = "0.22.15"
tracing = "0.1.37"
tracing-appender = "0.2.2"
tracing-subscriber = "0.3.20"
url = "2.2.2"
webbrowser = "0.8.7"
which = "4.4.0"
# Schema generation
schemars = "0.8.16"
ts-rs = { version = "11.1.0", features = ["serde-compat"] }
[patch.crates-io]
# Upstream 0.2.1 links ghostty-vt.lib (MSVC DLL import lib) instead of ghostty-vt-static.lib.
libghostty-vt-sys = { path = "crates/libghostty-vt-sys" }