tiny-counter 0.1.0

Track event counts across time windows with fixed memory and fast queries
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
mod memory;

#[cfg(feature = "storage-fs")]
mod file_per_event;

#[cfg(feature = "storage-sqlite")]
mod sqlite;

// MemoryStorage always available for testing
pub use memory::MemoryStorage;

#[cfg(feature = "storage-fs")]
pub use file_per_event::FilePerEvent;

#[cfg(feature = "storage-sqlite")]
pub use sqlite::Sqlite;