Files
msg-tool/Cargo.toml
2025-06-12 21:52:01 +08:00

37 lines
1009 B
TOML

[package]
name = "msg_tool"
version = "0.1.0"
edition = "2024"
[dependencies]
anyhow = "1"
clap = { version = "4.5", features = ["derive"] }
csv = "1.3"
encoding_rs = "0.8"
int-enum = { version = "1.2", optional = true }
lazy_static = "1.5.0"
msg_tool_macro = { path = "./msg_tool_macro" }
png = { version = "0.17", optional = true }
rand = { version = "0.9", optional = true }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
unicode-segmentation = "1.12"
[features]
default = ["bgi", "bgi-arc", "bgi-img", "circus", "escude", "escude-arc", "yaneurao", "yaneurao-itufuru"]
bgi = []
bgi-arc = ["bgi", "utils-bit-stream"]
bgi-img = ["bgi", "image"]
circus = []
escude = ["int-enum"]
escude-arc = ["escude", "rand", "utils-bit-stream"]
yaneurao = []
yaneurao-itufuru = ["yaneurao"]
# basic feature
image = ["png"]
# utils feature
utils-bit-stream = []
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0", features = ["Win32_Globalization", "Win32_System_Diagnostics_Debug"] }