Skip to content

build(deps): drop the default features of rstest - #535

Merged
Lencerf merged 1 commit into
google:mainfrom
Lencerf:build/rstest-default-features
Nov 9, 2026
Merged

Lencerf merged 1 commit into
google:mainfrom
Lencerf:build/rstest-default-features

Conversation

@Lencerf

@Lencerf Lencerf commented Nov 9, 2026

Copy link
Copy Markdown
Collaborator

cargo deny check now rejects pin-utils as unmaintained
(RUSTSEC-2026-0441), which
fails the Rust workflow of every pull request. pin-utils only comes in through
futures-util, which rstest pulls in for its default async-timeout feature.
No test is async and no crate renames rstest, so neither default feature is
needed.

Disabling them removes 13 packages from Cargo.lock, including futures-util
and pin-utils. cargo +nightly fmt --check, cargo clippy --all-targets -D warnings on x86_64-unknown-linux-gnu/musl, aarch64-unknown-linux-gnu and
aarch64-apple-darwin, and cargo test --workspace pass locally.

cargo deny now rejects pin-utils as unmaintained (RUSTSEC-2026-0441),
which fails the CI. pin-utils only comes in through futures-util, which
rstest pulls in for its default async-timeout feature. No test is async
and no crate renames rstest, so neither default feature is needed.

Disabling them removes 13 packages from Cargo.lock, including
futures-util and pin-utils.

Signed-off-by: Changyuan Lyu <changyuanl@google.com>
@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 42694681328

Coverage increased (+0.03%) to 39.405%

Details

  • Coverage increased (+0.03%) from the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 16237
Covered Lines: 6204
Line Coverage: 38.21%
Relevant Branches: 1672
Covered Branches: 853
Branch Coverage: 51.02%
Branches in Coverage %: Yes
Coverage Strength: 894.99 hits per line

💛 - Coveralls

@Lencerf
Lencerf added this pull request to the merge queue Nov 9, 2026
Merged via the queue into google:main with commit 074e8b2 Nov 9, 2026
20 checks passed
@Lencerf
Lencerf deleted the build/rstest-default-features branch November 9, 2026 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants