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
Publish on crates.io? #23
Comments
BTW. Is there any reason why |
Not really — I just figured that it was not all that useful as a crate. I've just published it now though. We may as well have it up there.
If I understand the question correctly, it's so we can perform dependency injection. In tests, we can create a |
You can inject |
A nice trick that was suggested in [1] in which we remove the lifetime (`'a`) from `RateLimiter` and instead give it just a basic `T: store::Store`, and then enable a reference by implementing the `Store` trait for `&'a mut T' where `T: Store`. [1] #23
A nice trick that was suggested in [1] in which we remove the lifetime (`'a`) from `RateLimiter` and instead give it just a basic `T: store::Store`, and then enable a reference by implementing the `Store` trait for `&'a mut T' where `T: Store`. [1] #23
Hi,
I would like to use this library in my project. Basically I want a coupled/embedded rate limiter via in memory
Store
.But I can't find it on crates.io. Is there any reason for that?
The text was updated successfully, but these errors were encountered: