-
Notifications
You must be signed in to change notification settings - Fork 542
Expand file tree
/
Copy pathCargo.toml
More file actions
311 lines (300 loc) · 11.5 KB
/
Copy pathCargo.toml
File metadata and controls
311 lines (300 loc) · 11.5 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
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
[workspace]
default-members = ["crates/pixi"]
exclude = [
# Only pulled in when enabling certain features. We do not want to include
# these crates when running workspace wide commands.
"crates/pixi_allocator",
# Standalone projects that should not be part of the workspace
"docs",
"examples",
"pixi-build-backends",
"tests/data",
"trampoline",
"pytest-temp",
]
members = ["crates/*"]
resolver = "3"
[workspace.package]
authors = ["pixi contributors <hi@prefix.dev>"]
edition = "2024"
homepage = "https://github.com/prefix-dev/pixi"
license = "BSD-3-Clause"
readme = "README.md"
repository = "https://github.com/prefix-dev/pixi"
rust-version = "1.90"
[workspace.dependencies]
ahash = "0.8.11"
anyhow = "1.0.102"
assert_matches = "1.5.0"
async-fd-lock = "0.2.0"
async-once-cell = "0.5.4"
async-trait = "0.1.86"
axum = "0.8"
barrier_cell = { path = "crates/barrier_cell" }
base64 = "0.22.1"
cargo_toml = "0.22.3"
chrono = "0.4.40"
clap = { version = "4.6.1", default-features = false }
clap-verbosity-flag = "3.0.2"
clap_complete = "4.6.3"
clap_complete_nushell = "4.6.0"
cmp_any = "0.8.1"
comfy-table = "7.2.1"
console = "0.16.1"
console-subscriber = "0.5.0"
crossbeam-channel = "0.5.14"
csv = "1.3.1"
ctrlc = "3.4.5"
dashmap = "6.1.0"
deno_task_shell = "0.33.0"
derive_more = "2.0.1"
dialoguer = "0.12.0"
digest = "0.11"
dirs = "6.0.0"
dunce = "1.0.5"
fancy_display = { path = "crates/fancy_display" }
filetime = "0.2.26"
flate2 = "1.1.0"
fs-err = { version = "3.1.0" }
fs_extra = "1.3.0"
futures = "0.3.31"
glob = "0.3.3"
hex = "0.4.3"
http = "1.3.1"
http-cache-reqwest = "1.0.0-alpha.6"
human_bytes = "0.4.3"
humantime = "2.1.0"
indexmap = "2.10.0"
indicatif = "0.18.0"
insta = "1.42.1"
is_executable = "1.0.4"
itertools = "0.15.0"
jiff = "0.2.8"
jsonrpc-core = "18.0.0"
jsonrpc-http-server = "18.0.0"
jsonrpc-stdio-server = "18.0.0"
jsonrpsee = "=0.26.0"
libc = { version = "0.2.170", default-features = false }
memchr = "2.8"
miette = { version = "7.6.0" }
minijinja = "2.15.1"
nanoid = "0.5.0"
nix = { version = "0.29.0", default-features = false }
once_cell = "1.20.3"
ordermap = "1.0.0"
parking_lot = "0.12.4"
pathdiff = "0.2.3"
pep440_rs = "0.7.3"
pep508_rs = { version = "0.9.2", features = ["non-pep508-extensions"] }
percent-encoding = "2.3.1"
pin-project-lite = "0.2.16"
pixi_allocator = { path = "crates/pixi_allocator" }
pixi_api = { path = "crates/pixi_api" }
pixi_auth = { path = "crates/pixi_auth", default-features = false }
pixi_build_backend = { path = "crates/pixi_build_backend" }
pixi_build_backend_passthrough = { path = "crates/pixi_build_backend_passthrough" }
pixi_build_discovery = { path = "crates/pixi_build_discovery" }
pixi_build_frontend = { path = "crates/pixi_build_frontend" }
pixi_build_type_conversions = { path = "crates/pixi_build_type_conversions" }
pixi_build_types = { path = "crates/pixi_build_types" }
pixi_cli = { path = "crates/pixi_cli" }
pixi_command_dispatcher = { path = "crates/pixi_command_dispatcher" }
pixi_compute_cache_dirs = { path = "crates/pixi_compute_cache_dirs" }
pixi_compute_engine = { path = "crates/pixi_compute_engine" }
pixi_compute_env_vars = { path = "crates/pixi_compute_env_vars" }
pixi_compute_network = { path = "crates/pixi_compute_network" }
pixi_compute_reporters = { path = "crates/pixi_compute_reporters" }
pixi_compute_sources = { path = "crates/pixi_compute_sources" }
pixi_config = { path = "crates/pixi_config" }
pixi_consts = { path = "crates/pixi_consts" }
pixi_core = { path = "crates/pixi_core" }
pixi_default_versions = { path = "crates/pixi_default_versions" }
pixi_diff = { path = "crates/pixi_diff" }
pixi_git = { path = "crates/pixi_git" }
pixi_glob = { path = "crates/pixi_glob" }
pixi_global = { path = "crates/pixi_global" }
pixi_install_pypi = { path = "crates/pixi_install_pypi" }
pixi_manifest = { path = "crates/pixi_manifest" }
pixi_path = { path = "crates/pixi_path" }
pixi_progress = { path = "crates/pixi_progress" }
pixi_pypi_spec = { path = "crates/pixi_pypi_spec" }
pixi_python_status = { path = "crates/pixi_python_status" }
pixi_record = { path = "crates/pixi_record" }
pixi_reporters = { path = "crates/pixi_reporters" }
pixi_spec = { path = "crates/pixi_spec" }
pixi_spec_containers = { path = "crates/pixi_spec_containers" }
pixi_stable_hash = { path = "crates/pixi_stable_hash" }
pixi_task = { path = "crates/pixi_task" }
pixi_test_utils = { path = "crates/pixi_test_utils" }
pixi_toml = { path = "crates/pixi_toml" }
pixi_toml_edit = { path = "crates/pixi_toml_edit" }
pixi_url = { path = "crates/pixi_url" }
pixi_utils = { path = "crates/pixi_utils", default-features = false }
pixi_uv_context = { path = "crates/pixi_uv_context" }
pixi_uv_conversions = { path = "crates/pixi_uv_conversions" }
pixi_variant = { path = "crates/pixi_variant" }
pypi_mapping = { path = "crates/pypi_mapping" }
pypi_modifiers = { path = "crates/pypi_modifiers" }
pyproject-toml = "0.13.7"
bzip2 = "0.6.1"
lzma-rust2 = { version = "0.16", default-features = false, features = [
"xz",
"std",
] }
rayon = "1.10.0"
regex = "1.11.1"
reqwest = { version = "0.13", default-features = false }
reqwest-middleware = { package = "astral-reqwest-middleware", version = "0.5", features = [
"multipart",
] }
reqwest-retry = { package = "astral-reqwest-retry", version = "0.9" }
retry-policies = "0.5"
rlimit = "0.11.0"
roxmltree = "0.21.0"
rstest = "0.26.0"
rustc-hash = "2.1.2"
rustls-native-certs = "0.8"
rustls-pki-types = "1"
same-file = "1.0.6"
schemars = "1.1.0"
self-replace = "1.5.0"
serde = "1.0.218"
serde-untagged = "0.1.6"
serde-value = "0.7.0"
serde_derive = "*"
serde_ignored = "0.1.10"
serde_json = "1.0.139"
serde_with = "3.18.0"
serde_yaml = "0.9.34"
sevenz-rust2 = "0.21.0"
shlex = "2.0.0"
signal-hook = "0.3.17"
slotmap = "1.0.7"
spdx = "0.10.8"
strsim = "0.11.1"
strum = "0.28.0"
tabwriter = "1.4.1"
tar = "0.4.44"
temp-env = { version = "0.3.6", features = ["async_closure"] }
tempfile = "3.17.1"
text_trees = "0.1.2"
thiserror = "2.0.12"
tokio = "1.43.0"
tokio-test = "0.4.5"
tokio-util = "0.7.13"
toml = "1.0.0"
toml-span = "0.7.0"
toml_edit = "0.25.0"
tracing = "0.1.41"
# Forcing the version due to this PR https://github.com/tokio-rs/tracing/pull/3368
tracing-subscriber = "=0.3.19"
tracing-test = "0.2"
typed-path = "0.12.0"
url = "2.5"
uv-build-frontend = { git = "https://github.com/astral-sh/uv", tag = "0.11.15" }
uv-cache = { git = "https://github.com/astral-sh/uv", tag = "0.11.15" }
uv-cache-info = { git = "https://github.com/astral-sh/uv", tag = "0.11.15" }
uv-cache-key = { git = "https://github.com/astral-sh/uv", tag = "0.11.15" }
uv-client = { git = "https://github.com/astral-sh/uv", tag = "0.11.15" }
uv-configuration = { git = "https://github.com/astral-sh/uv", tag = "0.11.15" }
uv-dispatch = { git = "https://github.com/astral-sh/uv", tag = "0.11.15" }
uv-distribution = { git = "https://github.com/astral-sh/uv", tag = "0.11.15" }
uv-distribution-filename = { git = "https://github.com/astral-sh/uv", tag = "0.11.15" }
uv-distribution-types = { git = "https://github.com/astral-sh/uv", tag = "0.11.15" }
uv-flags = { git = "https://github.com/astral-sh/uv", tag = "0.11.15" }
uv-git = { git = "https://github.com/astral-sh/uv", tag = "0.11.15" }
uv-git-types = { git = "https://github.com/astral-sh/uv", tag = "0.11.15" }
uv-install-wheel = { git = "https://github.com/astral-sh/uv", tag = "0.11.15" }
uv-installer = { git = "https://github.com/astral-sh/uv", tag = "0.11.15" }
uv-normalize = { git = "https://github.com/astral-sh/uv", tag = "0.11.15" }
uv-pep440 = { git = "https://github.com/astral-sh/uv", tag = "0.11.15" }
uv-pep508 = { git = "https://github.com/astral-sh/uv", tag = "0.11.15" }
uv-platform-tags = { git = "https://github.com/astral-sh/uv", tag = "0.11.15" }
uv-preview = { git = "https://github.com/astral-sh/uv", tag = "0.11.15" }
uv-pypi-types = { git = "https://github.com/astral-sh/uv", tag = "0.11.15" }
uv-python = { git = "https://github.com/astral-sh/uv", tag = "0.11.15" }
uv-redacted = { git = "https://github.com/astral-sh/uv", tag = "0.11.15" }
uv-requirements = { git = "https://github.com/astral-sh/uv", tag = "0.11.15" }
uv-requirements-txt = { git = "https://github.com/astral-sh/uv", tag = "0.11.15" }
uv-resolver = { git = "https://github.com/astral-sh/uv", tag = "0.11.15" }
uv-types = { git = "https://github.com/astral-sh/uv", tag = "0.11.15" }
uv-workspace = { git = "https://github.com/astral-sh/uv", tag = "0.11.15" }
webpki-root-certs = "1"
which = "8.0.0"
xxhash-rust = "0.8.15"
zip = { version = "8.0.0", default-features = false }
zstd = { version = "0.13.3", default-features = false }
# Rattler crates
file_url = "0.3.0"
rattler = { version = "0.47", default-features = false }
rattler_cache = { version = "0.10", default-features = false }
rattler_conda_types = { version = "0.48", default-features = false, features = [
"rayon",
] }
rattler_config = { version = "0.6", default-features = false }
rattler_digest = { version = "1.3", default-features = false }
rattler_index = { version = "0.30", default-features = false, features = [
"s3",
] }
rattler_lock = { version = "0.31", default-features = false }
rattler_menuinst = { version = "0.2", default-features = false }
rattler_networking = { version = "0.30", default-features = false, features = [
"dirs",
"google-cloud-auth",
] }
rattler_package_streaming = { version = "0.26", default-features = false }
rattler_repodata_gateway = { version = "0.30", default-features = false }
rattler_s3 = { version = "0.2", default-features = false }
rattler_shell = { version = "0.27", default-features = false }
rattler_solve = { version = "7.2", default-features = false }
rattler_upload = { version = "0.8", default-features = false, features = [
"s3",
"sigstore-sign",
] }
rattler_virtual_packages = { version = "3.0", default-features = false }
simple_spawn_blocking = { version = "1.1.0", default-features = false }
# Rattler build crates
rattler_build_core = { version = "0.2.7", default-features = false, features = [
"s3",
] }
rattler_build_jinja = { version = "0.1.9" }
rattler_build_recipe = { version = "0.1.9" }
rattler_build_types = { version = "0.1.8" }
rattler_build_variant_config = { version = "0.1.9" }
[patch.crates-io]
version-ranges = { git = "https://github.com/astral-sh/pubgrub", rev = "d8efd77673c9a90792da9da31b6c0da7ea8a324b" }
# Redirect crates.io's `reqwest-middleware` to a local shim that re-exports
# `astral-reqwest-middleware`. This unifies the `Middleware` trait identity
# between consumers that depend on the original crate name (e.g.
# `http-cache-reqwest`) and consumers that depend on the renamed
# `astral-reqwest-middleware` (rattler, rattler-build, uv).
reqwest-middleware = { path = "patches/reqwest_middleware_shim" }
# Strip debug info from dependencies: faster links, much smaller `target/`,
# while keeping full debuggability for our own crates.
# See https://matklad.github.io/2021/09/04/fast-rust-builds.html
[profile.dev.package."*"]
debug = false
[profile.ci]
codegen-units = 16
inherits = "release"
lto = false
opt-level = 3
strip = false
# Used by the cargo test jobs in CI. Trades a little optimization for much
# faster builds by skipping debuginfo (the biggest cost in a debug build) while
# still producing test binaries that run quickly thanks to opt-level = 1.
[profile.fast-build]
debug = 0
inherits = "dev"
opt-level = 1
strip = "debuginfo"
[profile.profiling]
debug = 2 # full debug info
inherits = "release"
lto = false # avoid over-inlining across crates
opt-level = 1 # less inlining, easier stepping/backtraces
panic = "unwind" # needed for backtraces
split-debuginfo = "unpacked"
strip = "none" # or "debuginfo" to separate
# macOS only:
codegen-units = 1 # better line info (slower build, clearer profiles)