Skip to content

Conversation

@WhyNotHugo
Copy link
Contributor

Tokio already provides mpsc and oneshot, and it is an unconditional dependency. Use those implementations and drop a superfluous dependency.

@WhyNotHugo
Copy link
Contributor Author

v2: applied cargo fmt

@WhyNotHugo
Copy link
Contributor Author

Odd, there are some failures which didn't come up locally. I'll leave this as draft until I've resolve these.

@WhyNotHugo WhyNotHugo marked this pull request as draft September 10, 2025 13:05
@0x676e67
Copy link
Contributor

The API of futures-channel is somewhat different from Tokio’s channel. Doesn’t it need to be changed?

@WhyNotHugo
Copy link
Contributor Author

WhyNotHugo commented Sep 10, 2025 via email

@WhyNotHugo
Copy link
Contributor Author

We're relying on Receiver implementing Stream, which tokio's doesn't. I don't think this change is feasible.

Sorry for the noise.

Tokio already provides mpsc and oneshot, and it is an unconditional
dependency. Use those implementations and drop a superfluous dependency.
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