Skip to content

Conversation

@WaterWhisperer
Copy link

Fixes #511

Motivation

We have an implicit tokio Cargo feature because we don't use dep: syntax for it.

Solution

makes the tokio dependency explicit

@jplatte
Copy link
Member

jplatte commented Dec 27, 2025

That CI error is really strange. Could you try moving the rust-toolchain action step in the MSRV job after the cargo update steps? Maybe this is an old bug in cargo that since got fixed.

@WaterWhisperer
Copy link
Author

That CI error is really strange. Could you try moving the rust-toolchain action step in the MSRV job after the cargo update steps? Maybe this is an old bug in cargo that since got fixed.

Sure, thanks for the review

@WaterWhisperer WaterWhisperer force-pushed the remove-implicit-tokio-feature branch 2 times, most recently from 7e620fa to c48f7a9 Compare December 28, 2025 06:54
@jplatte
Copy link
Member

jplatte commented Dec 28, 2025

Okay, so that didn't work. I have another idea: Can you (after rebasing, this PR seems to have a conflict now) move the toolchain action back, and also add --all-features to the problematic cargo update invocation? I think it's maybe saying that tokio is not a dependency that can be updated because it needs to resolve what dependencies actually exist and uses the default features for that unless told otherwise.

@WaterWhisperer WaterWhisperer force-pushed the remove-implicit-tokio-feature branch from c48f7a9 to 2748fe0 Compare December 29, 2025 08:34
@WaterWhisperer
Copy link
Author

Okay, so that didn't work. I have another idea: Can you (after rebasing, this PR seems to have a conflict now) move the toolchain action back, and also add --all-features to the problematic cargo update invocation? I think it's maybe saying that tokio is not a dependency that can be updated because it needs to resolve what dependencies actually exist and uses the default features for that unless told otherwise.

Seems that cargo update command does not support the --all-features flag.

@WaterWhisperer
Copy link
Author

This error is really strange :(

@jplatte
Copy link
Member

jplatte commented Dec 29, 2025

I'll try to reproduce / fix locally, when I get the time.

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.

Remove implicit tokio feature

2 participants