38 lines
806 B
TOML
38 lines
806 B
TOML
[package]
|
|
name = "chuniio-rs"
|
|
version = "0.1.3"
|
|
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"
|
|
|
|
[features]
|
|
chusan = []
|
|
tasoller_v1 = []
|
|
tasoller_v2 = []
|
|
laverita_v3 = []
|
|
redboard = []
|
|
|
|
[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"
|
|
|