#hash #fingerprint #rabin #blockmap

bin+lib better-blockmap

为 electron-builder 生成更好的区块映射文件

4 个版本 (稳定)

2.0.1 2022 年 3 月 5 日
1.0.0 2022 年 3 月 5 日
0.1.0 2022 年 3 月 5 日

#980密码学

MIT 和可能 LGPL-3.0+

35KB
889

better-blockmap

Latest version License

electron-builder 的区块映射文件生成器。

安装

cargo install better-blockmap

运行

$ better-blockmap --help
better-blockmap 0.1.0
Fedor Indutny <[email protected]>
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

依赖项

~4–9MB
~177K SLoC