]> git.proxmox.com Git - cargo.git/blame - Cargo.toml
Change test 'MIT' license to 'MIT OR Apache-2.0'
[cargo.git] / Cargo.toml
CommitLineData
6f240656 1[package]
4abf27e7 2name = "cargo"
0efc1878 3version = "0.46.0"
04ddd4d0 4edition = "2018"
4abf27e7 5authors = ["Yehuda Katz <wycats@gmail.com>",
6e23ead8
HW
6 "Carl Lerche <me@carllerche.com>",
7 "Alex Crichton <alex@alexcrichton.com>"]
e3eb2868 8license = "MIT OR Apache-2.0"
a4c54384
AC
9homepage = "https://crates.io"
10repository = "https://github.com/rust-lang/cargo"
d941bea3 11documentation = "https://docs.rs/cargo"
d551d904 12readme = "README.md"
a4c54384
AC
13description = """
14Cargo, a package manager for Rust.
15"""
4abf27e7 16
ea3d601f 17[lib]
4abf27e7
AC
18name = "cargo"
19path = "src/cargo/lib.rs"
20
e8484805 21[dependencies]
9629f99d 22atty = "0.2"
a46df8fe 23bytesize = "1.0"
fd65cbd8 24cargo-platform = { path = "crates/cargo-platform", version = "0.1.1" }
65274ea7 25crates-io = { path = "crates/crates-io", version = "0.31.1" }
2ed8f4f0 26crossbeam-utils = "0.7"
ecbbc90f 27crypto-hash = "0.3.1"
d7071c2f 28curl = { version = "0.4.23", features = ["http2"] }
35bcbde3 29curl-sys = "0.4.22"
8f52dc9a 30env_logger = "0.7.0"
00863327 31pretty_env_logger = { version = "0.4", optional = true }
3a18c89a 32anyhow = "1.0"
c04a87c1 33filetime = "0.2.9"
38aa4a23 34flate2 = { version = "1.0.3", default-features = false, features = ["zlib"] }
25715e4f 35git2 = "0.13.5"
82239d7a 36git2-curl = "0.14.0"
5087cc45 37glob = "0.3.0"
fa05eb23 38hex = "0.4"
1c9b292a 39home = "0.5"
2be0acc1 40humantime = "2.0.0"
337fbaaa 41ignore = "0.4.7"
76ce4dfe 42lazy_static = "1.2.0"
8f09ac0c 43jobserver = "0.1.21"
d9534bf4 44lazycell = "1.2.0"
a40f7d90 45libc = "0.2"
76ce4dfe 46log = "0.4.6"
2af2abed 47libgit2-sys = "0.12.7"
6babe72e 48memchr = "2.1.3"
7a8ad369 49num_cpus = "1.0"
c14a3297 50opener = "0.4"
3c67dc84 51percent-encoding = "2.0"
4f6553ab 52remove_dir_all = "0.5.2"
3a18c89a 53rustfix = "0.5.0"
ece662ca 54same-file = "1"
556c236f 55semver = { version = "0.10", features = ["serde"] }
d7071c2f 56serde = { version = "1.0.82", features = ["derive"] }
09dc727f 57serde_ignored = "0.1.0"
d1218d29 58serde_json = { version = "1.0.30", features = ["raw_value"] }
1eaae612 59shell-escape = "0.1.4"
dcd4999d 60strip-ansi-escapes = "0.1.0"
635c4230 61tar = { version = "0.4.26", default-features = false }
8daf81e1 62tempfile = "3.0"
413e6489 63termcolor = "1.0"
b41c209a 64toml = "0.5.3"
95008f91 65unicode-xid = "0.2.0"
2f79b202 66url = "2.0"
78a60bc7 67walkdir = "2.2"
a1735c7a 68clap = "2.31.2"
a8081a00 69unicode-width = "0.1.5"
585c7d43 70openssl = { version = '0.10.11', optional = true }
b5c19191 71im-rc = "15.0.0"
8bd0572c 72
4477355b
AC
73# A noop dependency that changes in the Rust repository, it's a bit of a hack.
74# See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
75# for more information.
76rustc-workspace-hack = "1.0.0"
841f20ae 77
8e0a7cad 78[target.'cfg(target_os = "macos")'.dependencies]
7762e73f 79core-foundation = { version = "0.7.0", features = ["mac_os_10_7_support"] }
8e0a7cad 80
f6dd5c2e 81[target.'cfg(windows)'.dependencies]
8a7123c7 82miow = "0.3.1"
641f7ff2 83fwdansi = "1"
f6a29a77 84
64828ba9
AC
85[target.'cfg(windows)'.dependencies.winapi]
86version = "0.3"
87features = [
4671a2aa 88 "basetsd",
64828ba9
AC
89 "handleapi",
90 "jobapi",
91 "jobapi2",
4671a2aa 92 "memoryapi",
64828ba9
AC
93 "minwindef",
94 "ntdef",
46b18260 95 "ntstatus",
64828ba9
AC
96 "processenv",
97 "processthreadsapi",
98 "psapi",
99 "synchapi",
100 "winerror",
101 "winbase",
102 "wincon",
103 "winnt",
104]
f6dd5c2e 105
22e7ede6 106[dev-dependencies]
290a727a 107cargo-test-macro = { path = "crates/cargo-test-macro", version = "0.1.0" }
9115b2c3 108cargo-test-support = { path = "crates/cargo-test-support", version = "0.1.0" }
9fba127e 109
4abf27e7
AC
110[[bin]]
111name = "cargo"
112test = false
d8450848 113doc = false
585c7d43
AC
114
115[features]
0e031b5a 116deny-warnings = []
d7071c2f
GL
117vendored-openssl = ["openssl/vendored"]
118pretty-env-logger = ["pretty_env_logger"]