qbsdiff
Fast and memory saving bsdiff 4.x compatible delta compressor and patcher.
Add dependency to Cargo.toml:
[]
= "1.4"
Build commands
Build qbsdiff and qbspatch commands:
$ cargo build --release --bins --features cmd
$ cd target/release
$ ./qbsdiff --help
$ ./qbspatch --help
Install commands to $CARGO_HOME/bin:
$ cargo install qbsdiff --features cmd
Examples
Produce the target stream by applying patch to source:
use io;
use Bspatch;
Produce the patch data by comparing source with target:
use io;
use Bsdiff;
Note that qbsdiff would not generate exactly the same patch file as bsdiff.
Only the patch file format is promised to be compatible.