forked from prefix-dev/pixi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
390 lines (369 loc) · 12.9 KB
/
Cargo.toml
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
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
[workspace]
members = ["crates/*"]
[workspace.package]
authors = ["pixi contributors <[email protected]>"]
edition = "2021"
homepage = "https://github.com/prefix-dev/pixi"
license = "BSD-3-Clause"
readme = "README.md"
repository = "https://github.com/prefix-dev/pixi"
[workspace.dependencies]
ahash = "0.8.11"
assert_matches = "1.5.0"
async-fd-lock = "0.2.0"
async-once-cell = "0.5.4"
async-trait = "0.1.83"
base64 = "0.22.1"
bytes = "1.9.0"
chrono = "0.4.39"
clap = { version = "4.5.23", default-features = false }
clap-verbosity-flag = "3.0.2"
clap_complete = "4.5.40"
clap_complete_nushell = "4.5.4"
concat-idents = "1.1.5"
console = "0.15.10"
crossbeam-channel = "0.5.14"
csv = "1.3.1"
dashmap = "6.1.0"
deno_task_shell = "0.20.2"
dialoguer = "0.11.0"
dirs = "5.0.1"
dunce = "1.0.5"
fd-lock = "4.0.2"
flate2 = "1.0.35"
fs-err = { version = "3.0.0" }
fs_extra = "1.3.0"
futures = "0.3.31"
http = "1.2.0"
http-cache-reqwest = "0.15.0"
human_bytes = "0.4.3"
humantime = "2.1.0"
ignore = "0.4.23"
indexmap = "2.7.0"
indicatif = "0.17.9"
insta = "1.41.1"
is_executable = "1.0.4"
itertools = "0.13.0"
jsonrpsee = "=0.24.2"
lazy_static = "1.5.0"
libc = { version = "0.2.169", default-features = false }
memchr = "2.7.4"
miette = { version = "7.4.0", features = ["fancy"] }
minijinja = "2.5.0"
nix = { version = "0.29.0", default-features = false }
once_cell = "1.20.2"
parking_lot = "0.12.3"
pep440_rs = "0.7.3"
pep508_rs = "0.9.1"
percent-encoding = "2.3.1"
pyproject-toml = "0.13.4"
regex = "1.11.1"
reqwest = { version = "0.12.9", default-features = false }
reqwest-middleware = "0.4"
reqwest-retry = "0.7.0"
rlimit = "0.10.2"
rstest = "0.23.0"
self-replace = "1.5.0"
serde = "1.0.216"
serde-untagged = "0.1.6"
serde-value = "0.7.0"
serde_ignored = "0.1.10"
serde_json = "1.0.134"
serde_with = "3.11.0"
serde_yaml = "0.9.34"
sha1 = "0.10.6"
sha2 = "0.10.6"
shlex = "1.3.0"
signal-hook = "0.3.17"
spdx = "0.10.7"
strsim = "0.11.1"
tabwriter = "1.4.0"
tar = "0.4.43"
tempfile = "3.14.0"
thiserror = "2.0.9"
tokio = "1.42.0"
tokio-stream = "0.1.17"
tokio-util = "0.7.13"
toml_edit = "0.22.22"
tracing = "0.1.41"
tracing-subscriber = "0.3.19"
typed-path = "0.10.0"
uv-distribution-filename = { git = "https://github.com/wolfv/uv", branch = "ignore-rayon-init" }
uv-distribution-types = { git = "https://github.com/wolfv/uv", branch = "ignore-rayon-init" }
uv-install-wheel = { git = "https://github.com/wolfv/uv", branch = "ignore-rayon-init" }
uv-pep440 = { git = "https://github.com/wolfv/uv", branch = "ignore-rayon-init" }
uv-pep508 = { git = "https://github.com/wolfv/uv", branch = "ignore-rayon-init" }
uv-platform-tags = { git = "https://github.com/wolfv/uv", branch = "ignore-rayon-init" }
uv-pypi-types = { git = "https://github.com/wolfv/uv", branch = "ignore-rayon-init" }
uv-requirements-txt = { git = "https://github.com/wolfv/uv", branch = "ignore-rayon-init" }
wax = "0.6.0"
which = "7.0.1"
# Rattler crates
file_url = "0.2.1"
rattler = { version = "0.28.9", default-features = false }
rattler_cache = { version = "0.3.1", default-features = false }
rattler_conda_types = { version = "0.29.7", default-features = false, features = [
"rayon",
] }
rattler_digest = { version = "1.0.4", default-features = false }
rattler_lock = { version = "0.22.36", default-features = false }
rattler_networking = { version = "0.21.9", default-features = false, features = [
"google-cloud-auth",
] }
rattler_repodata_gateway = { version = "0.21.29", default-features = false }
rattler_shell = { version = "0.22.12", default-features = false }
rattler_solve = { version = "1.3.1", default-features = false }
rattler_virtual_packages = { version = "1.1.15", default-features = false }
# Bumping this to a higher version breaks the Windows path handling.
url = "2.5.4"
uv-auth = { git = "https://github.com/wolfv/uv", branch = "ignore-rayon-init" }
uv-cache = { git = "https://github.com/wolfv/uv", branch = "ignore-rayon-init" }
uv-client = { git = "https://github.com/wolfv/uv", branch = "ignore-rayon-init" }
uv-configuration = { git = "https://github.com/wolfv/uv", branch = "ignore-rayon-init" }
uv-dispatch = { git = "https://github.com/wolfv/uv", branch = "ignore-rayon-init" }
uv-distribution = { git = "https://github.com/wolfv/uv", branch = "ignore-rayon-init" }
uv-git = { git = "https://github.com/wolfv/uv", branch = "ignore-rayon-init" }
uv-installer = { git = "https://github.com/wolfv/uv", branch = "ignore-rayon-init" }
uv-normalize = { git = "https://github.com/wolfv/uv", branch = "ignore-rayon-init" }
uv-python = { git = "https://github.com/wolfv/uv", branch = "ignore-rayon-init" }
uv-requirements = { git = "https://github.com/wolfv/uv", branch = "ignore-rayon-init" }
uv-resolver = { git = "https://github.com/wolfv/uv", branch = "ignore-rayon-init" }
uv-types = { git = "https://github.com/wolfv/uv", branch = "ignore-rayon-init" }
winapi = { version = "0.3.9", default-features = false }
xxhash-rust = "0.8.13"
zip = { version = "2.2.2", default-features = false }
zstd = { version = "0.13.2", default-features = false }
fancy_display = { path = "crates/fancy_display" }
pixi_build_frontend = { path = "crates/pixi_build_frontend" }
pixi_build_types = { path = "crates/pixi_build_types" }
pixi_config = { path = "crates/pixi_config" }
pixi_consts = { path = "crates/pixi_consts" }
pixi_default_versions = { path = "crates/pixi_default_versions" }
pixi_git = { path = "crates/pixi_git" }
pixi_glob = { path = "crates/pixi_glob" }
pixi_manifest = { path = "crates/pixi_manifest" }
pixi_progress = { path = "crates/pixi_progress" }
pixi_record = { path = "crates/pixi_record" }
pixi_spec = { path = "crates/pixi_spec" }
pixi_utils = { path = "crates/pixi_utils", default-features = false }
pixi_uv_conversions = { path = "crates/pixi_uv_conversions" }
pypi_mapping = { path = "crates/pypi_mapping" }
pypi_modifiers = { path = "crates/pypi_modifiers" }
[package]
authors.workspace = true
description = "A package management and workflow tool"
edition.workspace = true
homepage.workspace = true
license.workspace = true
name = "pixi"
readme.workspace = true
repository.workspace = true
version = "0.39.4"
[features]
default = ["rustls-tls"]
native-tls = [
"reqwest/native-tls",
"reqwest/native-tls-alpn",
"rattler_repodata_gateway/native-tls",
"rattler/native-tls",
"pixi_utils/native-tls",
]
rustls-tls = [
"reqwest/rustls-tls",
"reqwest/rustls-tls-native-roots",
"rattler_repodata_gateway/rustls-tls",
"rattler/rustls-tls",
"pixi_utils/rustls-tls",
]
self_update = []
slow_integration_tests = []
[dependencies]
ahash = { workspace = true }
assert_matches = { workspace = true }
async-fd-lock = { workspace = true }
async-once-cell = { workspace = true }
barrier_cell = { path = "crates/barrier_cell" }
base64 = { workspace = true }
chrono = { workspace = true }
clap = { workspace = true, features = [
"derive",
"usage",
"wrap_help",
"std",
"color",
"error-context",
"env",
] }
clap-verbosity-flag = { workspace = true }
clap_complete = { workspace = true }
clap_complete_nushell = { workspace = true }
console = { workspace = true, features = ["windows-console-colors"] }
crossbeam-channel = { workspace = true }
csv = { workspace = true }
deno_task_shell = { workspace = true }
dialoguer = { workspace = true }
dirs = { workspace = true }
dunce = { workspace = true }
fancy_display = { workspace = true }
flate2 = { workspace = true }
fs_extra = { workspace = true }
futures = { workspace = true }
human_bytes = { workspace = true }
humantime = { workspace = true }
ignore = { workspace = true }
indexmap = { workspace = true, features = ["serde"] }
indicatif = { workspace = true }
is_executable = { workspace = true }
itertools = { workspace = true }
miette = { workspace = true, features = ["fancy-no-backtrace"] }
minijinja = { workspace = true, features = ["builtins"] }
once_cell = { workspace = true }
parking_lot = { workspace = true }
rstest = { workspace = true }
uv-distribution-filename = { workspace = true }
uv-distribution-types = { workspace = true }
uv-install-wheel = { workspace = true }
pep440_rs = { workspace = true }
pep508_rs = { workspace = true }
percent-encoding = { workspace = true }
rattler = { workspace = true, features = ["cli-tools", "indicatif"] }
rattler_conda_types = { workspace = true }
rattler_digest = { workspace = true }
rattler_lock = { workspace = true }
rattler_networking = { workspace = true }
rattler_repodata_gateway = { workspace = true, features = [
"sparse",
"gateway",
] }
rattler_shell = { workspace = true, features = ["sysinfo"] }
rattler_solve = { workspace = true, features = ["resolvo", "serde"] }
uv-pep440 = { workspace = true }
uv-pep508 = { workspace = true }
uv-pypi-types = { workspace = true }
fs-err = { workspace = true, features = ["tokio"] }
pixi_build_frontend = { workspace = true }
pixi_build_types = { workspace = true }
pixi_config = { workspace = true }
pixi_consts = { workspace = true }
pixi_default_versions = { workspace = true }
pixi_git = { workspace = true }
pixi_glob = { workspace = true }
pixi_manifest = { workspace = true, features = ["rattler_lock"] }
pixi_progress = { workspace = true }
pixi_record = { workspace = true }
pixi_spec = { workspace = true }
pixi_utils = { workspace = true, default-features = false }
pixi_uv_conversions = { workspace = true }
pypi_mapping = { workspace = true }
pypi_modifiers = { workspace = true }
rattler_virtual_packages = { workspace = true }
regex = { workspace = true }
reqwest = { workspace = true, features = [
"http2",
"macos-system-configuration",
] }
reqwest-middleware = { workspace = true }
rlimit = { workspace = true }
self-replace = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
serde_with = { workspace = true, features = ["indexmap"] }
shlex = { workspace = true }
strsim = { workspace = true }
tabwriter = { workspace = true, features = ["ansi_formatting"] }
tar = { workspace = true }
tempfile = { workspace = true }
thiserror = { workspace = true }
tokio = { workspace = true, features = ["macros", "rt-multi-thread", "signal"] }
tokio-util = { workspace = true }
toml_edit = { workspace = true, features = ["serde"] }
tracing = { workspace = true }
tracing-subscriber = { workspace = true, features = ["env-filter"] }
typed-path = { workspace = true }
url = { workspace = true }
uv-auth = { workspace = true }
uv-cache = { workspace = true }
uv-client = { workspace = true }
uv-configuration = { workspace = true }
uv-dispatch = { workspace = true }
uv-distribution = { workspace = true }
uv-git = { workspace = true }
uv-installer = { workspace = true }
uv-normalize = { workspace = true }
uv-python = { workspace = true }
uv-requirements = { workspace = true }
uv-resolver = { workspace = true }
uv-types = { workspace = true }
xxhash-rust = { workspace = true }
zip = { workspace = true, features = ["deflate", "time"] }
zstd = { workspace = true }
[target.'cfg(unix)'.dependencies]
libc = { workspace = true, default-features = false }
nix = { workspace = true, features = ["poll", "term"] }
pixi_pty = { path = "crates/pixi_pty" }
sha2 = { workspace = true, features = ["asm"] }
signal-hook = { workspace = true }
[profile.dist]
codegen-units = 1
inherits = "release"
lto = "fat"
opt-level = 3
strip = "symbols"
[profile.ci]
codegen-units = 16
inherits = "release"
lto = false
opt-level = 3
strip = false
[dev-dependencies]
async-trait = { workspace = true }
fake = "3.0.1"
http = { workspace = true }
insta = { workspace = true, features = ["yaml", "glob"] }
rstest = { workspace = true }
serde_json = { workspace = true }
tokio = { workspace = true, features = ["rt"] }
[patch.crates-io]
# Config for 'dist'
[workspace.metadata.dist]
# The preferred dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.25.1"
# CI backends to support
ci = "github"
# The installers to generate for each app
installers = ["msi"]
# The archive format to use for windows builds (defaults .zip)
windows-archive = ".zip"
# The archive format to use for non-windows builds (defaults .tar.xz)
unix-archive = ".tar.gz"
# Target platforms to build apps for (Rust target-triple syntax)
targets = [
"aarch64-apple-darwin",
"aarch64-unknown-linux-musl",
"aarch64-pc-windows-msvc",
"x86_64-apple-darwin",
"x86_64-unknown-linux-musl",
"x86_64-pc-windows-msvc",
]
# Whether CI should trigger releases with dispatches instead of tag pushes
dispatch-releases = true
# Which phase dist should use to create the GitHub release
github-release = "announce"
# Whether to auto-include files like READMEs, LICENSEs, and CHANGELOGs (default true)
auto-includes = false
# Whether to put the binaries in the root of the archive or not, this only applies to unix archives
binaries-in-root = true
# Which actions to run on pull requests
pr-run-mode = "skip"
# Skip checking whether the specified configuration files are up to date
allow-dirty = ["msi", "ci"]
# Whether to sign macOS executables
macos-sign = true
[workspace.metadata.dist.dependencies.apt]
gcc-aarch64-linux-gnu = { version = '*', targets = [
"aarch64-unknown-linux-gnu",
"aarch64-unknown-linux-musl",
] }
# Package config for `dist`
[package.metadata.dist]
features = ["self_update"]