forked from rust-lang/rustup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
114 lines (103 loc) · 2.32 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
[package]
name = "rustup"
version = "1.20.2"
authors = [ "Diggory Blake <diggsey@googlemail.com>" ]
build = "build.rs"
documentation = "https://rust-lang.github.io/rustup.rs/rustup/index.html"
edition = "2018"
homepage = "https://github.com/rust-lang/rustup.rs"
keywords = ["rustup", "multirust", "install", "proxy"]
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/rust-lang/rustup.rs"
description = "Manage multiple rust installations with ease"
[features]
default = ["curl-backend", "reqwest-backend"]
curl-backend = ["download/curl-backend"]
reqwest-backend = ["download/reqwest-backend"]
vendored-openssl = ['openssl/vendored']
# Include in the default set to disable self-update and uninstall.
no-self-update = []
# Sorted by alphabetic order
[dependencies]
chrono = "0.4"
clap = "2"
download = { path = "download" }
error-chain = "0.12"
flate2 = "1"
git-testament = "0.1.4"
home = "0.5"
lazy_static = "1"
libc = "0.2"
opener = "0.4.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.6", default-features = false }
rand = "0.7"
regex = "1"
remove_dir_all = "0.5.1"
same-file = "1"
scopeguard = "1"
semver = "0.9"
sha2 = "0.8"
strsim = "0.9.1"
tar = "0.4.26"
tempfile = "3.1"
# FIXME(issue #1788)
term = "=0.5.1"
threadpool = "1"
time = "0.1.34"
toml = "0.5"
url = "1"
wait-timeout = "0.2"
xz2 = "0.1.3"
pgp = { version = "0.3.1", default-features = false}
[dependencies.retry]
version = "0.5"
default-features = false
[dependencies.rs_tracing]
version = "1.0.1"
features = ["rs_tracing"]
[target."cfg(windows)".dependencies]
cc = "1"
winreg = "0.6"
[target."cfg(windows)".dependencies.winapi]
version = "0.3"
features = [
"combaseapi",
"errhandlingapi",
"fileapi",
"handleapi",
"ioapiset",
"jobapi",
"jobapi2",
"minwindef",
"processthreadsapi",
"psapi",
"shlobj",
"shtypes",
"synchapi",
"sysinfoapi",
"tlhelp32",
"userenv",
"winbase",
"winerror",
"winioctl",
"winnt",
"winuser",
]
[dev-dependencies]
walkdir = "2"
[workspace]
members = ["download"]
[lib]
name = "rustup"
path = "src/lib.rs"
test = false # no unit tests
[[bin]]
name = "rustup-init"
path = "src/cli/main.rs"
[profile.release]
lto = true
codegen-units = 1