Expand description
Convenient re-exports for typical usage.
Glob-importing the prelude brings the structures, the hashing types, and the error type into scope:
use bloom_lib::prelude::*;
let mut filter = BloomFilter::new(1_000, 0.01).unwrap();
filter.insert("hello");
assert!(filter.contains("hello"));Re-exportsยง
pub use crate::hash::DefaultHashBuilder;pub use crate::hash::DefaultHasher;pub use crate::Error;pub use crate::BloomFilter;allocpub use crate::CountMinSketch;allocpub use crate::CuckooFilter;allocpub use crate::HyperLogLog;allocpub use crate::MinHash;allocpub use crate::TopK;alloc