udoprog / leaky-bucket

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

remove non-exhaustive enum to allow build with stable #3

Closed kgfw996 closed 4 years ago

kgfw996 commented 4 years ago

Would be nice to allow usage with rust-stable

udoprog commented 4 years ago

Hey! #[non_exhaustive] was stabilized in Rust 1.40.0. Are you trying to target an older stable?

udoprog commented 4 years ago

@kgfw996 poke?

udoprog commented 4 years ago

Closing until clarified.