#rabin #fingerprint #hash #blockmap

bin+lib better-blockmap

Generate better blockmap files for electron-builder

4 releases (stable)

Uses new Rust 2021

2.0.1 Mar 5, 2022
1.0.0 Mar 5, 2022
0.1.0 Mar 5, 2022

#799 in Cryptography

MIT and maybe LGPL-3.0+

34KB
889 lines

better-blockmap

Latest version License

Blockmap file generator for electron-builder.

Installation

cargo install better-blockmap

Running

$ better-blockmap --help
better-blockmap 0.1.0
Fedor Indutny <fedor@indutny.com>
Generate better blockmap files for electron-builder

USAGE:
    better-blockmap [OPTIONS] --input <INPUT>

OPTIONS:
    -c, --compression <COMPRESSION>    Compression [default: gzip] [possible values: gzip, deflate]
    -h, --help                         Print help information
    -i, --input <INPUT>                Input binary file
    -o, --output <OUTPUT>              Output blockmap file
    -V, --version                      Print version information
    -z, --detect-zip-boundary          Use zip file boundaries for splitting chunks

Dependencies

~3–6.5MB
~145K SLoC