hdiff-update-core 0.1.4

Core library for signed HDiffPatch-based differential application updates.
Documentation
//! 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.

mod download;
mod error;
mod hash;
mod manifest;
mod security;
mod tool;
mod update;

pub use download::{
    download_to_file, read_url_to_string, DownloadEvent, DownloadStats, HttpHeader,
};
pub use error::{Error, Result};
pub use hash::{sha256_bytes, sha256_file, verify_sha256, FileDigest};
pub use manifest::{
    default_platform, Artifact, DeltaArtifact, ManifestSignature, PlatformRelease,
    SelectedArtifact, UpdateManifest, MANIFEST_SIGNATURE_ALGORITHM,
};
pub use security::{
    generate_update_keypair, sign_manifest, verify_manifest_signature, UpdateKeypair,
};
pub use tool::{
    apply_patch, create_patch, inspect_diff, resolve_tool_path, ApplyPatchOptions,
    CreatePatchOptions, PatchApplyResult, PatchCreateResult, ToolOutput, DEFAULT_ALGORITHM,
};
pub use update::{
    load_update_manifest, prepare_delta_update, prepare_update, PrepareUpdateOptions,
    PreparedUpdate, PreparedUpdateKind,
};