Crates.io | bdel |
lib.rs | bdel |
version | 0.1.0 |
source | src |
created_at | 2022-09-04 06:50:38.18551 |
updated_at | 2022-09-04 06:50:38.18551 |
description | A utility that generates a binary delta of two files and allows you to apply it on the source. |
homepage | |
repository | https://github.com/manorajesh/bDelta |
max_upload_size | |
id | 658153 |
size | 27,413 |
Binary Delta
A Rust application that generates a binary delta and can apply it can create the target.
cargo install bdel
or
Visit the repository page and download the release for your platform.
USAGE:
bdel <SUBCOMMAND>
OPTIONS:
-h, --help Print help information
-V, --version Print version information
SUBCOMMANDS:
apply Apply a binary patch to a file
generate Generate a binary patch from a source and new file
help Print this message or the help of the given subcommand(s)
This subcommand generates the diff.zip
file (filename can be changed with -o
) that can be sent to the recipient to be applied. Instead of a file output, stout can be chosen with the -p
flag.
This subcommand takes in a diff
file (either zip or plaintext) and applies it to the source file. The diff
file is automatically removed; however, it can be left alone with the -d
flag. Additionally, the -r
flag asks the user for a confirmation before applying the updates.
Be careful when using this utility; only basic testing was preformed.