31 lines
No EOL
729 B
TOML
31 lines
No EOL
729 B
TOML
[package]
|
|
name = "kcp"
|
|
edition = "2024"
|
|
version = "0.1.0"
|
|
|
|
[features]
|
|
# General features
|
|
fastack-conserve = []
|
|
tokio = ["dep:tokio"]
|
|
|
|
# Internal features
|
|
hoyo-token = []
|
|
hoyo-crc = ["dep:xxhash-rust"]
|
|
kuro-crc = ["dep:crc32fast"]
|
|
|
|
# Game based features
|
|
genshin-impact-old = ["hoyo-token"]
|
|
genshin-impact = ["hoyo-token", "hoyo-crc"]
|
|
honkai-star-rail = ["hoyo-token"]
|
|
zenless-zone-zero = ["hoyo-token"]
|
|
wuthering-waves-old = []
|
|
wuthering-waves = ["kuro-crc"]
|
|
|
|
|
|
[dependencies]
|
|
bytes = "1.10.1"
|
|
crc32fast = { version = "1.4.2", optional = true }
|
|
thiserror = "2.0.12"
|
|
tokio = { version = "1.44.2", optional = true, features = ["io-util"] }
|
|
tracing = "0.1.41"
|
|
xxhash-rust = { version = "0.8.15", optional = true, features = ["xxh3"] } |