]> git.proxmox.com Git - cargo.git/blob - Cargo.toml
Contrib: Document submodule update process
[cargo.git] / Cargo.toml
1 [package]
2 name = "cargo"
3 version = "0.65.0"
4 edition = "2021"
5 license = "MIT OR Apache-2.0"
6 homepage = "https://crates.io"
7 repository = "https://github.com/rust-lang/cargo"
8 documentation = "https://docs.rs/cargo"
9 readme = "README.md"
10 description = """
11 Cargo, a package manager for Rust.
12 """
13
14 [lib]
15 name = "cargo"
16 path = "src/cargo/lib.rs"
17
18 [dependencies]
19 atty = "0.2"
20 bytesize = "1.0"
21 cargo-platform = { path = "crates/cargo-platform", version = "0.1.2" }
22 cargo-util = { path = "crates/cargo-util", version = "0.2.1" }
23 crates-io = { path = "crates/crates-io", version = "0.34.0" }
24 crossbeam-utils = "0.8"
25 curl = { version = "0.4.43", features = ["http2"] }
26 curl-sys = "0.4.55"
27 env_logger = "0.9.0"
28 pretty_env_logger = { version = "0.4", optional = true }
29 anyhow = "1.0"
30 filetime = "0.2.9"
31 flate2 = { version = "1.0.3", default-features = false, features = ["zlib"] }
32 git2 = "0.14.2"
33 git2-curl = "0.15.0"
34 glob = "0.3.0"
35 hex = "0.4"
36 home = "0.5"
37 humantime = "2.0.0"
38 indexmap = "1"
39 ignore = "0.4.7"
40 lazy_static = "1.2.0"
41 jobserver = "0.1.24"
42 lazycell = "1.2.0"
43 libc = "0.2"
44 log = "0.4.6"
45 libgit2-sys = "0.13.2"
46 memchr = "2.1.3"
47 num_cpus = "1.0"
48 opener = "0.5"
49 os_info = "3.4.0"
50 pathdiff = "0.2"
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.38", default-features = false }
60 tempfile = "3.0"
61 termcolor = "1.1"
62 toml_edit = { version = "0.14.3", features = ["serde", "easy", "perf"] }
63 unicode-xid = "0.2.0"
64 url = "2.2.2"
65 walkdir = "2.2"
66 clap = "3.2.1"
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 snapbox = { version = "0.2.8", features = ["diff", "path"] }
105
106 [build-dependencies]
107 flate2 = { version = "1.0.3", default-features = false, features = ["zlib"] }
108 tar = { version = "0.4.38", 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"]