]> git.proxmox.com Git - cargo.git/blob - Cargo.toml
Auto merge of #10142 - jyn514:bin-private-link, r=ehuss
[cargo.git] / Cargo.toml
1 [package]
2 name = "cargo"
3 version = "0.63.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.1.3" }
23 crates-io = { path = "crates/crates-io", version = "0.34.0" }
24 crossbeam-utils = "0.8"
25 curl = { version = "0.4.41", features = ["http2"] }
26 curl-sys = "0.4.50"
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 opener = "0.5"
48 os_info = "3.0.7"
49 pathdiff = "0.2"
50 percent-encoding = "2.0"
51 rustfix = "0.6.0"
52 semver = { version = "1.0.3", features = ["serde"] }
53 serde = { version = "1.0.123", features = ["derive"] }
54 serde_ignored = "0.1.0"
55 serde_json = { version = "1.0.30", features = ["raw_value"] }
56 shell-escape = "0.1.4"
57 strip-ansi-escapes = "0.1.0"
58 tar = { version = "0.4.36", default-features = false }
59 tempfile = "3.0"
60 termcolor = "1.1"
61 toml_edit = { version = "0.14.3", features = ["serde", "easy", "perf"] }
62 unicode-xid = "0.2.0"
63 url = "2.2.2"
64 walkdir = "2.2"
65 clap = "3.1.0"
66 unicode-width = "0.1.5"
67 openssl = { version = '0.10.11', optional = true }
68 im-rc = "15.0.0"
69 itertools = "0.10.0"
70
71 # A noop dependency that changes in the Rust repository, it's a bit of a hack.
72 # See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
73 # for more information.
74 rustc-workspace-hack = "1.0.0"
75
76 [target.'cfg(windows)'.dependencies]
77 fwdansi = "1.1.0"
78
79 [target.'cfg(windows)'.dependencies.winapi]
80 version = "0.3"
81 features = [
82 "basetsd",
83 "handleapi",
84 "jobapi",
85 "jobapi2",
86 "memoryapi",
87 "minwindef",
88 "ntdef",
89 "ntstatus",
90 "processenv",
91 "processthreadsapi",
92 "psapi",
93 "synchapi",
94 "winerror",
95 "winbase",
96 "wincon",
97 "winnt",
98 ]
99
100 [dev-dependencies]
101 cargo-test-macro = { path = "crates/cargo-test-macro" }
102 cargo-test-support = { path = "crates/cargo-test-support" }
103 snapbox = { version = "0.2.8", features = ["diff", "path"] }
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"]