| Crates.io | precompress_static |
| lib.rs | precompress_static |
| version | 0.1.6 |
| created_at | 2024-07-27 20:18:14.792969+00 |
| updated_at | 2025-10-16 21:56:40.159266+00 |
| description | Brotli pre-compression for http static content |
| homepage | |
| repository | https://github.com/programingjd/precompress |
| max_upload_size | |
| id | 1317504 |
| size | 30,489 |
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.