Files
BlueArchiveToolkit/crates/bat-patch/src/lib.rs
T
nyaKazuha 8a77502272
bat-rust / Build and test Rust (push) Canceled after 0s
bat-rust / Build and test Go API (push) Canceled after 0s
feat(patch):统一清单驱动汉化发布
2026-09-12 01:35:29 +08:00

29 lines
698 B
Rust

//! # BAT Patch
//!
//! Patch 引擎核心实现
//!
//! 支持:
//! - Binary Diff/Patch
//! - JSON Patch
//! - Rollback
//! - Integrity Check
#![warn(missing_docs)]
#![warn(clippy::all)]
pub mod binary;
pub mod error;
pub mod json;
pub mod manifest;
pub mod text;
pub use error::{PatchError, Result};
pub use manifest::{
build_patch_manifest, validate_patch_manifest, verify_patch_file_bytes, PatchIntegrity,
PatchKind, PatchManifest, PatchManifestBuildFile, PatchManifestFile, PatchManifestOperation,
PatchManifestOperationPayload, PatchManifestProvenance, PatchRollback, PATCH_MANIFEST_VERSION,
};
/// Patch 引擎版本号
pub const VERSION: &str = env!("CARGO_PKG_VERSION");