mirror of
https://github.com/lifegpc/msg-tool.git
synced 2026-06-06 04:48:54 +08:00
Reduce unneed features
This commit is contained in:
58
Cargo.toml
58
Cargo.toml
@@ -77,61 +77,61 @@ all-script = ["artemis", "artemis-panmimisoft", "bgi", "cat-system", "circus", "
|
||||
all-img = ["bgi-img", "cat-system-img", "circus-img", "emote-img", "hexen-haus-img", "kirikiri-img", "qlie-img", "softpal-img", "will-plus-img"]
|
||||
all-arc = ["artemis-arc", "bgi-arc", "cat-system-arc", "circus-arc", "escude-arc", "ex-hibit-arc", "hexen-haus-arc", "kirikiri-arc", "musica-arc", "qlie-arc", "softpal-arc"]
|
||||
all-audio = ["bgi-audio", "circus-audio"]
|
||||
artemis = ["stylua", "utils-escape"]
|
||||
artemis-panmimisoft = ["artemis", "rust-ini"]
|
||||
artemis-arc = ["artemis", "digest-io", "msg_tool_macro/artemis-arc", "sha1"]
|
||||
artemis = ["dep:stylua", "utils-escape"]
|
||||
artemis-panmimisoft = ["artemis", "dep:rust-ini"]
|
||||
artemis-arc = ["artemis", "dep:digest-io", "msg_tool_macro/artemis-arc", "dep:sha1"]
|
||||
bgi = ["fancy-regex"]
|
||||
bgi-arc = ["bgi", "rand", "utils-bit-stream"]
|
||||
bgi-arc = ["bgi", "dep: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", "pelite", "utils-blowfish", "utils-crc32"]
|
||||
bgi-img = ["bgi", "image", "dep:rand", "utils-bit-stream"]
|
||||
cat-system = ["fancy-regex", "flate2", "dep:int-enum"]
|
||||
cat-system-arc = ["cat-system", "dep:pelite", "utils-blowfish", "utils-crc32"]
|
||||
cat-system-img = ["cat-system", "flate2", "image", "mozjpeg", "utils-bit-stream"]
|
||||
circus = []
|
||||
circus-arc = ["circus"]
|
||||
circus-audio = ["circus", "flate2", "int-enum", "lossless-audio"]
|
||||
circus-audio = ["circus", "flate2", "dep:int-enum", "lossless-audio"]
|
||||
circus-img = ["circus", "image", "flate2", "zstd"]
|
||||
emote-img = ["base64", "block_compression", "emote-psb", "image", "json", "libtlg-rs", "url", "utils-psd"]
|
||||
entis-gls = ["xml5ever", "int-enum"]
|
||||
escude = ["int-enum"]
|
||||
escude-arc = ["escude", "rand", "utils-bit-stream"]
|
||||
emote-img = ["dep:base64", "dep:block_compression", "emote-psb", "image", "json", "dep:libtlg-rs", "dep:url", "utils-psd"]
|
||||
entis-gls = ["xml5ever", "dep:int-enum"]
|
||||
escude = ["dep:int-enum"]
|
||||
escude-arc = ["escude", "dep:rand", "utils-bit-stream"]
|
||||
ex-hibit = []
|
||||
ex-hibit-arc = ["ex-hibit"]
|
||||
favorite = ["utils-str"]
|
||||
hexen-haus = ["memchr", "utils-str"]
|
||||
hexen-haus = ["dep:memchr", "utils-str"]
|
||||
hexen-haus-arc = ["hexen-haus"]
|
||||
hexen-haus-img = ["hexen-haus", "image"]
|
||||
kirikiri = ["emote-psb", "fancy-regex", "flate2", "json", "lz4", "utils-escape"]
|
||||
kirikiri-arc = ["kirikiri", "adler", "aes", "base64", "blake2", "bytes", "cbc", "chacha20/legacy", "fastcdc", "flate2", "hex", "int-enum", "md5", "memchr", "msg_tool_macro/kirikiri-arc", "msg_tool_xp3data", "parse-size", "pelite", "serde/rc", "sha2", "siphasher", "utils-case-insensitive-string", "utils-lzss", "utils-serde-base64bytes", "utils-simple-pack", "zopfli", "zstd"]
|
||||
kirikiri-img = ["kirikiri", "image", "libtlg-rs"]
|
||||
kirikiri = ["emote-psb", "fancy-regex", "flate2", "json", "dep:lz4", "utils-escape"]
|
||||
kirikiri-arc = ["kirikiri", "dep:adler", "dep:aes", "dep:base64", "dep:blake2", "dep:bytes", "dep:cbc", "dep:chacha20", "chacha20/legacy", "dep:fastcdc", "flate2", "dep:hex", "dep:int-enum", "dep:md5", "dep:memchr", "msg_tool_macro/kirikiri-arc", "dep:msg_tool_xp3data", "dep:parse-size", "dep:pelite", "serde/rc", "dep:sha2", "dep:siphasher", "utils-case-insensitive-string", "utils-lzss", "utils-serde-base64bytes", "utils-simple-pack", "zopfli", "zstd"]
|
||||
kirikiri-img = ["kirikiri", "image", "dep:libtlg-rs"]
|
||||
musica = []
|
||||
musica-arc = ["musica", "crc32fast", "flate2", "include-flate", "utils-blowfish", "utils-rc4", "utils-serde-base64bytes", "utils-xored-stream"]
|
||||
musica-arc = ["musica", "dep:crc32fast", "flate2", "dep:include-flate", "utils-blowfish", "utils-rc4", "utils-serde-base64bytes", "utils-xored-stream"]
|
||||
qlie = []
|
||||
qlie-arc = ["qlie", "utils-mmx", "pelite", "rand"]
|
||||
qlie-arc = ["qlie", "utils-mmx", "dep:pelite", "dep:rand"]
|
||||
qlie-img = ["qlie", "image", "utils-psd"]
|
||||
silky = []
|
||||
softpal = ["int-enum"]
|
||||
softpal = ["dep:int-enum"]
|
||||
softpal-arc = ["softpal"]
|
||||
softpal-img = ["softpal", "image"]
|
||||
will-plus = ["utils-str"]
|
||||
will-plus-img = ["will-plus", "image"]
|
||||
yaneurao = []
|
||||
yaneurao-itufuru = ["yaneurao", "utils-xored-stream"]
|
||||
yuris = ["hex", "utils-xored-stream"]
|
||||
yuris = ["dep:hex", "utils-xored-stream"]
|
||||
# basic feature
|
||||
image = ["png"]
|
||||
image = ["dep:png"]
|
||||
image-jpg = ["mozjpeg"]
|
||||
image-jxl = ["image", "jpegxl-sys"]
|
||||
image-jxl = ["image", "dep:jpegxl-sys"]
|
||||
image-webp = ["webp"]
|
||||
lossless-audio = ["utils-pcm"]
|
||||
audio-flac = ["libflac-sys", "utils-pcm"]
|
||||
audio-flac = ["dep:libflac-sys", "utils-pcm"]
|
||||
unstable = ["msg_tool_macro/unstable", "msg_tool_xp3data?/unstable"]
|
||||
jieba = ["jieba-rs"]
|
||||
emote-psb = ["dep:emote-psb", "adler", "lz4"]
|
||||
xml5ever = ["dep:xml5ever", "markup5ever", "tendril", "crossbeam"]
|
||||
jieba = ["dep:jieba-rs"]
|
||||
emote-psb = ["dep:emote-psb", "dep:adler", "dep:lz4"]
|
||||
xml5ever = ["dep:xml5ever", "dep:markup5ever", "dep:tendril", "dep:crossbeam"]
|
||||
# utils feature
|
||||
utils-bit-stream = []
|
||||
utils-blowfish = ["byteorder"]
|
||||
utils-blowfish = ["dep:byteorder"]
|
||||
utils-case-insensitive-string = []
|
||||
utils-crc32 = []
|
||||
utils-escape = ["fancy-regex"]
|
||||
@@ -140,11 +140,11 @@ utils-mmx = []
|
||||
utils-pcm = []
|
||||
utils-psd = ["image", "flate2", "utils-bit-stream"]
|
||||
utils-rc4 = []
|
||||
utils-serde-base64bytes = ["base64"]
|
||||
utils-serde-base64bytes = ["dep:base64"]
|
||||
utils-simple-pack = ["zstd"]
|
||||
utils-str = []
|
||||
utils-xored-stream = []
|
||||
private = ["serde", "toml", "chacha20?/xchacha"]
|
||||
private = ["dep:serde", "dep:toml", "chacha20?/xchacha"]
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
windows-sys = { version = "0.61", features = ["Win32_Globalization", "Win32_System_Diagnostics_Debug"] }
|
||||
|
||||
Reference in New Issue
Block a user