]> git.proxmox.com Git - cargo.git/blob - Cargo.toml
Update rustfix.
[cargo.git] / Cargo.toml
1 [package]
2 name = "cargo"
3 version = "0.55.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 cargo-util = { path = "crates/cargo-util", version = "0.1.0" }
26 crates-io = { path = "crates/crates-io", version = "0.33.0" }
27 crossbeam-utils = "0.8"
28 curl = { version = "0.4.23", features = ["http2"] }
29 curl-sys = "0.4.22"
30 env_logger = "0.8.1"
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.21"
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.4"
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 rand = "0.8.3"
77
78 [target.'cfg(windows)'.dependencies]
79 fwdansi = "1.1.0"
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 cargo-test-macro = { path = "crates/cargo-test-macro" }
104 cargo-test-support = { path = "crates/cargo-test-support" }
105
106 [build-dependencies]
107 flate2 = { version = "1.0.3", default-features = false, features = ["zlib"] }
108 tar = { version = "0.4.26", default-features = false }
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"]