]> git.proxmox.com Git - cargo.git/blame - Cargo.toml
Auto merge of #8102 - alexcrichton:more-spurious, r=Eh2406
[cargo.git] / Cargo.toml
CommitLineData
6f240656 1[package]
4abf27e7 2name = "cargo"
ac79b537 3version = "0.45.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"
d551d904 12readme = "README.md"
a4c54384
AC
13description = """
14Cargo, a package manager for Rust.
15"""
4abf27e7 16
ea3d601f 17[lib]
4abf27e7
AC
18name = "cargo"
19path = "src/cargo/lib.rs"
20
e8484805 21[dependencies]
9629f99d 22atty = "0.2"
a46df8fe 23bytesize = "1.0"
fd65cbd8 24cargo-platform = { path = "crates/cargo-platform", version = "0.1.1" }
944f5049 25crates-io = { path = "crates/crates-io", version = "0.31" }
2ed8f4f0 26crossbeam-utils = "0.7"
ecbbc90f 27crypto-hash = "0.3.1"
d7071c2f 28curl = { version = "0.4.23", features = ["http2"] }
35bcbde3 29curl-sys = "0.4.22"
8f52dc9a 30env_logger = "0.7.0"
00863327 31pretty_env_logger = { version = "0.4", optional = true }
3a18c89a 32anyhow = "1.0"
039ca019 33filetime = "0.2"
38aa4a23 34flate2 = { version = "1.0.3", default-features = false, features = ["zlib"] }
a2c82595 35fs2 = "0.4"
82239d7a
AC
36git2 = "0.13.0"
37git2-curl = "0.14.0"
5087cc45 38glob = "0.3.0"
fa05eb23 39hex = "0.4"
1c9b292a 40home = "0.5"
2be0acc1 41humantime = "2.0.0"
337fbaaa 42ignore = "0.4.7"
76ce4dfe 43lazy_static = "1.2.0"
8f09ac0c 44jobserver = "0.1.21"
d9534bf4 45lazycell = "1.2.0"
a40f7d90 46libc = "0.2"
76ce4dfe 47log = "0.4.6"
82239d7a 48libgit2-sys = "0.12.0"
6babe72e 49memchr = "2.1.3"
7a8ad369 50num_cpus = "1.0"
c14a3297 51opener = "0.4"
3c67dc84 52percent-encoding = "2.0"
4f6553ab 53remove_dir_all = "0.5.2"
3a18c89a 54rustfix = "0.5.0"
ece662ca 55same-file = "1"
ece662ca 56semver = { version = "0.9.0", features = ["serde"] }
d7071c2f 57serde = { version = "1.0.82", features = ["derive"] }
09dc727f 58serde_ignored = "0.1.0"
d1218d29 59serde_json = { version = "1.0.30", features = ["raw_value"] }
1eaae612 60shell-escape = "0.1.4"
dcd4999d 61strip-ansi-escapes = "0.1.0"
635c4230 62tar = { version = "0.4.26", default-features = false }
8daf81e1 63tempfile = "3.0"
413e6489 64termcolor = "1.0"
b41c209a 65toml = "0.5.3"
95008f91 66unicode-xid = "0.2.0"
2f79b202 67url = "2.0"
78a60bc7 68walkdir = "2.2"
a1735c7a 69clap = "2.31.2"
a8081a00 70unicode-width = "0.1.5"
585c7d43 71openssl = { version = '0.10.11', optional = true }
dc095971 72im-rc = "14.0.0"
8bd0572c 73
4477355b
AC
74# A noop dependency that changes in the Rust repository, it's a bit of a hack.
75# See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
76# for more information.
77rustc-workspace-hack = "1.0.0"
841f20ae 78
8e0a7cad 79[target.'cfg(target_os = "macos")'.dependencies]
7762e73f 80core-foundation = { version = "0.7.0", features = ["mac_os_10_7_support"] }
8e0a7cad 81
f6dd5c2e 82[target.'cfg(windows)'.dependencies]
8a7123c7 83miow = "0.3.1"
641f7ff2 84fwdansi = "1"
f6a29a77 85
64828ba9
AC
86[target.'cfg(windows)'.dependencies.winapi]
87version = "0.3"
88features = [
4671a2aa 89 "basetsd",
64828ba9
AC
90 "handleapi",
91 "jobapi",
92 "jobapi2",
4671a2aa 93 "memoryapi",
64828ba9
AC
94 "minwindef",
95 "ntdef",
46b18260 96 "ntstatus",
64828ba9
AC
97 "processenv",
98 "processthreadsapi",
99 "psapi",
100 "synchapi",
101 "winerror",
102 "winbase",
103 "wincon",
104 "winnt",
105]
f6dd5c2e 106
22e7ede6 107[dev-dependencies]
290a727a 108cargo-test-macro = { path = "crates/cargo-test-macro", version = "0.1.0" }
9115b2c3 109cargo-test-support = { path = "crates/cargo-test-support", version = "0.1.0" }
9fba127e 110
4abf27e7
AC
111[[bin]]
112name = "cargo"
113test = false
d8450848 114doc = false
585c7d43
AC
115
116[features]
0e031b5a 117deny-warnings = []
d7071c2f
GL
118vendored-openssl = ["openssl/vendored"]
119pretty-env-logger = ["pretty_env_logger"]