| Crates.io | stackpack |
| lib.rs | stackpack |
| version | 1.0.1 |
| created_at | 2025-03-11 16:27:34.380829+00 |
| updated_at | 2025-11-10 21:20:54.080827+00 |
| description | A compressor-agnostic compression pipeline. |
| homepage | |
| repository | https://github.com/Paladynee/stackpack |
| max_upload_size | |
| id | 1588127 |
| size | 6,840,422 |
Stackpack is a program to build compresion pipelines and create your own file formats.
Currently unavailable as bsc_m03_sys hasn't been released (by me) yet.
stackpack has a very rich CLI. Basic commands include:
# process a single file
$ stackpack encode <input> <output> [ --using "pipeline -> string" | --from_file <path to pipeline file> | --preset <preset name> ]
# undo process a single file
$ stackpack decode <input> <output> [ --using "pipeline -> string" | --from_file <path to pipeline file> | --preset <preset name> ]
# test roundtrip process of single file
$ stackpack test [ --using "pipeline -> string" | --from_file <path to pipeline file> | --preset <preset name> ]
# test rountrip of many files
$ stackpack corpus <path>
# pipeline management
$ stackpack pipeline [ --list-compressors | --list-plugins ]
Stackpack currently ships with 5 built-in compressors and a plugin system allowing you to make your own plugins. An example plugin can be found in the sample_plugin directory. Currently, the only requirements are the 4 static symbols for name, description, encode and decode implementations.
Already implemented compressors are: