35 lines
706 B
TOML
35 lines
706 B
TOML
|
[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 = []
|
||
|
yubideck_v3 = []
|
||
|
|
||
|
[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"
|
||
|
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"
|
||
|
|