async_wrr_queue 0.1.3

[async & high performance] queued weighted round-robin load balance algorithm
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#![doc = include_str!("../README.md")]

mod wrr_queue;

mod instance;

pub(crate) mod consts;

#[cfg(all(feature = "tokio", feature = "blocking"))]
compile_error!(
    "feature 'tokio' and 'blocking' cannot be enabled together, consider disable default features"
);

#[cfg(not(any(feature = "tokio", feature = "blocking")))]
compile_error!("feature 'tokio' or 'blocking' must be enabled");

pub use instance::Instance;
pub use wrr_queue::WrrQueue;