forked from rust-lang/rustup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
131 lines (115 loc) · 2.85 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
[package]
authors = ["Daniel Silverstone <dsilvers@digital-scurf.org>", "Diggory Blake <diggsey@googlemail.com>"]
build = "build.rs"
description = "Manage multiple rust installations with ease"
edition = "2021"
homepage = "https://github.com/rust-lang/rustup"
keywords = ["rustup", "multirust", "install", "proxy"]
license = "MIT OR Apache-2.0"
name = "rustup"
readme = "README.md"
repository = "https://github.com/rust-lang/rustup"
version = "1.25.2"
[features]
curl-backend = ["download/curl-backend"]
default = ["curl-backend", "reqwest-backend", "reqwest-default-tls", "reqwest-rustls-tls"]
reqwest-backend = ["download/reqwest-backend"]
vendored-openssl = ['openssl/vendored']
reqwest-default-tls = ["download/reqwest-default-tls"]
reqwest-rustls-tls = ["download/reqwest-rustls-tls"]
# Include in the default set to disable self-update and uninstall.
no-self-update = []
# Sorted by alphabetic order
[dependencies]
anyhow = "1.0.69"
cfg-if = "1.0"
chrono = "0.4"
clap = {version = "2", features = ["wrap_help"]}
download = {path = "download", default-features = false}
effective-limits = "0.5.5"
enum-map = "2.4.2"
flate2 = "1"
git-testament = "0.2"
home = "0.5.4"
lazy_static = "1"
libc = "0.2"
num_cpus = "1.15"
opener = "0.5.2"
# Used by `curl` or `reqwest` backend although it isn't imported
# by our rustup.
openssl = {version = "0.10", optional = true}
pulldown-cmark = {version = "0.9", default-features = false}
rand = "0.8"
regex = "1"
remove_dir_all = "0.7.0"
same-file = "1"
scopeguard = "1"
semver = "1.0"
serde = {version = "1.0", features = ["derive"]}
sequoia-openpgp = { version = "1.13", default-features = false, features = ["crypto-rust", "allow-experimental-crypto", "allow-variable-time-crypto"] }
sha2 = "0.10"
sharded-slab = "0.1.1"
strsim = "0.10"
tar = "0.4.26"
tempfile = "3.1"
# FIXME(issue #1818, #1826, and friends)
term = "=0.5.1"
thiserror = "1.0"
threadpool = "1"
toml = "0.5"
url = "2.3"
wait-timeout = "0.2"
xz2 = "0.1.3"
zstd = "0.12"
trycmd = "0.14.11"
[dependencies.retry]
default-features = false
features = ["random"]
version = "1.3.1"
[dependencies.rs_tracing]
features = ["rs_tracing"]
version = "1.1.0"
[target."cfg(windows)".dependencies]
cc = "1"
winreg = "0.11"
[target."cfg(windows)".dependencies.winapi]
features = [
"combaseapi",
"errhandlingapi",
"fileapi",
"handleapi",
"ioapiset",
"jobapi",
"jobapi2",
"minwindef",
"processthreadsapi",
"psapi",
"shlobj",
"shtypes",
"synchapi",
"sysinfoapi",
"tlhelp32",
"userenv",
"winbase",
"winerror",
"winioctl",
"winnt",
"winuser",
]
version = "0.3"
[dev-dependencies]
walkdir = "2"
[build-dependencies]
lazy_static = "1"
regex = "1"
[workspace]
members = ["download"]
[lib]
name = "rustup"
path = "src/lib.rs"
[profile.release]
codegen-units = 1
lto = true
# Reduce build time by setting proc-macro crates non optimized.
[profile.release.build-override]
opt-level = 0