[package] name = "Hi3-Patcher" version = "1.0.1" edition = "2024" description = "Honkai Impact 3rd Windows and Android patcher" authors = ["Tenshi"] [lib] name = "hi3_patcher" [[bin]] name = "Hi3-Patcher" path = "src/main.rs" [dependencies] adler2 = "2" aes = "0.8" anyhow = "1" base64 = "0.22" crc32fast = "1" crossterm = "0.29" lz4_flex = "0.14" regex = { version = "1", default-features = false, features = ["std", "perf", "unicode-perl"] } rsa = { version = "0.9", features = ["pem"] } serde_json = "1" sha1 = "0.10" sha2 = "0.10" tempfile = "3" url = "2" zip = { version = "2", default-features = false, features = ["deflate"] } [profile.release] strip = true opt-level = "z" lto = "fat" codegen-units = 1 [target.'cfg(windows)'.dependencies] windows-sys = { version = "0.61", features = ["Win32_Foundation", "Win32_System_Diagnostics_Debug", "Win32_System_Diagnostics_ToolHelp", "Win32_System_Memory", "Win32_System_Threading"] }