]> git.proxmox.com Git - cargo.git/blob - Cargo.toml
Auto merge of #9808 - QiangHeisenberg:examples, r=ehuss
[cargo.git] / Cargo.toml
1 [package]
2 name = "cargo"
3 version = "0.57.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.2" }
25 cargo-util = { path = "crates/cargo-util", version = "0.1.1" }
26 crates-io = { path = "crates/crates-io", version = "0.33.0" }
27 crossbeam-utils = "0.8"
28 curl = { version = "0.4.38", features = ["http2"] }
29 curl-sys = "0.4.45"
30 env_logger = "0.9.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.16"
36 git2-curl = "0.14.1"
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.24"
44 lazycell = "1.2.0"
45 libc = "0.2"
46 log = "0.4.6"
47 libgit2-sys = "0.12.18"
48 memchr = "2.1.3"
49 num_cpus = "1.0"
50 opener = "0.5"
51 percent-encoding = "2.0"
52 rustfix = "0.6.0"
53 semver = { version = "1.0.3", features = ["serde"] }
54 serde = { version = "1.0.123", features = ["derive"] }
55 serde_ignored = "0.1.0"
56 serde_json = { version = "1.0.30", features = ["raw_value"] }
57 shell-escape = "0.1.4"
58 strip-ansi-escapes = "0.1.0"
59 tar = { version = "0.4.35", default-features = false }
60 tempfile = "3.0"
61 termcolor = "1.1"
62 toml = "0.5.7"
63 unicode-xid = "0.2.0"
64 url = "2.2.2"
65 walkdir = "2.2"
66 clap = "2.31.2"
67 unicode-width = "0.1.5"
68 openssl = { version = '0.10.11', optional = true }
69 im-rc = "15.0.0"
70 itertools = "0.10.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(windows)'.dependencies]
78 fwdansi = "1.1.0"
79
80 [target.'cfg(windows)'.dependencies.winapi]
81 version = "0.3"
82 features = [
83 "basetsd",
84 "handleapi",
85 "jobapi",
86 "jobapi2",
87 "memoryapi",
88 "minwindef",
89 "ntdef",
90 "ntstatus",
91 "processenv",
92 "processthreadsapi",
93 "psapi",
94 "synchapi",
95 "winerror",
96 "winbase",
97 "wincon",
98 "winnt",
99 ]
100
101 [dev-dependencies]
102 cargo-test-macro = { path = "crates/cargo-test-macro" }
103 cargo-test-support = { path = "crates/cargo-test-support" }
104
105 [build-dependencies]
106 flate2 = { version = "1.0.3", default-features = false, features = ["zlib"] }
107 tar = { version = "0.4.26", default-features = false }
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"]