[package] name = "msg_tool" version = "0.1.0" edition = "2024" [dependencies] anyhow = "1" blowfish = { version = "0.9", optional = true } clap = { version = "4.5", features = ["derive"] } csv = "1.3" emote-psb = { version = "0.5", optional = true } encoding_rs = "0.8" fancy-regex = { version = "0.14", optional = true } flate2 = { version = "1.1", optional = true } int-enum = { version = "1.2", optional = true } lazy_static = "1.5.0" libtlg-rs = { version = "0.1", optional = true } msg_tool_macro = { path = "./msg_tool_macro" } overf = "0.1" png = { version = "0.17", optional = true } rand = { version = "0.9", optional = true } serde = { version = "1", features = ["derive"] } serde_json = "1" unicode-segmentation = "1.12" utf16string = "0.2" [features] default = ["bgi", "bgi-arc", "bgi-img", "cat-system", "cat-system-arc", "cat-system-img", "circus", "escude", "escude-arc", "kirikiri", "kirikiri-img", "yaneurao", "yaneurao-itufuru"] bgi = [] bgi-arc = ["bgi", "utils-bit-stream"] bgi-img = ["bgi", "image", "utils-bit-stream"] cat-system = [] cat-system-arc = ["cat-system", "blowfish", "utils-crc32"] cat-system-img = ["cat-system", "flate2", "image", "utils-bit-stream"] circus = [] escude = ["int-enum"] escude-arc = ["escude", "rand", "utils-bit-stream"] kirikiri = ["emote-psb", "fancy-regex", "flate2", "utils-escape"] kirikiri-img = ["kirikiri", "emote-psb", "image", "libtlg-rs"] yaneurao = [] yaneurao-itufuru = ["yaneurao"] # basic feature image = ["png"] # utils feature utils-bit-stream = [] utils-crc32 = [] utils-escape = ["fancy-regex"] [target.'cfg(windows)'.dependencies] windows-sys = { version = "0", features = ["Win32_Globalization", "Win32_System_Diagnostics_Debug"] } [patch.crates-io] blowfish = { git = "https://github.com/lifegpc/block-ciphers.git", branch = "blowfish" }