1
0
Fork 1
mirror of https://github.com/MingweiSamuel/Riven.git synced 2025-03-28 01:23:16 -07:00
Riven/riven/src/req/mod.rs
Mingwei Samuel 1d6b513aa7 feat: setup riven for wasm (nodejs) execution ()
+ use custom `Notify`
+ use different version of async sleep (tokio vs gloo-timers)
+ switch futures utils from `tokio` to `futures`
2024-02-24 21:42:06 -08:00

18 lines
378 B
Rust

//! Module containing rate limiting and requesting types.
mod rate_limit;
pub use rate_limit::*;
mod rate_limit_type;
pub use rate_limit_type::*; // Hack for token_bucket_test.rs.
use crate::time::Instant;
mod token_bucket;
pub use token_bucket::*;
mod regional_requester;
pub use regional_requester::*;
#[cfg(test)]
#[path = "token_bucket.test.rs"]
mod token_bucket_test;