3 releases
new 0.1.3 | Apr 23, 2025 |
---|---|
0.1.2 | Jan 4, 2025 |
0.1.1 | Jul 27, 2024 |
#379 in Compression
110 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
~329K SLoC