]> git.proxmox.com Git - cargo.git/blob - Cargo.toml
Remove unused remove_dir_all dependency
[cargo.git] / Cargo.toml
1 [package]
2 name = "cargo"
3 version = "0.47.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.31.1" }
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.4", optional = true }
32 anyhow = "1.0"
33 filetime = "0.2.9"
34 flate2 = { version = "1.0.3", default-features = false, features = ["zlib"] }
35 git2 = "0.13.5"
36 git2-curl = "0.14.0"
37 glob = "0.3.0"
38 hex = "0.4"
39 home = "0.5"
40 humantime = "2.0.0"
41 ignore = "0.4.7"
42 lazy_static = "1.2.0"
43 jobserver = "0.1.21"
44 lazycell = "1.2.0"
45 libc = "0.2"
46 log = "0.4.6"
47 libgit2-sys = "0.12.7"
48 memchr = "2.1.3"
49 num_cpus = "1.0"
50 opener = "0.4"
51 percent-encoding = "2.0"
52 rustfix = "0.5.0"
53 same-file = "1"
54 semver = { version = "0.10", features = ["serde"] }
55 serde = { version = "1.0.82", features = ["derive"] }
56 serde_ignored = "0.1.0"
57 serde_json = { version = "1.0.30", features = ["raw_value"] }
58 shell-escape = "0.1.4"
59 strip-ansi-escapes = "0.1.0"
60 tar = { version = "0.4.26", default-features = false }
61 tempfile = "3.0"
62 termcolor = "1.0"
63 toml = "0.5.3"
64 unicode-xid = "0.2.0"
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 = "15.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.7.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"]