forked from rust-lang/rustup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
129 lines (114 loc) · 2.88 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
[package]
authors = ["Daniel Silverstone <[email protected]>", "Diggory Blake <[email protected]>"]
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.24.3"
[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.31"
cfg-if = "1.0"
chrono = "0.4"
clap = "2"
download = {path = "download", default-features = false}
effective-limits = "0.5.3"
enum-map = "1.1.0"
flate2 = "1"
git-testament = "0.1.4"
home = {git = "https://github.com/rbtcollins/home", rev = "a243ee2fbee6022c57d56f5aa79aefe194eabe53"}
lazy_static = "1"
libc = "0.2"
num_cpus = "1.13"
opener = "0.5.0"
# Used by `curl` or `reqwest` backend although it isn't imported
# by our rustup.
openssl = {version = "0.10", optional = true}
pulldown-cmark = {version = "0.8", default-features = false}
rand = "0.8"
regex = "1"
remove_dir_all = "0.7.0"
same-file = "1"
scopeguard = "1"
semver = "0.11"
serde = {version = "1.0", features = ["derive"]}
sequoia-openpgp = { version = "1.5", default-features = false, features = ["crypto-rust", "allow-experimental-crypto", "allow-variable-time-crypto"] }
sha2 = "0.9"
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.1"
wait-timeout = "0.2"
xz2 = "0.1.3"
zstd = "0.6"
[dependencies.retry]
default-features = false
features = ["random"]
version = "1.2.1"
[dependencies.rs_tracing]
features = ["rs_tracing"]
version = "1.0.1"
[target."cfg(windows)".dependencies]
cc = "1"
winreg = "0.8"
[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