]> git.proxmox.com Git - cargo.git/blame - Cargo.toml
Reformat after idiom lints
[cargo.git] / Cargo.toml
CommitLineData
6f240656 1[package]
4abf27e7 2name = "cargo"
1b886f70 3version = "0.34.0"
04ddd4d0 4edition = "2018"
4abf27e7 5authors = ["Yehuda Katz <wycats@gmail.com>",
6e23ead8
HW
6 "Carl Lerche <me@carllerche.com>",
7 "Alex Crichton <alex@alexcrichton.com>"]
e3eb2868 8license = "MIT OR Apache-2.0"
a4c54384
AC
9homepage = "https://crates.io"
10repository = "https://github.com/rust-lang/cargo"
d941bea3 11documentation = "https://docs.rs/cargo"
a4c54384
AC
12description = """
13Cargo, a package manager for Rust.
14"""
4abf27e7 15
ea3d601f 16[lib]
4abf27e7
AC
17name = "cargo"
18path = "src/cargo/lib.rs"
19
e8484805 20[dependencies]
9629f99d 21atty = "0.2"
a46df8fe 22bytesize = "1.0"
1b886f70 23crates-io = { path = "src/crates-io", version = "0.22" }
5e71ad6c 24crossbeam-utils = "0.6"
ecbbc90f 25crypto-hash = "0.3.1"
c181f490
AC
26curl = { version = "0.4.19", features = ['http2'] }
27curl-sys = "0.4.15"
d3e22d81 28env_logger = "0.6.0"
c8d9085f 29pretty_env_logger = { version = "0.3", optional = true }
adbd625e 30failure = "0.1.2"
039ca019 31filetime = "0.2"
d9eca8c7 32flate2 = { version = "1.0.3", features = ['zlib'] }
a2c82595 33fs2 = "0.4"
fcd86f32 34git2 = "0.7.5"
ecbbc90f
KP
35git2-curl = "0.8.1"
36glob = "0.2.11"
98eec2ce 37hex = "0.3"
fdb9f1bd 38home = "0.3"
b90bb7d6 39ignore = "0.4"
76ce4dfe 40lazy_static = "1.2.0"
8a7123c7 41jobserver = "0.1.11"
d9534bf4 42lazycell = "1.2.0"
a40f7d90 43libc = "0.2"
76ce4dfe 44log = "0.4.6"
bcaaab03 45libgit2-sys = "0.7.9"
7a8ad369 46num_cpus = "1.0"
e36ae434 47opener = "0.3.0"
876a5036 48rustfix = "0.4.2"
ece662ca 49same-file = "1"
ece662ca 50semver = { version = "0.9.0", features = ["serde"] }
76ce4dfe 51serde = { version = "1.0.82", features = ['derive'] }
4c077033 52serde_ignored = "0.0.4"
d1218d29 53serde_json = { version = "1.0.30", features = ["raw_value"] }
1eaae612 54shell-escape = "0.1.4"
5a594941 55tar = { version = "0.4.18", default-features = false }
8daf81e1 56tempfile = "3.0"
413e6489 57termcolor = "1.0"
ecbbc90f 58toml = "0.4.2"
32562e92 59url = "1.1"
a1735c7a 60clap = "2.31.2"
a8081a00 61unicode-width = "0.1.5"
585c7d43 62openssl = { version = '0.10.11', optional = true }
a703851a 63im-rc = "12.1.0"
8bd0572c 64
4477355b
AC
65# A noop dependency that changes in the Rust repository, it's a bit of a hack.
66# See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
67# for more information.
68rustc-workspace-hack = "1.0.0"
841f20ae 69
8e0a7cad 70[target.'cfg(target_os = "macos")'.dependencies]
1ac02ceb 71core-foundation = { version = "0.6.0", features = ["mac_os_10_7_support"] }
8e0a7cad 72
f6dd5c2e 73[target.'cfg(windows)'.dependencies]
8a7123c7 74miow = "0.3.1"
641f7ff2 75fwdansi = "1"
f6a29a77 76
64828ba9
AC
77[target.'cfg(windows)'.dependencies.winapi]
78version = "0.3"
79features = [
4671a2aa 80 "basetsd",
64828ba9
AC
81 "handleapi",
82 "jobapi",
83 "jobapi2",
4671a2aa 84 "memoryapi",
64828ba9
AC
85 "minwindef",
86 "ntdef",
46b18260 87 "ntstatus",
64828ba9
AC
88 "processenv",
89 "processthreadsapi",
90 "psapi",
91 "synchapi",
92 "winerror",
93 "winbase",
94 "wincon",
95 "winnt",
96]
f6dd5c2e 97
22e7ede6 98[dev-dependencies]
d46aec56 99bufstream = "0.1"
6763eded 100proptest = "0.8.7"
9fba127e 101
4abf27e7
AC
102[[bin]]
103name = "cargo"
104test = false
d8450848 105doc = false
585c7d43
AC
106
107[features]
108vendored-openssl = ['openssl/vendored']
aa8eff88 109pretty-env-logger = ['pretty_env_logger']