Export ADBLOCK_RUST_DAT_VERSION constant#594
Conversation
|
I need to have this variable accessible from outside of the crate, for proper .dat handling |
|
Can you say more about your use case? |
I am emedding the crate in my project, and since the serialization format gets updated, I need a way for other components to be aware of this change and provide the serialized input accordingly |
|
@antonok-edm |
I think you might be misinterpreting the purpose of the serialized format... it's intended to be used as a local cache, so that it's faster to load previously-parsed filters (e.g. at application startup). It's not intended as a full replacement for filter lists. If the format version number has incremented, |
No description provided.