]> git.proxmox.com Git - cargo.git/blob - Cargo.toml
Stabilize namespaced and weak dependency features.
[cargo.git] / Cargo.toml
1 [package]
2 name = "cargo"
3 version = "0.60.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.13.23"
33 git2-curl = "0.14.1"
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.12.24"
45 memchr = "2.1.3"
46 num_cpus = "1.0"
47 opener = "0.5"
48 os_info = "3.0.7"
49 percent-encoding = "2.0"
50 rustfix = "0.6.0"
51 semver = { version = "1.0.3", features = ["serde"] }
52 serde = { version = "1.0.123", features = ["derive"] }
53 serde_ignored = "0.1.0"
54 serde_json = { version = "1.0.30", features = ["raw_value"] }
55 shell-escape = "0.1.4"
56 strip-ansi-escapes = "0.1.0"
57 tar = { version = "0.4.36", default-features = false }
58 tempfile = "3.0"
59 termcolor = "1.1"
60 toml = "0.5.7"
61 unicode-xid = "0.2.0"
62 url = "2.2.2"
63 walkdir = "2.2"
64 clap = "2.34.0"
65 unicode-width = "0.1.5"
66 openssl = { version = '0.10.11', optional = true }
67 im-rc = "15.0.0"
68 itertools = "0.10.0"
69
70 # A noop dependency that changes in the Rust repository, it's a bit of a hack.
71 # See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
72 # for more information.
73 rustc-workspace-hack = "1.0.0"
74
75 [target.'cfg(windows)'.dependencies]
76 fwdansi = "1.1.0"
77
78 [target.'cfg(windows)'.dependencies.winapi]
79 version = "0.3"
80 features = [
81 "basetsd",
82 "handleapi",
83 "jobapi",
84 "jobapi2",
85 "memoryapi",
86 "minwindef",
87 "ntdef",
88 "ntstatus",
89 "processenv",
90 "processthreadsapi",
91 "psapi",
92 "synchapi",
93 "winerror",
94 "winbase",
95 "wincon",
96 "winnt",
97 ]
98
99 [dev-dependencies]
100 cargo-test-macro = { path = "crates/cargo-test-macro" }
101 cargo-test-support = { path = "crates/cargo-test-support" }
102
103 [build-dependencies]
104 flate2 = { version = "1.0.3", default-features = false, features = ["zlib"] }
105 tar = { version = "0.4.26", default-features = false }
106
107 [[bin]]
108 name = "cargo"
109 test = false
110 doc = false
111
112 [features]
113 deny-warnings = []
114 vendored-openssl = ["openssl/vendored"]
115 pretty-env-logger = ["pretty_env_logger"]