Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Throttle is not being exported #1951

Closed
psmit opened this issue Dec 12, 2019 · 2 comments
Closed

Throttle is not being exported #1951

psmit opened this issue Dec 12, 2019 · 2 comments

Comments

@psmit
Copy link

psmit commented Dec 12, 2019

Version 2.4.0

Platform Linux

Subcrates tokio.time

Description

It seems that throttle in tokio::time is not being exported anymore, making it impossible to use.

I think it is as easy as adding:

mod throttle;
pub use throttle::Throttle;

to tokio/src/time/mod.rs, and if that is the case I'm happy to make a PR.

@vorot93
Copy link
Member

vorot93 commented Dec 13, 2019

It requires a bit more than just a re-export. There's a PR available at #1949

@carllerche
Copy link
Member

Throttle came back. 👍 thanks @vorot93

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

No branches or pull requests

3 participants