rust-brotli icon indicating copy to clipboard operation
rust-brotli copied to clipboard

Shared dictionary support?

Open espoal opened this issue 2 years ago • 3 comments

google/brotli recently added support for shared dictionaries. I can't see any mention about it in this crate. Is there any plan to add support for this feature?

espoal avatar Oct 07 '22 22:10 espoal

looking forward to this too...

0xDEADFED5 avatar Jun 03 '23 09:06 0xDEADFED5

BrotliDecompressor does have a dict flag... does this fulfill your needs? https://github.com/dropbox/rust-brotli/blob/master/src/bin/brotli.rs#L537 Can you test to see if this feature succeeds in decompressing files compressed with a custom dictionary?

danielrh avatar Sep 30 '23 06:09 danielrh

The dict flag seems like a way to provide an already existing dict for the (de)compressor. But how to generate the dictionary in the first place?

orsinium avatar Mar 23 '24 11:03 orsinium