qbsdiff
Fast and memory saving bsdiff 4.x compatible delta compressor and patcher.
Add dependency to Cargo.toml
:
[]
= "1.3"
Build commands
The commands qbsdiff
and qbspatch
could be compiled with:
$ cargo build --release --bins --features cmd
$ target/release/qbsdiff -h
$ target/release/qbspatch -h
Examples
Apply patch to source and produce the target data:
use io;
use Bspatch;
Compare source with target then generate patch:
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.