forked from rust-lang/rustup
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
76 lines (68 loc) · 1.85 KB
/
Cargo.toml
File metadata and controls
76 lines (68 loc) · 1.85 KB
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
[package]
name = "rustup"
version = "1.17.0"
edition = "2018"
authors = [ "Diggory Blake <[email protected]>" ]
description = "Manage multiple rust installations with ease"
documentation = "https://rust-lang.github.io/rustup.rs/rustup/index.html"
homepage = "https://github.com/rust-lang/rustup.rs"
repository = "https://github.com/rust-lang/rustup.rs"
readme = "README.md"
keywords = ["rustup", "multirust", "install", "proxy"]
license = "MIT OR Apache-2.0"
build = "build.rs"
[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 = []
[dependencies]
dirs = "1"
download = { path = "download" }
clap = "2"
error-chain = "0.12"
flate2 = "1"
itertools = "0.8"
libc = "0.2"
markdown = "0.2"
ole32-sys = "0.2"
rand = "0.6"
regex = "1"
remove_dir_all = "0.5.1"
same-file = "1"
semver = "0.9"
scopeguard = "1"
sha2 = "0.8"
tar = "0.4"
tempdir = "0.3.4"
term = "0.5"
time = "0.1.34"
toml = "0.5"
url = "1"
wait-timeout = "0.2"
walkdir = "2"
xz2 = "0.1.3"
openssl = { version = "0.10", optional = true }
git-testament = "0.1.4"
lazy_static = "1"
[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"] }
winreg = "0.6"
cc = "1"
[dev-dependencies]
lazy_static = "1"
[workspace]
members = ["download"]
[lib]
name = "rustup"
path = "src/lib.rs"
test = false # no unit tests
[[bin]]
name = "rustup-init"
path = "src/cli/main.rs"
test = false # no unit tests
[profile.release]
lto = true
codegen-units = 1