bloom-rs
bloom-rs copied to clipboard
Serialize / deserialize?
How would I go about saving bloom filter to a disk?
also looking for how to do this
I came here to ask the same question. Subscribing for updates.
Update: Potential candidate https://github.com/dpbriggs/growable-bloom-filters
I used to maintain BitVec. It supports serialization with serde under a feature flag serde_std, so you may fork bloom and slap a serialize / deserialize with serde, plus a feature argument to bit-vec. Not sure about RandomState, you might need to implement a way to extract its state and de/serialize it.
Edit: https://github.com/contain-rs/bit-vec/blob/d3585be9e5057eee56f81fe3d5d958669bd7db74/Cargo.toml#L23