]> git.proxmox.com Git - cargo.git/blob - Cargo.toml
Always include `Cargo.toml` when packaging.
[cargo.git] / Cargo.toml
1 [package]
2 name = "cargo"
3 version = "0.37.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 description = """
13 Cargo, a package manager for Rust.
14 """
15
16 [lib]
17 name = "cargo"
18 path = "src/cargo/lib.rs"
19
20 [dependencies]
21 atty = "0.2"
22 byteorder = "1.2"
23 bytesize = "1.0"
24 crates-io = { path = "src/crates-io", version = "0.25" }
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.8.0"
36 git2-curl = "0.9.0"
37 glob = "0.3.0"
38 hex = "0.3"
39 home = "0.3"
40 ignore = "0.4"
41 lazy_static = "1.2.0"
42 jobserver = "0.1.13"
43 lazycell = "1.2.0"
44 libc = "0.2"
45 log = "0.4.6"
46 libgit2-sys = "0.7.9"
47 memchr = "2.1.3"
48 num_cpus = "1.0"
49 opener = "0.4"
50 rustfix = "0.4.4"
51 same-file = "1"
52 semver = { version = "0.9.0", features = ["serde"] }
53 serde = { version = "1.0.82", features = ['derive'] }
54 serde_ignored = "0.0.4"
55 serde_json = { version = "1.0.30", features = ["raw_value"] }
56 shell-escape = "0.1.4"
57 tar = { version = "0.4.18", default-features = false }
58 tempfile = "3.0"
59 termcolor = "1.0"
60 toml = "0.5.0"
61 url = "1.1"
62 url_serde = "0.2.0"
63 walkdir = "2.2"
64 clap = "2.31.2"
65 unicode-width = "0.1.5"
66 openssl = { version = '0.10.11', optional = true }
67 im-rc = "12.1.0"
68
69 # A noop dependency that changes in the Rust repository, it's a bit of a hack.
70 # See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
71 # for more information.
72 rustc-workspace-hack = "1.0.0"
73
74 [target.'cfg(target_os = "macos")'.dependencies]
75 core-foundation = { version = "0.6.0", features = ["mac_os_10_7_support"] }
76
77 [target.'cfg(windows)'.dependencies]
78 miow = "0.3.1"
79 fwdansi = "1"
80
81 [target.'cfg(windows)'.dependencies.winapi]
82 version = "0.3"
83 features = [
84 "basetsd",
85 "handleapi",
86 "jobapi",
87 "jobapi2",
88 "memoryapi",
89 "minwindef",
90 "ntdef",
91 "ntstatus",
92 "processenv",
93 "processthreadsapi",
94 "psapi",
95 "synchapi",
96 "winerror",
97 "winbase",
98 "wincon",
99 "winnt",
100 ]
101
102 [dev-dependencies]
103 bufstream = "0.1"
104 proptest = "0.9.1"
105
106 [[bin]]
107 name = "cargo"
108 test = false
109 doc = false
110
111 [features]
112 deny-warnings = []
113 vendored-openssl = ['openssl/vendored']
114 pretty-env-logger = ['pretty_env_logger']