#hash #fingerprint #rabin #blockmap

bin+lib better-blockmap

Generate better blockmap files for electron-builder

4 releases (stable)

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

#965 in Cryptography

50 downloads per month

MIT and maybe LGPL-3.0+

35KB
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

~4–9MB
~175K SLoC