# 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 = "hid-io-core" version = "0.1.4" authors = ["Jacob Alexander "] build = "build.rs" default-run = "hid-io-core" description = """ HID-IO is a host-side daemon for advanced HID devices. """ homepage = "https://github.com/hid-io/hid-io-core" readme = "README.md" license = "GPL-3.0-or-later" repository = "https://github.com/hid-io/hid-io-core" [package.metadata.bundle] category = "public.app-category.utilities" icon = ["128x128.png"] identifier = "io.github.hid-io.hid-io-core" resources = ["hid-io-core.service"] [package.metadata.cargo-udeps.ignore] development = ["cargo-husky"] [profile.release] panic = "abort" [dependencies.capnp] version = "0.14" optional = true [dependencies.capnp-rpc] version = "0.14" optional = true [dependencies.clap] version = "3.1" [dependencies.ctrlc] version = "3.2" [dependencies.flexi_logger] version = "0.25" [dependencies.futures] version = "0.3" optional = true [dependencies.futures-util] version = "0.3" optional = true [dependencies.glob] version = "0.3" optional = true [dependencies.heapless] version = "0.7" [dependencies.hid-io-protocol] version = "^0.1.6" [dependencies.hidapi] version = "2.3.3" features = ["linux-native"] optional = true default-features = false [dependencies.lazy_static] version = "1.4" [dependencies.libc] version = "0.2" optional = true [dependencies.log] version = "0.4" [dependencies.nanoid] version = "0.4" optional = true [dependencies.open] version = "3.0" [dependencies.rcgen] version = "0.11" optional = true [dependencies.regex] version = "1.8" optional = true [dependencies.rustls] version = "0.21" features = ["dangerous_configuration"] optional = true [dependencies.sys-info] version = "0.9" [dependencies.tempfile] version = "3.6" optional = true [dependencies.tokio] version = "1.18" features = [ "net", "rt-multi-thread", "macros", "sync", "time", ] [dependencies.tokio-rustls] version = "0.23" optional = true [dependencies.tokio-stream] version = "0.1" features = ["sync"] optional = true [dependencies.tokio-util] version = "0.7" features = ["compat"] optional = true [dev-dependencies.cargo-husky] version = "1" features = [ "prepush-hook", "run-cargo-fmt", "run-cargo-clippy", "run-cargo-test", ] [dev-dependencies.rand] version = "0.8" [dev-dependencies.webpki] version = "0.22" [build-dependencies.built] version = "0.6" features = [ "git2", "chrono", ] [build-dependencies.capnpc] version = "0.14" optional = true [build-dependencies.rustc_version] version = "0.2" [features] api = [ "capnp", "capnpc", "capnp-rpc", "futures", "futures-util", "glob", "nanoid", "rcgen", "rustls", "tempfile", "tokio-rustls", "tokio-stream", "tokio-util", ] default = [ "api", "dev-capture", "displayserver", "hidapi-devices", "vhid", ] dev-capture = [ "evdev-rs", "libc", "nanoid", "udev", ] displayserver = [ "core-foundation", "core-graphics", "memmap2", "tempfile", "wayland-client", "wayland-protocols-misc", "winapi", "winreg", "x11", "xkbcommon", ] hidapi-devices = [ "hidapi", "regex", "tokio-stream", ] vhid = [ "libc", "nanoid", "udev", "uhid-virt", ] [target."cfg(target_os = \"linux\")".dependencies.evdev-rs] version = "0.5" optional = true [target."cfg(target_os = \"linux\")".dependencies.memmap2] version = "^0.5" optional = true [target."cfg(target_os = \"linux\")".dependencies.udev] version = "^0.6" optional = true [target."cfg(target_os = \"linux\")".dependencies.uhid-virt] version = "0.0.6" optional = true [target."cfg(target_os = \"linux\")".dependencies.wayland-client] version = "0.30.0-beta.13" optional = true [target."cfg(target_os = \"linux\")".dependencies.wayland-protocols-misc] version = "0.1.0-beta.13" features = ["client"] optional = true [target."cfg(target_os = \"linux\")".dependencies.x11] version = "^2.19" optional = true [target."cfg(target_os = \"linux\")".dependencies.xkbcommon] version = "^0.5.0-beta" features = ["x11"] optional = true [target."cfg(target_os = \"macos\")".dependencies.core-foundation] version = "0.9" optional = true [target."cfg(target_os = \"macos\")".dependencies.core-graphics] version = "0.22" optional = true [target."cfg(windows)".dependencies.winapi] version = "0.3" features = [ "std", "winuser", "winnls", ] optional = true [target."cfg(windows)".dependencies.windows-service] version = "0.5" [target."cfg(windows)".dependencies.winreg] version = "0.10" optional = true