This commit is contained in:
2025-08-10 22:58:05 +08:00
parent 6c0b1a1258
commit bb735d96a1
6 changed files with 292 additions and 38 deletions

View File

@@ -8,7 +8,7 @@ license = "MIT"
[dependencies]
anyhow = "1"
blowfish = { version = "0.9", optional = true }
byteorder = { version = "1.5", default-features = false, optional = true}
clap = { version = "4.5", features = ["derive"] }
clap-num = "1.2"
csv = "1.3"
@@ -23,7 +23,7 @@ lazy_static = "1.5.0"
libtlg-rs = { version = "0.1", optional = true }
memchr = { version = "2.7", optional = true }
mozjpeg = { version = "0.10", optional = true }
msg_tool_macro = { path = "./msg_tool_macro" }
msg_tool_macro = { version = "0.1.0" }
overf = "0.1"
png = { version = "0.17", optional = true }
rand = { version = "0.9", optional = true }
@@ -51,7 +51,7 @@ bgi-arc = ["bgi", "rand", "utils-bit-stream"]
bgi-audio = ["bgi"]
bgi-img = ["bgi", "image", "rand", "utils-bit-stream"]
cat-system = ["fancy-regex", "flate2", "int-enum"]
cat-system-arc = ["cat-system", "blowfish", "utils-crc32"]
cat-system-arc = ["cat-system", "utils-blowfish", "utils-crc32"]
cat-system-img = ["cat-system", "flate2", "image", "utils-bit-stream"]
circus = []
circus-arc = ["circus"]
@@ -72,6 +72,7 @@ image-jpg = ["mozjpeg"]
image-webp = ["webp"]
# utils feature
utils-bit-stream = []
utils-blowfish = ["byteorder"]
utils-crc32 = []
utils-escape = ["fancy-regex"]
utils-pcm = []
@@ -79,6 +80,3 @@ utils-str = []
[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" }