I would like to use this directly with files located on the disk. The setup in my web server is to grab a file, compress it, and store it in a concurrent hash map. I'd like to be able to add this in so that I could grab a file handle and pass it into this, then pass that into the compression algorithm. Perhaps even provide a return type that implements io::Read in itself.
I could look into implementing it myself if you want that.
It's absolutely not ready for use right now. I'll take your remark/issue into account but for now, please don't use this crate. I'll rewrite the HTML minifier soon (the JS one should be usable).
I would like to use this directly with files located on the disk. The setup in my web server is to grab a file, compress it, and store it in a concurrent hash map. I'd like to be able to add this in so that I could grab a file handle and pass it into this, then pass that into the compression algorithm. Perhaps even provide a return type that implements io::Read in itself.
I could look into implementing it myself if you want that.