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