[package] name = "dygma_focus" version = "0.4.11" edition = "2021" authors = ["Matthew Wilding "] description = "Dygma focus api, for use with dygma keyboards" license-file = "../LICENSE" readme = "../README.md" repository = "https://github.com/mbwilding/dygma-focus-api-rs" [dependencies] anyhow = "1.0" dygma_focus_proc_macros = { version = "0.4.11", path = "../proc_macros" } lazy_static = "1.5" maybe-async = "0.2" serde = { version = "1.0", features = ["derive"] } serialport = { version = "4.4", optional = true } tokio = { version = "1", features = ["full"], optional = true } tokio-serial = { version = "5.4", optional = true } tracing = "0.1" windows = { version = "0.58", features = [ "Devices_SerialCommunication", "Win32_Devices_SerialCommunication", ] } [features] default = ["is_sync"] is_sync = ["maybe-async/is_sync", "serialport"] is_async = ["tokio", "tokio-serial"]