Files
2025-09-20 16:57:35 +07:00

41 lines
941 B
TOML

[package]
name = "chuniio-rs"
version = "0.1.6"
edition = "2021"
[lib]
crate-type = ["cdylib"]
[profile.release]
strip = true # Automatically strip symbols from the binary.
opt-level = "z" # Optimize for size.
lto = true
codegen-units = 1
panic = "abort"
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(chusanapp)', 'cfg(chuni)', 'cfg(amdaemon)'] }
[features]
chusan = []
tasoller_v1 = []
tasoller_v2 = []
laverita_v2 = []
laverita_v3 = []
tasoller_plus = []
[dependencies]
anyhow = "1.0.76"
cfg-if = "1.0.0"
env_logger = { version = "0.10.1", default-features = false }
lazy_static = "1.4.0"
log = "0.4.20"
once_cell = { version = "1.19.0", features = ["parking_lot"] }
parking_lot = "0.12.1"
rusb = "0.9.3"
shared_memory = { path = "vendor/shared_memory" }
winapi = { version = "0.3.9", features = ["minwindef", "winnt", "winerror", "debugapi", "winbase", "winuser"] }
[build-dependencies]
cfg_aliases = "0.2.0"