Crates.io | assembly-pack |
lib.rs | assembly-pack |
version | 0.5.2 |
source | src |
created_at | 2019-07-14 22:00:21.014855 |
updated_at | 2023-05-19 20:36:19.905248 |
description | Packages module for the assembly crate |
homepage | https://assembly.lu-dev.net/ |
repository | https://github.com/xiphoseer/assembly_rs |
max_upload_size | |
id | 149034 |
size | 144,473 |
This crate contains the pack/archives related file formats of the assembly library.
This crate comes with some example binaries
$ cargo install --examples assembly-pack
sd0-decode
Decompress sd0 streams
$ sd0-decode infile.sd0 outfile
sd0-encode
Compress sd0 streams
$ sd0-encode infile outfile.sd0
pk-crc
Calculate the Cyclic-Redundancy-Code (CRC) for a relative file path
$ pk-crc client/res/data.xml
pk-entries
List all entries in a PK file
$ pk-entries data.pk
pk-file
Print a single entry from a PK file given the numeric CRC value
$ pk-file data.pk crc
pki-find
Find a specific CRC in the PKI file
$ pki-find primary.pki crc
pki-list
List all entries in a PKI file
# List all files
$ pki-find -f primary.pki
# List all PK archives
$ pki-find -p primary.pki
md5-sum
Calculate the md5sum of a file
md5-sum file