Comments (4)
I submitted #134 implementing this. (Happy to take a different approach if you would prefer.)
from async-compression.
Unfortunately I want to keep the algorithmic dependencies of async-compression
private to allow non-breaking updates.
I have long been meaning to split out another crate with the underlying generic implementation that exposes these and would allow full configurability for different libraries, with the downside of needing to either support multiple implementations/versions of the algorithms or doing breaking releases.
I think I had started an attempt at that a while ago, but found it less trivial than I was hoping. This is some motivation to look at it again, hopefully I can at least see how difficult it appears this weekend.
from async-compression.
Would you consider a PR adding an abstraction over a handful of the options, to avoid exposing the underlying library? I'd be happy to prepare such a patch.
from async-compression.
This is now fixed, with #134.
from async-compression.
Related Issues (20)
- zstd encoder default level says 0, while it's usually 3 HOT 1
- BrotliDecoder type is very large HOT 2
- Brotli compression performace HOT 7
- GzipDecoder chokes on extra headers HOT 2
- not all ZStd compression levels are usable HOT 4
- Is it possible to remove dependency on tokio? HOT 2
- `GzipDecoder` panics with "Write after end of stream" on bad data HOT 3
- Project Status HOT 20
- zstd compression produces unreadable file HOT 2
- with_quality_and_params and ZStandard HOT 2
- deflate64 support
- Brotli encoder parameters HOT 2
- `ZstdEncoder` should not panic if `tokio::io::AsyncWrite::flush` is called after `tokio::io::AsyncWrite::shutdown` HOT 3
- Reuse zstd context for better perf
- Decoder auto-detection HOT 1
- Support Decoding Block GZIP? HOT 2
- tar.gz decompression example HOT 1
- GzipDecoder is not implementing AsyncRead HOT 4
- Consider making a new release HOT 1
- Please support seekable zstd with jump table HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from async-compression.