forked from prefix-dev/rattler-build
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
155 lines (146 loc) · 5.55 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
[workspace]
members = ["rust-tests"]
[package]
name = "rattler-build"
version = "0.14.2"
authors = ["Wolf Vollprecht <[email protected]>"]
homepage = "https://github.com/prefix-dev/rattler-build"
edition = "2021"
license = "BSD-3-Clause"
readme = "README.md"
description = "Rust crate to build conda packages on Windows, macOS and Linux"
documentation = "https://prefix-dev.github.io/rattler-build"
[features]
default = ['native-tls']
native-tls = ['reqwest/native-tls', 'rattler/native-tls', 'rattler_installs_packages/native-tls']
rustls-tls = ['reqwest/rustls-tls', 'reqwest/rustls-tls-native-roots', 'rattler/rustls-tls', 'rattler_installs_packages/rustls-tls']
tui = ['ratatui', 'crossterm', 'ansi-to-tui', 'throbber-widgets-tui', 'tui-input']
[dependencies]
serde = { version = "1.0.197", features = ["derive"] }
serde_yaml = "0.9.34"
rattler = { version = "0.21.0", default-features = false, features = ["cli-tools"] }
rattler_conda_types = { version = "0.20.5", default-features = false }
rattler_digest = { version = "0.19.2", default-features = false }
rattler_index = { version = "0.19.6", default-features = false }
rattler_networking = { version = "0.20.1", default-features = false }
rattler_repodata_gateway = { version = "0.19.6", default-features = false, features = [
"sparse",
] }
rattler_shell = { version = "0.19.6", default-features = false, features = [
"sysinfo",
] }
rattler_solve = { version = "0.20.5", default-features = false, features = [
"resolvo",
] }
rattler_virtual_packages = { version = "0.19.6", default-features = false }
rattler_package_streaming = { version = "0.20.3", default-features = false }
anyhow = "1.0.81"
walkdir = "2.5.0"
sha2 = "0.10.8"
hex = "0.4.3"
serde_json = "1.0.115"
reqwest = { version = "0.11.27", default-features = false, features = [
"multipart",
] }
tokio = { version = "1.37.0", features = ["rt", "macros", "rt-multi-thread"] }
itertools = "0.12.1"
content_inspector = "0.2.4"
serde_with = "3.7.0"
url = "2.5.0"
tracing = "0.1.40"
clap = { version = "4.5.4", features = ["derive", "env", "cargo"] }
minijinja = { version = "=1.0.14", features = [
"unstable_machinery",
"custom_syntax",
] }
tracing-subscriber = { version = "0.3.18", features = [
"env-filter",
"fmt",
"ansi",
"json"
] }
marked-yaml = { version = "0.5.0" }
miette = { version = "7.2.0", features = ["fancy"] }
num_cpus = "1.16.0"
goblin = "0.8.0"
scroll = "0.12.0"
pathdiff = "0.2.1"
comfy-table = "7.1.0"
futures = "0.3.30"
indicatif = "0.17.8"
console = { version = "0.15.8", features = ["windows-console-colors"] }
thiserror = "1.0.58"
tempfile = "3.10.1"
chrono = "0.4.37"
sha1 = "0.10.6"
spdx = "0.10.4"
fs_extra = "1.3.0"
ignore = "0.4.22"
globset = "0.4.14"
clap-verbosity-flag = "2.2.0"
tracing-core = "0.1.32"
petgraph = "0.6.4"
indexmap = "2.2.6"
dunce = "1.0.4"
fs-err = "2.11.0"
which = "6.0.1"
clap_complete = "4.5.1"
tokio-util = "0.7.10"
tar = "0.4.40"
zip = { version = "0.6.6", default-features = false, features = [
"flate2",
"deflate",
] }
bzip2 = "0.4.4"
base64 = "0.22.0"
flate2 = "1.0.28"
xz2 = "0.1.7"
zstd = "0.13.1"
toml = "0.8.12"
memmap2 = "0.9.4"
reqwest-middleware = "0.2.5"
rattler_installs_packages = { version = "0.8.1", default-features = false }
async-once-cell = "0.5.3"
terminal_size = "0.3.0"
memchr = "2.7.2"
ratatui = { version = "0.26.1", optional = true }
crossterm = { version = "0.27.0", features = ["event-stream"], optional = true }
ansi-to-tui = { version = "4.0.1", optional = true }
throbber-widgets-tui = { version = "0.5.0", optional = true }
tui-input = { version = "0.8.0", optional = true }
reflink-copy = "0.1.15"
rayon = "1.10.0"
patch = "0.7.0"
[dev-dependencies]
insta = { version = "1.38.0", features = ["yaml"] }
rstest = "0.18.2"
tracing-test = "0.2.4"
tracing-indicatif = "0.3.6"
[profile.dev.package."*"]
opt-level = 3
[package.metadata.cross.target.x86_64-unknown-linux-gnu]
pre-build = [
"dpkg --add-architecture $CROSS_DEB_ARCH",
"apt-get update && apt-get install --assume-yes libssl-dev:$CROSS_DEB_ARCH",
]
# [patch.crates-io]
# rattler = { git = "https://github.com/mamba-org/rattler", branch = "main" }
# rattler_conda_types = { git = "https://github.com/mamba-org/rattler", branch = "main" }
# rattler_digest = { git = "https://github.com/mamba-org/rattler", branch = "main" }
# rattler_index = { git = "https://github.com/mamba-org/rattler", branch = "main" }
# rattler_networking = { git = "https://github.com/mamba-org/rattler", branch = "main" }
# rattler_repodata_gateway = { git = "https://github.com/mamba-org/rattler", branch = "main" }
# rattler_shell = { git = "https://github.com/mamba-org/rattler", branch = "main" }
# rattler_solve = { git = "https://github.com/mamba-org/rattler", branch = "main" }
# rattler_virtual_packages = { git = "https://github.com/mamba-org/rattler", branch = "main" }
# rattler_package_streaming = { git = "https://github.com/mamba-org/rattler", branch = "main" }
# rattler = { path = "../rattler/crates/rattler" }
# rattler_conda_types = { path = "../rattler/crates/rattler_conda_types" }
# rattler_digest = { path = "../rattler/crates/rattler_digest" }
# rattler_index = { path = "../rattler/crates/rattler_index" }
# rattler_networking = { path = "../rattler/crates/rattler_networking" }
# rattler_repodata_gateway = { path = "../rattler/crates/rattler_repodata_gateway" }
# rattler_shell = { path = "../rattler/crates/rattler_shell" }
# rattler_solve = { path = "../rattler/crates/rattler_solve" }
# rattler_virtual_packages = { path = "../rattler/crates/rattler_virtual_packages" }
# rattler_package_streaming = { path = "../rattler/crates/rattler_package_streaming" }