udoprog / leaky-bucket

A token-based rate limiter based on the leaky bucket algorithm.
Apache License 2.0
92 stars 10 forks source link

Update tokio #4

Closed k3d3 closed 4 years ago

k3d3 commented 4 years ago

Newer versions of tokio require the "rt-core" feature to be enabled for tokio::spawn to be available. This adds the feature and also updates tokio to the latest 0.2 version.

udoprog commented 4 years ago

Sweet, thanks!

udoprog commented 4 years ago

0.7.3 published, I modified the static feature to make rt-core conditional on it. I really appreciate you pointed out this issue!