Expand description
Core library for signed HDiffPatch-based differential application updates.
The crate contains manifest selection, Ed25519 signing and verification,
hashing, downloads, and process wrappers for hdiffz and hpatchz.
It does not bundle HDiffPatch binaries.
Structs§
- Apply
Directory Patch Options - Artifact
- Create
Directory Patch Options - Directory
Delta - Directory
Patch Apply Result - Directory
Patch Create Result - Directory
Platform Release - Directory
Update Manifest - Directory
Update Transaction - Download
Stats - File
Digest - File
Tree Manifest - Http
Header - Manifest
Signature - Prepare
Directory Update Options - Prepared
Directory Update - Tool
Output - Tree
File - Tree
Verification - Update
Keypair
Enums§
Constants§
- DEFAULT_
DIRECTORY_ ALGORITHM - DIRECTORY_
UPDATE_ ALGORITHM - DIRECTORY_
UPDATE_ SCHEMA_ VERSION - MANIFEST_
SIGNATURE_ ALGORITHM
Functions§
- apply_
directory_ patch - build_
file_ tree_ manifest - copy_
managed_ tree - create_
directory_ patch - default_
platform - download_
to_ file - ensure_
available_ space - generate_
update_ keypair - inspect_
diff - load_
directory_ update_ manifest - normalize_
managed_ paths - normalize_
relative_ path - path_
for_ manifest_ entry - prepare_
directory_ update - public_
key_ id - read_
directory_ manifest_ file - read_
directory_ transaction - read_
url_ to_ string - resolve_
tool_ path - sha256_
bytes - sha256_
file - sign_
directory_ manifest - validate_
file_ tree_ manifest - validate_
version_ upgrade - verify_
directory_ manifest_ signature - verify_
directory_ manifest_ signature_ with_ keys - verify_
file_ tree - verify_
sha256 - write_
directory_ transaction - write_
json_ file_ atomic