chore(deps): update dependencies, drop unmaintained serde_yaml#79
Merged
Conversation
BridgeAR
marked this pull request as ready for review
June 3, 2026 14:19
Bumping anyhow past 1.0.48 reintroduces the `anyhow::Ok` function that the `use anyhow::*` globs pull in, shadowing `Result::Ok` in pattern position -- the exact breakage the `<=1.0.48` pin was a stop-gap for. Explicit anyhow imports fix it at the root and let the pin go. serde_yaml is unmaintained and deprecated, and the popular serde_yml fork is unsound (RUSTSEC-2025-0068). This moves to yaml_serde, the official YAML organization's fork, which also replaces the unmaintained unsafe-libyaml with libyaml-rs. Its 0.9-line Mapping indexes by &str, so the lazy_static Value keys and the lazy_static dependency are gone. nix's major bump to 0.31 returns `OwnedFd` from `pipe()` and gates `fcntl` behind the `fs` feature. The SIRUN_READY_FD path now sets CLOEXEC on the owned read end before handing the raw fd downstream, closes the write end by dropping its `OwnedFd`, and the `fs` feature is enabled. Drive-by fix: * Remove the unused which dependency and import. Refs: https://rustsec.org/advisories/RUSTSEC-2025-0068.html
BridgeAR
force-pushed
the
BridgeAR/2026-06-03-dep-updates
branch
from
June 12, 2026 10:33
56f950f to
e5e0498
Compare
2 tasks
bengl
reviewed
Jun 16, 2026
bengl
approved these changes
Jun 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Routine dependency refresh plus two changes that needed code, not just version bumps:
<=1.0.48. Past 1.0.51 theuse anyhow::*globs importanyhow::Ok, which shadowsResult::Okin pattern position -- the breakage the pin worked around. Replaced with explicit imports.The rest is a full
cargo update(serde, async-std, regex, libc, ...) plus major bumps for nix, assert_cmd, predicates, and shlex. LICENSE-3rdparty.csv regenerated to match.Drive-by
whichdependency and import (the long-standing build warning).Test plan
cargo teston macOS and Ubuntu (21 example tests)cargo clippy --all-targetsperfcnt,caps, getrusage/perf counters) build on the Ubuntu runner -- they can't compile on macOSRefs: https://rustsec.org/advisories/RUSTSEC-2025-0068.html