mirror of
https://github.com/rust-lang/cargo
synced 2024-07-17 11:08:08 +00:00
![bors](/assets/img/avatar_default.png)
Update opener requirement from 0.4 to 0.5 Updates the requirements on [opener](https://github.com/Seeker14491/opener) to permit the latest version. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Seeker14491/opener/blob/master/CHANGELOG.md">opener's changelog</a>.</em></p> <blockquote> <h2>[0.5.0] - 2021-06-11</h2> <h3>Added</h3> <ul> <li><code>open_browser()</code>, which uses the <code>$BROWSER</code> environment variable before falling back to <code>open()</code>.</li> <li>WSL-specific implementation. Previously, WSL used the same implementation as Linux. Now the strategy on WSL is to use the system's <code>wslview</code> command from <a href="https://github.com/wslutilities/wslu"><code>wslu</code></a> if available, falling back to the system <code>xdg-open</code>, if available.</li> </ul> <h3>Changed</h3> <ul> <li>On Linux (non-WSL), the system <code>xdg-open</code> is now used if present. Otherwise, the bundled version is used, as before.</li> <li>Avoid blocking the thread on Linux and WSL.</li> </ul> <h3>Removed</h3> <ul> <li><code>impl From<io::Error> for OpenError</code>.</li> </ul> <h2>[0.4.1] - 2019-09-30</h2> <h3>Changed</h3> <ul> <li>Update <code>xdg-open</code>.</li> </ul> <h2>[0.4.0] - 2019-05-02</h2> <h3>Added</h3> <ul> <li><code>OpenError</code> now implements <code>std::error::Error</code>.</li> </ul> <h3>Changed</h3> <ul> <li><code>OpenError</code>'s <code>failure::Fail</code> impl was removed from this crate, but the failure crate provides a blanket impl of <code>failure::Fail</code> for types implementing <code>std::error::Error</code>, so this shouldn't break anything.</li> </ul> <h2>[0.3.0] - 2018-08-18</h2> <h3>Added</h3> <ul> <li><code>stderr</code> field to <code>OpenError::ExitStatus</code> variant, which captures anything the failed process wrote to stderr.</li> </ul> <h2>[0.2.0] - 2018-08-08</h2> <h3>Removed</h3> <ul> <li>The <code>open_sys</code> function, which was erroneously pub on non-Windows builds.</li> </ul> <h2>[0.1.0] - 2018-08-08</h2> <ul> <li>Initial release.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="86e0a154d2
"><code>86e0a15</code></a> Fix Drakefile.ts</li> <li><a href="4261c2be99
"><code>4261c2b</code></a> Release v0.5.0</li> <li><a href="5d24271a65
"><code>5d24271</code></a> Revert command name in error type to <code>&'static str</code></li> <li><a href="9a36c6e656
"><code>9a36c6e</code></a> Remove dependency on <code>wsl</code> crate</li> <li><a href="165b933775
"><code>165b933</code></a> Avoid blocking</li> <li><a href="5c1e99a1c1
"><code>5c1e99a</code></a> Update changelog</li> <li><a href="2da976eb48
"><code>2da976e</code></a> Refactor <code>linux_and_more</code> module</li> <li><a href="f5c5564a9c
"><code>f5c5564</code></a> Fix newline being included after WSL path conversion</li> <li><a href="bd30011d61
"><code>bd30011</code></a> [WSL] Try <code>wslview</code> first instead of second</li> <li><a href="e16875d797
"><code>e16875d</code></a> Misc formatting changes</li> <li>Additional commits viewable in <a href="https://github.com/Seeker14491/opener/compare/v0.4.1...v0.5.0">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting ``@dependabot` rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - ``@dependabot` rebase` will rebase this PR - ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it - ``@dependabot` merge` will merge this PR after your CI passes on it - ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it - ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging - ``@dependabot` reopen` will reopen this PR if it is closed - ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
119 lines
2.8 KiB
TOML
119 lines
2.8 KiB
TOML
[package]
|
|
name = "cargo"
|
|
version = "0.56.0"
|
|
edition = "2018"
|
|
authors = ["Yehuda Katz <wycats@gmail.com>",
|
|
"Carl Lerche <me@carllerche.com>",
|
|
"Alex Crichton <alex@alexcrichton.com>"]
|
|
license = "MIT OR Apache-2.0"
|
|
homepage = "https://crates.io"
|
|
repository = "https://github.com/rust-lang/cargo"
|
|
documentation = "https://docs.rs/cargo"
|
|
readme = "README.md"
|
|
description = """
|
|
Cargo, a package manager for Rust.
|
|
"""
|
|
|
|
[lib]
|
|
name = "cargo"
|
|
path = "src/cargo/lib.rs"
|
|
|
|
[dependencies]
|
|
atty = "0.2"
|
|
bytesize = "1.0"
|
|
cargo-platform = { path = "crates/cargo-platform", version = "0.1.1" }
|
|
cargo-util = { path = "crates/cargo-util", version = "0.1.0" }
|
|
crates-io = { path = "crates/crates-io", version = "0.33.0" }
|
|
crossbeam-utils = "0.8"
|
|
curl = { version = "0.4.23", features = ["http2"] }
|
|
curl-sys = "0.4.22"
|
|
env_logger = "0.8.1"
|
|
pretty_env_logger = { version = "0.4", optional = true }
|
|
anyhow = "1.0"
|
|
filetime = "0.2.9"
|
|
flate2 = { version = "1.0.3", default-features = false, features = ["zlib"] }
|
|
git2 = "0.13.16"
|
|
git2-curl = "0.14.1"
|
|
glob = "0.3.0"
|
|
hex = "0.4"
|
|
home = "0.5"
|
|
humantime = "2.0.0"
|
|
ignore = "0.4.7"
|
|
lazy_static = "1.2.0"
|
|
jobserver = "0.1.21"
|
|
lazycell = "1.2.0"
|
|
libc = "0.2"
|
|
log = "0.4.6"
|
|
libgit2-sys = "0.12.18"
|
|
memchr = "2.1.3"
|
|
num_cpus = "1.0"
|
|
opener = "0.5"
|
|
percent-encoding = "2.0"
|
|
rustfix = "0.6.0"
|
|
semver = { version = "1.0.3", features = ["serde"] }
|
|
serde = { version = "1.0.123", features = ["derive"] }
|
|
serde_ignored = "0.1.0"
|
|
serde_json = { version = "1.0.30", features = ["raw_value"] }
|
|
shell-escape = "0.1.4"
|
|
strip-ansi-escapes = "0.1.0"
|
|
tar = { version = "0.4.35", default-features = false }
|
|
tempfile = "3.0"
|
|
termcolor = "1.1"
|
|
toml = "0.5.7"
|
|
unicode-xid = "0.2.0"
|
|
url = "2.2.2"
|
|
walkdir = "2.2"
|
|
clap = "2.31.2"
|
|
unicode-width = "0.1.5"
|
|
openssl = { version = '0.10.11', optional = true }
|
|
im-rc = "15.0.0"
|
|
itertools = "0.10.0"
|
|
|
|
# A noop dependency that changes in the Rust repository, it's a bit of a hack.
|
|
# See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
|
|
# for more information.
|
|
rustc-workspace-hack = "1.0.0"
|
|
rand = "0.8.3"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
fwdansi = "1.1.0"
|
|
|
|
[target.'cfg(windows)'.dependencies.winapi]
|
|
version = "0.3"
|
|
features = [
|
|
"basetsd",
|
|
"handleapi",
|
|
"jobapi",
|
|
"jobapi2",
|
|
"memoryapi",
|
|
"minwindef",
|
|
"ntdef",
|
|
"ntstatus",
|
|
"processenv",
|
|
"processthreadsapi",
|
|
"psapi",
|
|
"synchapi",
|
|
"winerror",
|
|
"winbase",
|
|
"wincon",
|
|
"winnt",
|
|
]
|
|
|
|
[dev-dependencies]
|
|
cargo-test-macro = { path = "crates/cargo-test-macro" }
|
|
cargo-test-support = { path = "crates/cargo-test-support" }
|
|
|
|
[build-dependencies]
|
|
flate2 = { version = "1.0.3", default-features = false, features = ["zlib"] }
|
|
tar = { version = "0.4.26", default-features = false }
|
|
|
|
[[bin]]
|
|
name = "cargo"
|
|
test = false
|
|
doc = false
|
|
|
|
[features]
|
|
deny-warnings = []
|
|
vendored-openssl = ["openssl/vendored"]
|
|
pretty-env-logger = ["pretty_env_logger"]
|