mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-05-07 00:22:16 +00:00
The `rate-limiter` module was not made publicly available. This change exports the `RateLimiter` trait defined within that module which allows users to define their own rate limiters. To make common usecases easy, we also provide a set of constructor functions for common rate limiters. Resolves #3741. Pull-Request: #3742.