Buttplug sex toy control library
1[package]
2name = "buttplug_server_hwmgr_hid"
3version = "10.0.0-beta1"
4authors = ["Nonpolynomial Labs, LLC <kyle@nonpolynomial.com>"]
5description = "Buttplug Intimate Hardware Control Library - Core Library"
6license = "BSD-3-Clause"
7homepage = "http://buttplug.io"
8repository = "https://github.com/buttplugio/buttplug.git"
9readme = "./README.md"
10keywords = ["usb", "serial", "hardware", "bluetooth", "teledildonics"]
11edition = "2024"
12exclude = ["examples/**"]
13
14[lib]
15name = "buttplug_server_hwmgr_hid"
16path = "src/lib.rs"
17test = true
18doctest = true
19doc = true
20
21
22[dependencies]
23buttplug_derive = "0.8.1"
24# buttplug_derive = { path = "../buttplug_derive" }
25buttplug_core = { path = "../buttplug_core" }
26buttplug_server = { path = "../buttplug_server" }
27buttplug_server_device_config = { path = "../buttplug_server_device_config" }
28futures = "0.3.31"
29futures-util = "0.3.31"
30log = "0.4.27"
31tokio = { version = "1.46.1", features = ["sync", "time"] }
32async-trait = "0.1.88"
33uuid = { version = "1.17.0", features = ["serde", "v4"] }
34dashmap = { version = "6.1.0", features = ["serde"] }
35tracing = "0.1.41"
36thiserror = "2.0.12"
37
38[target.'cfg(target_os = "windows")'.dependencies]
39hidapi = { version = "2.6.3", default-features = false, features = ["windows-native"] }
40
41[target.'cfg(target_os = "linux")'.dependencies]
42# Linux hidraw is needed here in order to work with the lovense dongle. libusb breaks it on linux.
43# Other platforms are not affected by the feature changes.
44hidapi = { version = "2.6.3", default-features = false, features = ["linux-static-hidraw"] }
45
46[target.'cfg(target_os = "macos")'.dependencies]
47hidapi = { version = "2.6.3", default-features = false, features = ["macos-shared-device"] }