forked from rust-lang/rustup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
77 lines (60 loc) · 1.84 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
[package]
name = "rustup"
version = "1.0.0"
authors = [ "Diggory Blake <diggsey@googlemail.com>" ]
description = "multirust in rust - manage multiple rust installations with ease"
documentation = "http://rust-lang-nursery.github.io/rustup.rs/rustup/index.html"
homepage = "https://github.com/rust-lang-nursery/rustup.rs"
repository = "https://github.com/rust-lang-nursery/rustup.rs"
readme = "README.md"
keywords = ["multirust", "install", "proxy"]
license = "MIT OR Apache-2.0"
build = "build.rs"
[features]
default = ["curl-backend", "hyper-backend"]
curl-backend = ["download/curl-backend"]
hyper-backend = ["download/hyper-backend"]
rustls-backend = ["download/rustls-backend"]
# Include in the default set to disable self-update and uninstall.
no-self-update = []
# Used to change behavior of self-update and uninstall if installed via MSI
msi-installed = []
[dependencies]
rustup-dist = { path = "src/rustup-dist", version = "1.0.0" }
rustup-utils = { path = "src/rustup-utils", version = "1.0.0" }
download = { path = "src/download" }
error-chain = "0.7.1"
clap = "2.18.0"
regex = "0.1.41"
url = "1.1.0"
term = "0.4.4"
itertools = "0.4.1"
time = "0.1.34"
tempdir = "0.3.4"
tempfile = "2.1.4"
libc = "0.2.0"
rand = "0.3.11"
scopeguard = "0.1.2"
rustc-serialize = "0.3"
sha2 = "0.1.2"
markdown = "0.2"
toml = "0.1.27"
[target."cfg(windows)".dependencies]
winapi = "0.2.8"
winreg = "0.3.2"
user32-sys = "0.1.2"
kernel32-sys = "0.2.1"
gcc = "0.3.28"
[dev-dependencies]
rustup-mock = { path = "src/rustup-mock", version = "1.0.0" }
lazy_static = "0.1.15"
[workspace]
members = ["src/ca-loader", "src/download", "src/rustup-dist", "src/rustup-mock", "src/rustup-utils", "src/rustup-win-installer"]
[lib]
name = "rustup"
path = "src/rustup/lib.rs"
test = false # no unit tests
[[bin]]
name = "rustup-init"
path = "src/rustup-cli/main.rs"
test = false # no unit tests