mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 22:30:03 +00:00
build(deps): bump the deps group with 3 updates (#2072)
Some checks failed
Release-plz / Release-plz (push) Has been cancelled
Some checks failed
Release-plz / Release-plz (push) Has been cancelled
* build(deps): bump the deps group with 3 updates Bumps the deps group with 3 updates: [compact_str](https://github.com/ParkMyCar/compact_str), [bzip2](https://github.com/trifectatechfoundation/bzip2-rs) and [fs4](https://github.com/al8n/fs4-rs). Updates `compact_str` from 0.8.1 to 0.9.0 - [Changelog](https://github.com/ParkMyCar/compact_str/blob/main/CHANGELOG.md) - [Commits](https://github.com/ParkMyCar/compact_str/compare/v0.8.1...v0.9.0) Updates `bzip2` from 0.5.1 to 0.5.2 - [Release notes](https://github.com/trifectatechfoundation/bzip2-rs/releases) - [Commits](https://github.com/trifectatechfoundation/bzip2-rs/compare/v0.5.1...v0.5.2) Updates `fs4` from 0.12.0 to 0.13.0 - [Release notes](https://github.com/al8n/fs4-rs/releases) - [Changelog](https://github.com/al8n/fs4-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/al8n/fs4-rs/commits) --- updated-dependencies: - dependency-name: compact_str dependency-type: direct:production update-type: version-update:semver-minor dependency-group: deps - dependency-name: bzip2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: deps - dependency-name: fs4 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: deps ... Signed-off-by: dependabot[bot] <support@github.com> * Fix use of fs4::fs_std::FileExt::try_lock* Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
parent
7c38109b23
commit
d9da8aaba4
13 changed files with 35 additions and 50 deletions
|
@ -27,7 +27,7 @@ binstalk = { path = "../binstalk", version = "0.28.27", default-features = false
|
|||
binstalk-manifests = { path = "../binstalk-manifests", version = "0.15.24" }
|
||||
clap = { version = "4.5.3", features = ["derive", "env", "wrap_help"] }
|
||||
clap-cargo = "0.15.2"
|
||||
compact_str = "0.8.0"
|
||||
compact_str = "0.9.0"
|
||||
dirs = "6.0.0"
|
||||
file-format = { version = "0.26.0", default-features = false }
|
||||
home = "0.5.9"
|
||||
|
|
|
@ -13,7 +13,7 @@ license = "GPL-3.0-only"
|
|||
[dependencies]
|
||||
atomic-file-install = { version = "1.0.10", path = "../atomic-file-install" }
|
||||
binstalk-types = { version = "0.9.3", path = "../binstalk-types" }
|
||||
compact_str = { version = "0.8.0", features = ["serde"] }
|
||||
compact_str = { version = "0.9.0", features = ["serde"] }
|
||||
leon = "3.0.0"
|
||||
miette = "7.0.0"
|
||||
normalize-path = { version = "0.2.1", path = "../normalize-path" }
|
||||
|
|
|
@ -20,9 +20,9 @@ async-compression = { version = "0.4.4", features = [
|
|||
] }
|
||||
binstalk-types = { version = "0.9.3", path = "../binstalk-types" }
|
||||
bytes = "1.4.0"
|
||||
bzip2 = "0.5.0"
|
||||
bzip2 = "0.5.2"
|
||||
cfg-if = "1"
|
||||
compact_str = "0.8.0"
|
||||
compact_str = "0.9.0"
|
||||
flate2 = { version = "1.0.28", default-features = false }
|
||||
futures-util = "0.3.30"
|
||||
futures-io = "0.3.30"
|
||||
|
|
|
@ -16,7 +16,7 @@ binstalk-downloader = { version = "0.13.13", path = "../binstalk-downloader", de
|
|||
binstalk-git-repo-api = { version = "0.5.15", path = "../binstalk-git-repo-api" }
|
||||
binstalk-types = { version = "0.9.3", path = "../binstalk-types" }
|
||||
bytes = "1.4.0"
|
||||
compact_str = { version = "0.8.0" }
|
||||
compact_str = { version = "0.9.0" }
|
||||
either = "1.11.0"
|
||||
itertools = "0.14.0"
|
||||
leon = "3.0.0"
|
||||
|
|
|
@ -13,7 +13,7 @@ license = "Apache-2.0 OR MIT"
|
|||
binstalk-downloader = { version = "0.13.13", path = "../binstalk-downloader", default-features = false, features = [
|
||||
"json",
|
||||
] }
|
||||
compact_str = "0.8.0"
|
||||
compact_str = "0.9.0"
|
||||
percent-encoding = "2.2.0"
|
||||
serde = { version = "1.0.163", features = ["derive"] }
|
||||
serde-tuple-vec-map = "1.0.1"
|
||||
|
|
|
@ -12,7 +12,7 @@ license = "Apache-2.0 OR MIT"
|
|||
[dependencies]
|
||||
beef = { version = "0.5.2", features = ["impl_serde"] }
|
||||
binstalk-types = { version = "0.9.3", path = "../binstalk-types" }
|
||||
compact_str = { version = "0.8.0", features = ["serde"] }
|
||||
compact_str = { version = "0.9.0", features = ["serde"] }
|
||||
fs-lock = { version = "0.1.8", path = "../fs-lock", features = ["tracing"] }
|
||||
home = "0.5.9"
|
||||
miette = "7.0.0"
|
||||
|
|
|
@ -18,7 +18,7 @@ binstalk-downloader = { version = "0.13.13", path = "../binstalk-downloader", de
|
|||
] }
|
||||
binstalk-types = { version = "0.9.3", path = "../binstalk-types" }
|
||||
cargo-toml-workspace = { version = "7.0.4", path = "../cargo-toml-workspace" }
|
||||
compact_str = { version = "0.8.0", features = ["serde"] }
|
||||
compact_str = { version = "0.9.0", features = ["serde"] }
|
||||
leon = "3.0.0"
|
||||
miette = "7.0.0"
|
||||
normalize-path = { version = "0.2.1", path = "../normalize-path" }
|
||||
|
|
|
@ -10,7 +10,7 @@ edition = "2021"
|
|||
license = "Apache-2.0 OR MIT"
|
||||
|
||||
[dependencies]
|
||||
compact_str = { version = "0.8.0", features = ["serde"] }
|
||||
compact_str = { version = "0.9.0", features = ["serde"] }
|
||||
maybe-owned = { version = "0.3.4", features = ["serde"] }
|
||||
once_cell = "1.18.0"
|
||||
semver = { version = "1.0.17", features = ["serde"] }
|
||||
|
|
|
@ -20,7 +20,7 @@ binstalk-registry = { version = "0.11.14", path = "../binstalk-registry" }
|
|||
binstalk-types = { version = "0.9.3", path = "../binstalk-types" }
|
||||
cargo-toml-workspace = { version = "7.0.4", path = "../cargo-toml-workspace" }
|
||||
command-group = { version = "5.0.1", features = ["with-tokio"] }
|
||||
compact_str = { version = "0.8.0", features = ["serde"] }
|
||||
compact_str = { version = "0.9.0", features = ["serde"] }
|
||||
detect-targets = { version = "0.1.43", path = "../detect-targets", features = [
|
||||
"tracing",
|
||||
] }
|
||||
|
|
|
@ -11,7 +11,7 @@ license = "Apache-2.0 OR MIT"
|
|||
|
||||
[dependencies]
|
||||
cargo_toml = "0.21.0"
|
||||
compact_str = { version = "0.8.0", features = ["serde"] }
|
||||
compact_str = { version = "0.9.0", features = ["serde"] }
|
||||
glob = "0.3.1"
|
||||
normalize-path = { version = "0.2.1", path = "../normalize-path" }
|
||||
serde = "1.0.163"
|
||||
|
|
|
@ -10,5 +10,5 @@ edition = "2021"
|
|||
license = "Apache-2.0 OR MIT"
|
||||
|
||||
[dependencies]
|
||||
fs4 = "0.12.0"
|
||||
fs4 = "0.13.0"
|
||||
tracing = { version = "0.1", optional = true }
|
||||
|
|
|
@ -44,7 +44,7 @@ impl FileLock {
|
|||
/// Note that this operation is blocking, and should not be called in async contexts.
|
||||
pub fn new_try_exclusive(file: File) -> Result<Self, (File, Option<io::Error>)> {
|
||||
match FileExt::try_lock_exclusive(&file) {
|
||||
Ok(()) => Ok(Self::new(file)),
|
||||
Ok(_) => Ok(Self::new(file)),
|
||||
Err(e) if e.raw_os_error() == fs4::lock_contended_error().raw_os_error() => {
|
||||
Err((file, None))
|
||||
}
|
||||
|
@ -70,7 +70,7 @@ impl FileLock {
|
|||
/// Note that this operation is blocking, and should not be called in async contexts.
|
||||
pub fn new_try_shared(file: File) -> Result<Self, (File, Option<io::Error>)> {
|
||||
match FileExt::try_lock_shared(&file) {
|
||||
Ok(()) => Ok(Self::new(file)),
|
||||
Ok(_) => Ok(Self::new(file)),
|
||||
Err(e) if e.raw_os_error() == fs4::lock_contended_error().raw_os_error() => {
|
||||
Err((file, None))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue