1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#![cfg_attr(feature = "benches", feature(test))]
#[cfg(feature = "benches")]
extern crate test;

mod entry;
mod errors;
mod stores;
mod utils;
#[macro_use]
pub mod tests;

#[cfg(feature = "python")]
mod python;
#[cfg(feature = "benches")]
#[macro_use]
pub mod benches;

pub use self::entry::Entry;
pub use self::errors::Error;
pub use self::stores::memory::{MemoryRange, MemoryStore, MemoryStreamIterator};
pub use self::stores::traits::{Range, RangeableStore, Store, SubscribeableStore};

#[cfg(feature = "redis-store")]
pub use self::stores::redis::{RedisStreamIterator, RedisStreamStore};
#[cfg(feature = "sqlite-store")]
pub use self::stores::sqlite::{SqliteRange, SqliteRangeIterator, SqliteStore};