4 releases

0.1.5 Dec 7, 2019
0.1.2 Apr 23, 2019
0.1.1 Apr 7, 2019
0.1.0 Apr 3, 2019

#8 in #vcdiff


Used in cargo-mextk

Apache-2.0

365KB
9K SLoC

C 4K SLoC // 0.2% comments C++ 3K SLoC // 0.1% comments Python 885 SLoC // 0.3% comments Visual Studio Project 339 SLoC M4 333 SLoC // 0.4% comments Shell 207 SLoC // 0.1% comments Objective-C 174 SLoC // 0.3% comments Rust 152 SLoC // 0.0% comments Automake 96 SLoC // 0.2% comments SWIG 68 SLoC // 0.1% comments

Contains (obscure autoconf code, 2KB) xdelta3/xdelta3/configure.ac

xdelta3

Build Status docs.rs

Bindings to xdelta3 for Rust. Current version uses xdelta3 3.0.12_APL.

For documentation, please see https://docs.rs/xdelta3/


lib.rs:

xdelta3

This crate is a Rust binding of xdelta3 which is written in C.

In case you are not familar, xdelta3 implements VCDIFF standard, which is a standard for binary patches. You can generate and apply VCDIFF patch for two similar (but large) binary files quickly using xdelta3.

The original xdelta3 utility is widely used for delivering software updates and ROM hacks.

You can find out how to use this crate in this documentation and you can also consult the tests in the test/ folder to see it in action (how to generate and patch two files!)

Dependencies

~0–2MB
~39K SLoC