forked from prefix-dev/rattler-build
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
147 lines (138 loc) · 5.12 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
[workspace]
members = ["rust-tests"]
[package]
name = "rattler-build"
version = "0.11.0"
authors = ["Wolf Vollprecht <w.vollprecht@gmail.com>"]
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']
[dependencies]
serde = { version = "1.0.196", features = ["derive"] }
serde_yaml = "0.9.31"
rattler = { version = "0.18.0", default-features = false }
rattler_conda_types = { version = "0.18.0", default-features = false }
rattler_digest = { version = "0.18.0", default-features = false }
rattler_index = { version = "0.18.0", default-features = false }
rattler_networking = { version = "0.18.0", default-features = false }
rattler_repodata_gateway = { version = "0.18.0", default-features = false, features = [
"sparse",
] }
rattler_shell = { version = "0.18.0", default-features = false, features = [
"sysinfo",
] }
rattler_solve = { version = "0.18.0", default-features = false, features = [
"resolvo",
] }
rattler_virtual_packages = { version = "0.18.0", default-features = false }
rattler_package_streaming = { version = "0.18.0", default-features = false }
anyhow = "1.0.79"
walkdir = "2.4.0"
sha2 = "0.10.8"
hex = "0.4.3"
serde_json = "1.0.113"
reqwest = { version = "0.11.24", default-features = false, features = [
"multipart",
] }
tokio = { version = "1.36.0", features = ["rt", "macros", "rt-multi-thread"] }
itertools = "0.12.1"
content_inspector = "0.2.4"
serde_with = "3.6.1"
url = "2.5.0"
tracing = "0.1.40"
clap = { version = "4.5.0", features = ["derive", "env", "cargo"] }
minijinja = { version = "1.0.12", features = [
"unstable_machinery",
"custom_syntax",
] }
tracing-subscriber = { version = "0.3.18", features = [
"env-filter",
"fmt",
"ansi",
"json"
] }
marked-yaml = { version = "0.3.0" }
miette = { version = "7.0.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"] }
once_cell = "1.19.0"
thiserror = "1.0.57"
tempfile = "3.10.0"
chrono = "0.4.34"
sha1 = "0.10.6"
spdx = "0.10.3"
fs_extra = "1.3.0"
ignore = "0.4.22"
globset = "0.4.14"
tracing-indicatif = "0.3.6"
clap-verbosity-flag = "2.1.2"
tracing-core = "0.1.32"
petgraph = "0.6.4"
indexmap = "2.2.3"
dunce = "1.0.4"
fs-err = "2.11.0"
which = "6.0.0"
clap_complete = "4.5.0"
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.21.7"
flate2 = "1.0.28"
xz2 = "0.1.7"
zstd = "0.13.0"
toml = "0.8.10"
memmap2 = "0.9.4"
os_pipe = "1.1.5"
reqwest-middleware = "0.2.4"
rattler_installs_packages = { version = "0.8.0", default-features = false }
async-once-cell = "0.5.3"
terminal_size = "0.3.0"
[dev-dependencies]
insta = { version = "1.34.0", features = ["yaml"] }
rstest = "0.18.2"
tracing-test = "0.2.4"
[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" }