//! [OFilter](https://gitlab.com/liberecofr/ofilter) is an opinionated Bloom filter.
//!
//! ![OFilter icon](https://gitlab.com/liberecofr/ofilter/raw/main/ofilter.png)
//!
//! # Examples
//!
//! Simple usage:
//!
//! ```
//! use ofilter::Filter;
//!
//! let mut filter: Filter<usize> = Filter::new(100);
//! filter.set(&42);
//! assert!(filter.check(&42));
//! ```
//!
//! Thread-safe version:
//!
//! ```
//! use ofilter::SyncFilter;
//!
//! // does not need to be `mut`
//! let filter: SyncFilter<usize> = SyncFilter::new(100);
//! filter.set(&42);
//! assert!(filter.check(&42));
//! ```

mod filter;
mod sync_filter;

pub use filter::*;
pub use sync_filter::*;
