2023-12-27 12:34:45 +00:00
|
|
|
[package]
|
|
|
|
name = "chuniio-rs"
|
|
|
|
version = "0.1.0"
|
|
|
|
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 = []
|
2024-01-03 15:44:12 +00:00
|
|
|
laverita_v3 = []
|
2023-12-27 12:34:45 +00:00
|
|
|
|
|
|
|
[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"
|
2023-12-28 03:50:54 +00:00
|
|
|
once_cell = { version = "1.19.0", features = ["parking_lot"] }
|
|
|
|
parking_lot = "0.12.1"
|
2023-12-27 12:34:45 +00:00
|
|
|
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"
|
|
|
|
|