# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "dygma_focus" version = "0.4.11" authors = ["Matthew Wilding "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Dygma focus api, for use with dygma keyboards" readme = "README.md" license-file = "LICENSE" repository = "https://github.com/mbwilding/dygma-focus-api-rs" [lib] name = "dygma_focus" path = "src/lib.rs" [dependencies.anyhow] version = "1.0" [dependencies.dygma_focus_proc_macros] version = "0.4.11" [dependencies.lazy_static] version = "1.5" [dependencies.maybe-async] version = "0.2" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serialport] version = "4.4" optional = true [dependencies.tokio] version = "1" features = ["full"] optional = true [dependencies.tokio-serial] version = "5.4" optional = true [dependencies.tracing] version = "0.1" [dependencies.windows] version = "0.58" features = [ "Devices_SerialCommunication", "Win32_Devices_SerialCommunication", ] [features] default = ["is_sync"] is_async = [ "tokio", "tokio-serial", ] is_sync = [ "maybe-async/is_sync", "serialport", ]