2 releases
0.1.2 | Jan 4, 2025 |
---|---|
0.1.1 | Jul 27, 2024 |
#562 in Compression
80 downloads per month
20KB
469 lines
precompress_static

Precompress all static web content from a directory with brotli at max compression (original files are kept).
sync
and async
(tokio) versions, both as a lib and as executables.
See ext.rs for the list of file extensions that are compressed.
Dependencies
~8–14MB
~328K SLoC