]> git.proxmox.com Git - cargo.git/blame - Cargo.toml
Auto merge of #10707 - ehuss:beta-backport, r=weihanglo
[cargo.git] / Cargo.toml
CommitLineData
6f240656 1[package]
4abf27e7 2name = "cargo"
3d5f9441 3version = "0.63.0"
cabe1cca 4edition = "2021"
e3eb2868 5license = "MIT OR Apache-2.0"
a4c54384
AC
6homepage = "https://crates.io"
7repository = "https://github.com/rust-lang/cargo"
d941bea3 8documentation = "https://docs.rs/cargo"
d551d904 9readme = "README.md"
a4c54384
AC
10description = """
11Cargo, a package manager for Rust.
12"""
4abf27e7 13
ea3d601f 14[lib]
4abf27e7
AC
15name = "cargo"
16path = "src/cargo/lib.rs"
17
e8484805 18[dependencies]
9629f99d 19atty = "0.2"
a46df8fe 20bytesize = "1.0"
f71b231a 21cargo-platform = { path = "crates/cargo-platform", version = "0.1.2" }
4f6a2ec2 22cargo-util = { path = "crates/cargo-util", version = "0.1.3" }
43a063c8 23crates-io = { path = "crates/crates-io", version = "0.34.0" }
ec6f6469 24crossbeam-utils = "0.8"
22ff7ac4 25curl = { version = "0.4.41", features = ["http2"] }
84283f0c 26curl-sys = "0.4.50"
fc3e5697 27env_logger = "0.9.0"
00863327 28pretty_env_logger = { version = "0.4", optional = true }
3a18c89a 29anyhow = "1.0"
c04a87c1 30filetime = "0.2.9"
38aa4a23 31flate2 = { version = "1.0.3", default-features = false, features = ["zlib"] }
0e044546 32git2 = "0.14.2"
dd701a17 33git2-curl = "0.15.0"
5087cc45 34glob = "0.3.0"
fa05eb23 35hex = "0.4"
1c9b292a 36home = "0.5"
2be0acc1 37humantime = "2.0.0"
5ca5f2f1 38indexmap = "1"
337fbaaa 39ignore = "0.4.7"
76ce4dfe 40lazy_static = "1.2.0"
70a1ce35 41jobserver = "0.1.24"
d9534bf4 42lazycell = "1.2.0"
a40f7d90 43libc = "0.2"
76ce4dfe 44log = "0.4.6"
0e044546 45libgit2-sys = "0.13.2"
6babe72e 46memchr = "2.1.3"
ff9ee5cc 47opener = "0.5"
5a8be7ba 48os_info = "3.0.7"
5ca5f2f1 49pathdiff = "0.2"
3c67dc84 50percent-encoding = "2.0"
9362fe5f 51rustfix = "0.6.0"
f5c26458 52semver = { version = "1.0.3", features = ["serde"] }
54742ce7 53serde = { version = "1.0.123", features = ["derive"] }
09dc727f 54serde_ignored = "0.1.0"
d1218d29 55serde_json = { version = "1.0.30", features = ["raw_value"] }
96a56422 56shell-escape = "0.1.4"
dcd4999d 57strip-ansi-escapes = "0.1.0"
e4f09b6a 58tar = { version = "0.4.36", default-features = false }
8daf81e1 59tempfile = "3.0"
2b17b2d5 60termcolor = "1.1"
8e086805 61toml_edit = { version = "0.14.3", features = ["serde", "easy", "perf"] }
95008f91 62unicode-xid = "0.2.0"
a5b4b471 63url = "2.2.2"
78a60bc7 64walkdir = "2.2"
dfda89a8 65clap = "3.1.0"
a8081a00 66unicode-width = "0.1.5"
585c7d43 67openssl = { version = '0.10.11', optional = true }
b5c19191 68im-rc = "15.0.0"
0847630d 69itertools = "0.10.0"
8bd0572c 70
4477355b
AC
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.
74rustc-workspace-hack = "1.0.0"
841f20ae 75
f6dd5c2e 76[target.'cfg(windows)'.dependencies]
dcd49a2f 77fwdansi = "1.1.0"
f6a29a77 78
64828ba9
AC
79[target.'cfg(windows)'.dependencies.winapi]
80version = "0.3"
81features = [
4671a2aa 82 "basetsd",
64828ba9
AC
83 "handleapi",
84 "jobapi",
85 "jobapi2",
4671a2aa 86 "memoryapi",
64828ba9
AC
87 "minwindef",
88 "ntdef",
46b18260 89 "ntstatus",
64828ba9
AC
90 "processenv",
91 "processthreadsapi",
92 "psapi",
93 "synchapi",
94 "winerror",
95 "winbase",
96 "wincon",
97 "winnt",
98]
f6dd5c2e 99
22e7ede6 100[dev-dependencies]
0b5c065f
EH
101cargo-test-macro = { path = "crates/cargo-test-macro" }
102cargo-test-support = { path = "crates/cargo-test-support" }
6ec86fc4 103snapbox = { version = "0.2.8", features = ["diff", "path"] }
9fba127e 104
0e26eae5
EH
105[build-dependencies]
106flate2 = { version = "1.0.3", default-features = false, features = ["zlib"] }
107tar = { version = "0.4.26", default-features = false }
108
4abf27e7
AC
109[[bin]]
110name = "cargo"
111test = false
d8450848 112doc = false
585c7d43
AC
113
114[features]
0e031b5a 115deny-warnings = []
d7071c2f
GL
116vendored-openssl = ["openssl/vendored"]
117pretty-env-logger = ["pretty_env_logger"]