]> git.proxmox.com Git - cargo.git/blob - Cargo.toml
Auto merge of #7385 - ehuss:fix-tar-features, r=alexcrichton
[cargo.git] / Cargo.toml
1 [package]
2 name = "cargo"
3 version = "0.40.0"
4 edition = "2018"
5 authors = ["Yehuda Katz <wycats@gmail.com>",
6 "Carl Lerche <me@carllerche.com>",
7 "Alex Crichton <alex@alexcrichton.com>"]
8 license = "MIT OR Apache-2.0"
9 homepage = "https://crates.io"
10 repository = "https://github.com/rust-lang/cargo"
11 documentation = "https://docs.rs/cargo"
12 readme = "README.md"
13 description = """
14 Cargo, a package manager for Rust.
15 """
16
17 [lib]
18 name = "cargo"
19 path = "src/cargo/lib.rs"
20
21 [dependencies]
22 atty = "0.2"
23 bytesize = "1.0"
24 crates-io = { path = "crates/crates-io", version = "0.28" }
25 crossbeam-utils = "0.6"
26 crypto-hash = "0.3.1"
27 curl = { version = "0.4.21", features = ['http2'] }
28 curl-sys = "0.4.18"
29 env_logger = "0.6.0"
30 pretty_env_logger = { version = "0.3", optional = true }
31 failure = "0.1.5"
32 filetime = "0.2"
33 flate2 = { version = "1.0.3", features = ['zlib'] }
34 fs2 = "0.4"
35 git2 = "0.10.0"
36 git2-curl = "0.11.0"
37 glob = "0.3.0"
38 hex = "0.4"
39 home = "0.5"
40 humantime = "1.2.0"
41 ignore = "0.4.7"
42 lazy_static = "1.2.0"
43 jobserver = "0.1.13"
44 lazycell = "1.2.0"
45 libc = "0.2"
46 log = "0.4.6"
47 libgit2-sys = "0.9.0"
48 memchr = "2.1.3"
49 num_cpus = "1.0"
50 opener = "0.4"
51 percent-encoding = "2.0"
52 remove_dir_all = "0.5.2"
53 rustfix = "0.4.6"
54 same-file = "1"
55 semver = { version = "0.9.0", features = ["serde"] }
56 serde = { version = "1.0.82", features = ['derive'] }
57 serde_ignored = "0.1.0"
58 serde_json = { version = "1.0.30", features = ["raw_value"] }
59 shell-escape = "0.1.4"
60 strip-ansi-escapes = "0.1.0"
61 tar = { version = "0.4.18", default-features = false }
62 tempfile = "3.0"
63 termcolor = "1.0"
64 toml = "0.5.3"
65 url = "2.0"
66 walkdir = "2.2"
67 clap = "2.31.2"
68 unicode-width = "0.1.5"
69 openssl = { version = '0.10.11', optional = true }
70 im-rc = "13.0.0"
71
72 # A noop dependency that changes in the Rust repository, it's a bit of a hack.
73 # See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
74 # for more information.
75 rustc-workspace-hack = "1.0.0"
76
77 [target.'cfg(target_os = "macos")'.dependencies]
78 core-foundation = { version = "0.6.0", features = ["mac_os_10_7_support"] }
79
80 [target.'cfg(windows)'.dependencies]
81 miow = "0.3.1"
82 fwdansi = "1"
83
84 [target.'cfg(windows)'.dependencies.winapi]
85 version = "0.3"
86 features = [
87 "basetsd",
88 "handleapi",
89 "jobapi",
90 "jobapi2",
91 "memoryapi",
92 "minwindef",
93 "ntdef",
94 "ntstatus",
95 "processenv",
96 "processthreadsapi",
97 "psapi",
98 "synchapi",
99 "winerror",
100 "winbase",
101 "wincon",
102 "winnt",
103 ]
104
105 [dev-dependencies]
106 cargo-test-macro = { path = "crates/cargo-test-macro", version = "0.1.0" }
107 cargo-test-support = { path = "crates/cargo-test-support", version = "0.1.0" }
108
109 [[bin]]
110 name = "cargo"
111 test = false
112 doc = false
113
114 [features]
115 deny-warnings = []
116 vendored-openssl = ['openssl/vendored']
117 pretty-env-logger = ['pretty_env_logger']