-
Notifications
You must be signed in to change notification settings - Fork 40
/
Cargo.toml
100 lines (93 loc) · 2.69 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
[package]
name = "xwin"
version = "0.6.6-rc.2"
description = "Allows downloading and repacking the MSVC CRT and Windows SDK for cross compilation"
authors = ["Jake Shadle <[email protected]>"]
edition = "2021"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/Jake-Shadle/xwin"
homepage = "https://github.com/Jake-Shadle/xwin"
categories = ["development-tools", "command-line-utilities"]
keywords = ["windows", "cross-compilation"]
exclude = [
".cargo",
".github",
"docs",
"tests/**",
"deny.toml",
"release.toml",
"xwin.dockerfile",
]
[features]
# By default we use rustls for TLS
default = ["rustls-tls"]
rustls-tls = ["ureq/rustls"]
# If this feature is enabled we instead use the native TLS implementation for the
# target platform
native-tls = ["ureq/native-tls", "native-tls-crate/vendored"]
[dependencies]
# Easy errors
anyhow = "1.0"
# Network/file buffers
bytes = "1.7"
# CAB files are used in conjunction with MSI files for SDK packages
cab = "0.6"
# Nicer to use utf-8 paths
camino = "1.0"
# Easy CLI tables
cli-table = { version = "0.4", default-features = false }
crossbeam-channel = "0.5"
# Pretty progress bars
indicatif = "0.17"
# Decoding of MSI installer packages
msi = "0.8"
parking_lot = "0.12"
# brrr
rayon = "1.5"
# Include scanning
regex = "1.11"
# HTTP requests
ureq = { version = "3.0.0-rc1", default-features = false, features = ["gzip", "socks-proxy"] }
memchr = "2.6"
native-tls-crate = { package = "native-tls", version = "0.2", optional = true }
# SHA-256 verification
sha2 = "0.10"
# Deserialization
serde = { version = "1.0", features = ["derive"] }
# JSON deserialization
serde_json = "1.0"
# Argument parsing
clap = { version = "4.5", features = ["derive", "env", "wrap_help"] }
# Easy management of temp files
tempfile = "3.13"
# We need to pin it to not get duplicates due to zip -> num_enum -> proc-macro-crate -> (WHY!?!?) toml_edit
toml = "0.8"
# Tracing logs
tracing = { version = "0.1", default-features = false, features = [
"attributes",
"std",
] }
# Emission of logs to stdout
tracing-subscriber = { version = "0.3", default-features = false, features = [
"env-filter",
"fmt",
"json",
] }
# Hashing
twox-hash = "1.6"
# Determine the latest CRT and SDK versions
versions = "6.2"
walkdir = "2.3"
# Unpacking of VSIX "packages"
zip = { version = "2.1", default-features = false, features = ["deflate"] }
[target.'cfg(all(target_env = "musl", target_arch = "x86_64"))'.dependencies]
# Faster allocator for musl builds
mimalloc = { version = "0.1", default-features = false }
[dev-dependencies]
insta = "1.40"
[profile.dev.package.insta]
opt-level = 3
[profile.dev.package.similar]
opt-level = 3
[profile.dev.package.sha2]
opt-level = 3