chore(deps)(deps): update fs4 requirement from 0.7 to 1.1 - #58
chore(deps)(deps): update fs4 requirement from 0.7 to 1.1#58dependabot[bot] wants to merge 1 commit into
Conversation
Unblocks 6+ Dependabot cargo PRs (#57 #58 #59 #60 #62 #65) stuck on 'build-test (20, 3.11, stable)' due to libdbus-sys build.rs panic. octo-cable -> bluer -> dbus -> libdbus-sys chain needs pkg-config and libdbus-1-dev headers. ci.yml + coverage.yml already install these; quota-router.yml lacked the install. Dependabot cargo lockfile bumps invalidate the cache, exposing the gap. Same install line as ci.yml + coverage.yml for parity. Both jobs (test, clippy-stable) get the step.
|
@dependabot rebase |
ccc40ff to
d66517e
Compare
|
@dependabot rebase |
Updates the requirements on [fs4](https://github.com/al8n/fs4) to permit the latest version. - [Release notes](https://github.com/al8n/fs4/releases) - [Changelog](https://github.com/al8n/fs4/blob/main/CHANGELOG.md) - [Commits](al8n/fs4@0.7.0...1.1.0) --- updated-dependencies: - dependency-name: fs4 dependency-version: 1.1.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
d66517e to
2ce7472
Compare
|
Closed in favor of upstream removal. fs4 dep was removed in 81226a1; config_writer now uses std::fs::File::try_lock / lock / unlock (stable since Rust 1.89, same flock(2) / LockFileEx primitives). Dependabot will re-open once a future fs4 1.x API change is desired; until then the dep stays out of the workspace. |
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
Rust 1.89 stabilized std::fs::File::try_lock / lock / unlock, backed by flock(2) on Unix and LockFileEx on Windows — same primitives fs4 wraps. Migration unblocks PR #58 (fs4 0.7->1.1) by removing the fs4 dependency entirely instead of re-mapping its API across the 0.7 -> 0.8 (free functions) -> 1.1 (renamed trait methods) churn. Changes: - config_writer.rs: lock_file.try_lock_exclusive() -> try_lock() holder.lock_exclusive() -> holder.lock() holder.unlock() -> holder.unlock() - config_writer.rs: convert fs4 TryLockError -> io::Error via .into() (both fs4 and std types impl From for io::Error) - drop use fs4::FileExt imports (no longer needed) - Cargo.toml: remove fs4 = { version = "1.1", features = ["sync"] } Behavior preserved: - Linux: flock(LOCK_EX | LOCK_NB) on open file description (same as fs4) - Windows: LockFileEx with ERROR_LOCK_VIOLATION handling (same as fs4) - 39 lib tests pass; clippy clean.
13 Dependabot PRs reviewed for impact + feasibility. 6 merged (#54 #55 #56 #61 #64 #66), 7 closed (#57 #58 #59 #60 #62 #63 #65). Analysis covers each PR's CI status, dep ownership, bump rationale, breaking-change audit, merge sequencing, and infra fixes landed (libdbus install + hmac-sha256 + std lock + stoolap parser catch-all).
Updates the requirements on fs4 to permit the latest version.
Release notes
Sourced from fs4's releases.
Changelog
Sourced from fs4's changelog.
... (truncated)
Commits
5f81cf2Release v1.1.0: unify backend traits, seal them, addDynAsyncFileExt(#51)16bab4bRelease v1.0.2: fix WASI no-default build, MSRV CI, repo rename (#50)f5e148eRelease v1.0.1: fix sparse allocate, Windows statvfs, Fuchsia build (#49)fb3e036Release v1.0.0: match std file-lock API, fix platform bugs (#48)4732891Fix Rust 1.89+ compatibility. (#46)9ce618cAdd redox support (#43)8217d4cREADME: Adds link to rustix (#42)9d15e85Update outdated docs511e2d2bumpuprustixversion (#40)7267083CHANGELOG.md: Fix some typos (#37)