3 releases
0.1.2 | Nov 13, 2024 |
---|---|
0.1.1 | Oct 22, 2024 |
0.1.0 | Oct 10, 2024 |
#170 in Compression
281 downloads per month
12KB
298 lines
Ziply makes specifying directories inside a ZIP simple.
Installation
cargo install ziply
Quick Start
- Define your ZIP files with a
ziply.yaml
. - Run
ziply run
.
Configuration
Here is an example of a ziply.yaml file:
packs:
test:
# Specifies the output path for the generated ZIP file.
filename: path/to/output/test.zip
# Lists the entries that will be included in the ZIP archive.
entries:
# Defines the directory within the archive where files will be stored.
- dest_dir: .
# Specifies the files to include in the specified destination directory.
# Files can be specified in two formats: 'source' or dictionary '{src: "", dest: ""}'.
files:
- ./src/main.rs # Use the original name of the source file if no destination is specified.
# Renames the source file when adding it to the archive.
- src: ./src/main.rs
dest: renamed_main.rs
Dependencies
~10–19MB
~286K SLoC