Files
beerpsi_chuniio-rs/Cargo.toml
T
sr1canskhsia 6f81e37758 Laverita v3 support (#3)
Tested on my own controller

Laverita v3 seems to require USB interface number 3. Couldn't find a way around it

Reviewed-on: https://gitea.tendokyu.moe/beerpsi/chuniio-rs/pulls/3
Co-authored-by: sr1canskhsia <xueyuchen928@gmail.com>
Co-committed-by: sr1canskhsia <xueyuchen928@gmail.com>
2025-03-21 09:25:28 +00:00

42 lines
942 B
TOML

[package]
name = "chuniio-rs"
version = "0.1.4"
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"