]> git.proxmox.com Git - cargo.git/blob - Cargo.toml
Build script change detection: link to include/exclude
[cargo.git] / Cargo.toml
1 [package]
2 name = "cargo"
3 version = "0.42.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 cargo-platform = { path = "crates/cargo-platform", version = "0.1.1" }
25 crates-io = { path = "crates/crates-io", version = "0.30" }
26 crossbeam-utils = "0.7"
27 crypto-hash = "0.3.1"
28 curl = { version = "0.4.23", features = ["http2"] }
29 curl-sys = "0.4.22"
30 env_logger = "0.7.0"
31 pretty_env_logger = { version = "0.3", optional = true }
32 failure = "0.1.5"
33 filetime = "0.2"
34 flate2 = { version = "1.0.3", features = ["zlib"] }
35 fs2 = "0.4"
36 git2 = "0.10.0"
37 git2-curl = "0.11.0"
38 glob = "0.3.0"
39 hex = "0.4"
40 home = "0.5"
41 humantime = "1.2.0"
42 ignore = "0.4.7"
43 lazy_static = "1.2.0"
44 jobserver = "0.1.13"
45 lazycell = "1.2.0"
46 libc = "0.2"
47 log = "0.4.6"
48 libgit2-sys = "0.9.0"
49 memchr = "2.1.3"
50 num_cpus = "1.0"
51 opener = "0.4"
52 percent-encoding = "2.0"
53 remove_dir_all = "0.5.2"
54 rustfix = "0.4.6"
55 same-file = "1"
56 semver = { version = "0.9.0", features = ["serde"] }
57 serde = { version = "1.0.82", features = ["derive"] }
58 serde_ignored = "0.1.0"
59 serde_json = { version = "1.0.30", features = ["raw_value"] }
60 shell-escape = "0.1.4"
61 strip-ansi-escapes = "0.1.0"
62 tar = { version = "0.4.18", default-features = false }
63 tempfile = "3.0"
64 termcolor = "1.0"
65 toml = "0.5.3"
66 url = "2.0"
67 walkdir = "2.2"
68 clap = "2.31.2"
69 unicode-width = "0.1.5"
70 openssl = { version = '0.10.11', optional = true }
71 im-rc = "14.0.0"
72
73 # A noop dependency that changes in the Rust repository, it's a bit of a hack.
74 # See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
75 # for more information.
76 rustc-workspace-hack = "1.0.0"
77
78 [target.'cfg(target_os = "macos")'.dependencies]
79 core-foundation = { version = "0.7.0", features = ["mac_os_10_7_support"] }
80
81 [target.'cfg(windows)'.dependencies]
82 miow = "0.3.1"
83 fwdansi = "1"
84
85 [target.'cfg(windows)'.dependencies.winapi]
86 version = "0.3"
87 features = [
88 "basetsd",
89 "handleapi",
90 "jobapi",
91 "jobapi2",
92 "memoryapi",
93 "minwindef",
94 "ntdef",
95 "ntstatus",
96 "processenv",
97 "processthreadsapi",
98 "psapi",
99 "synchapi",
100 "winerror",
101 "winbase",
102 "wincon",
103 "winnt",
104 ]
105
106 [dev-dependencies]
107 cargo-test-macro = { path = "crates/cargo-test-macro", version = "0.1.0" }
108 cargo-test-support = { path = "crates/cargo-test-support", version = "0.1.0" }
109
110 [[bin]]
111 name = "cargo"
112 test = false
113 doc = false
114
115 [features]
116 deny-warnings = []
117 vendored-openssl = ["openssl/vendored"]
118 pretty-env-logger = ["pretty_env_logger"]