]> git.proxmox.com Git - cargo.git/blob - Cargo.toml
Auto merge of #10479 - weihanglo:bump-git2, r=ehuss
[cargo.git] / Cargo.toml
1 [package]
2 name = "cargo"
3 version = "0.62.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.2" }
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 ignore = "0.4.7"
39 lazy_static = "1.2.0"
40 jobserver = "0.1.24"
41 lazycell = "1.2.0"
42 libc = "0.2"
43 log = "0.4.6"
44 libgit2-sys = "0.13.2"
45 memchr = "2.1.3"
46 opener = "0.5"
47 os_info = "3.0.7"
48 percent-encoding = "2.0"
49 rustfix = "0.6.0"
50 semver = { version = "1.0.3", features = ["serde"] }
51 serde = { version = "1.0.123", features = ["derive"] }
52 serde_ignored = "0.1.0"
53 serde_json = { version = "1.0.30", features = ["raw_value"] }
54 shell-escape = "0.1.4"
55 strip-ansi-escapes = "0.1.0"
56 tar = { version = "0.4.36", default-features = false }
57 tempfile = "3.0"
58 termcolor = "1.1"
59 toml_edit = { version = "0.13.4", features = ["serde", "easy"] }
60 unicode-xid = "0.2.0"
61 url = "2.2.2"
62 walkdir = "2.2"
63 clap = "3.1.0"
64 unicode-width = "0.1.5"
65 openssl = { version = '0.10.11', optional = true }
66 im-rc = "15.0.0"
67 itertools = "0.10.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(windows)'.dependencies]
75 fwdansi = "1.1.0"
76
77 [target.'cfg(windows)'.dependencies.winapi]
78 version = "0.3"
79 features = [
80 "basetsd",
81 "handleapi",
82 "jobapi",
83 "jobapi2",
84 "memoryapi",
85 "minwindef",
86 "ntdef",
87 "ntstatus",
88 "processenv",
89 "processthreadsapi",
90 "psapi",
91 "synchapi",
92 "winerror",
93 "winbase",
94 "wincon",
95 "winnt",
96 ]
97
98 [dev-dependencies]
99 cargo-test-macro = { path = "crates/cargo-test-macro" }
100 cargo-test-support = { path = "crates/cargo-test-support" }
101
102 [build-dependencies]
103 flate2 = { version = "1.0.3", default-features = false, features = ["zlib"] }
104 tar = { version = "0.4.26", default-features = false }
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"]