nopace 0.3.0

A good-citizen admission gate for rate-limited APIs
Documentation
#![doc = "Feature-gated facade for nopace's admission gate and storage backends."]

pub use nopace_core::*;

pub mod stores {
    #[cfg(feature = "memory")]
    pub use nopace_memory::{Clock, ManualClock, MemoryStore, SystemClock};
    #[cfg(feature = "nats")]
    pub use nopace_nats::NatsStore;
    #[cfg(feature = "postgres")]
    pub use nopace_postgres::PostgresStore;
    #[cfg(feature = "redis")]
    pub use nopace_redis::RedisStore;
}

#[cfg(feature = "memory")]
pub use stores::MemoryStore;

#[cfg(feature = "postgres")]
pub use stores::PostgresStore;

#[cfg(feature = "redis")]
pub use stores::RedisStore;

#[cfg(feature = "nats")]
pub use stores::NatsStore;