# 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 = "buttplug" version = "9.0.4" authors = ["Nonpolynomial Labs, LLC "] build = false exclude = ["examples/**"] autobins = false autoexamples = false autotests = false autobenches = false description = "Buttplug Intimate Hardware Control Library" homepage = "http://buttplug.io" readme = "README.md" keywords = [ "usb", "serial", "hardware", "bluetooth", "teledildonics", ] license = "BSD-3-Clause" repository = "https://github.com/buttplugio/buttplug.git" [package.metadata.docs.rs] features = [ "default", "unstable", ] targets = [] [lib] name = "buttplug" crate-type = [ "cdylib", "rlib", ] path = "src/lib.rs" test = true doctest = true doc = true [[test]] name = "mod" path = "tests/mod.rs" [[test]] name = "test_client" path = "tests/test_client.rs" [[test]] name = "test_client_device" path = "tests/test_client_device.rs" [[test]] name = "test_device_config" path = "tests/test_device_config.rs" [[test]] name = "test_device_protocols" path = "tests/test_device_protocols.rs" [[test]] name = "test_message_downgrades" path = "tests/test_message_downgrades.rs" [[test]] name = "test_serializers" path = "tests/test_serializers.rs" [[test]] name = "test_server" path = "tests/test_server.rs" [[test]] name = "test_server_device" path = "tests/test_server_device.rs" [[test]] name = "test_websocket_connectors" path = "tests/test_websocket_connectors.rs" [[test]] name = "test_websocket_device_comm_manager" path = "tests/test_websocket_device_comm_manager.rs" [dependencies.aes] version = "0.8.4" [dependencies.ahash] version = "0.8.11" [dependencies.async-stream] version = "0.3.6" [dependencies.async-trait] version = "0.1.83" [dependencies.btleplug] version = "0.11.6" optional = true [dependencies.buttplug_derive] version = "0.8.1" [dependencies.byteorder] version = "1.5.0" [dependencies.cfg-if] version = "1.0.0" [dependencies.dashmap] version = "6.1.0" features = ["serde"] [dependencies.derivative] version = "2.2.0" [dependencies.displaydoc] version = "0.2.5" [dependencies.ecb] version = "0.1.2" features = ["std"] [dependencies.futures] version = "0.3.31" [dependencies.futures-util] version = "0.3.31" [dependencies.getset] version = "0.1.3" [dependencies.instant] version = "0.1.13" [dependencies.jsonschema] version = "0.22.3" default-features = false [dependencies.lazy_static] version = "1.5.0" [dependencies.once_cell] version = "1.20.2" [dependencies.os_info] version = "3.8.2" [dependencies.paste] version = "1.0.15" [dependencies.prost] version = "0.13.3" [dependencies.rand] version = "0.8.5" [dependencies.regex] version = "1.11.0" [dependencies.reqwest] version = "0.12.8" features = ["rustls-tls"] optional = true default-features = false [dependencies.rustls] version = "0.23.14" features = ["ring"] optional = true default-features = false [dependencies.serde] version = "1.0.210" features = ["derive"] [dependencies.serde-aux] version = "4.5.0" [dependencies.serde_json] version = "1.0.128" [dependencies.serde_repr] version = "0.1.19" [dependencies.sha2] version = "0.10.8" features = ["std"] [dependencies.strum] version = "0.26.3" [dependencies.strum_macros] version = "0.26.4" [dependencies.thiserror] version = "1.0.64" [dependencies.tokio] version = "1.40.0" features = [ "sync", "macros", "io-util", ] [dependencies.tokio-stream] version = "0.1.16" [dependencies.tokio-tungstenite] version = "0.24.0" features = [ "rustls-tls-webpki-roots", "url", ] optional = true [dependencies.tokio-util] version = "0.7.12" [dependencies.tracing] version = "0.1.40" [dependencies.tracing-futures] version = "0.2.5" [dependencies.tracing-subscriber] version = "0.3.18" features = ["json"] [dependencies.url] version = "2.5.2" [dependencies.uuid] version = "1.10.0" features = ["serde"] [dependencies.web-sys] version = "0.3.70" features = [ "Navigator", "Bluetooth", "BluetoothDevice", "BluetoothLeScanFilterInit", "BluetoothRemoteGattCharacteristic", "BluetoothRemoteGattServer", "BluetoothRemoteGattService", "BinaryType", "Blob", "console", "ErrorEvent", "Event", "FileReader", "MessageEvent", "ProgressEvent", "RequestDeviceOptions", "WebSocket", "Window", ] optional = true [dev-dependencies.serde_yaml] version = "0.9.34" [dev-dependencies.test-case] version = "3.3.1" [dev-dependencies.tokio] version = "1.40.0" features = [ "io-std", "rt", ] [dev-dependencies.tokio-test] version = "0.4.4" [dev-dependencies.tracing-log] version = "0.2.0" [build-dependencies.prost-build] version = "0.13.3" [features] allow-unstable-v4-connections = [] btleplug-manager = [ "server", "btleplug", ] client = [] default = [ "tokio-runtime", "jsonschema/resolve-file", "client", "server", "serialize-json", "websockets", "btleplug-manager", "xinput-manager", "serial-manager", "hid-manager", "lovense-dongle-manager", "lovense-connect-service-manager", "websocket-server-manager", ] dummy-runtime = [] hid-manager = [ "server", "hidapi", ] lovense-connect-service-manager = [ "server", "reqwest", ] lovense-dongle-manager = [ "server", "serialport", "hidapi", ] serial-manager = [ "server", "serialport", ] serialize-json = [] server = [] tokio-runtime = [] unstable = [] wasm = [ "server", "wasm-bindgen-runtime", "serialize-json", "uuid/js", ] wasm-bindgen-runtime = [] websocket-server-manager = [ "server", "websockets", ] websockets = [ "serialize-json", "tokio-tungstenite", "rustls", ] xinput-manager = ["server"] [target.'cfg(target_os = "linux")'.dependencies.hidapi] version = "2.6.3" features = [ "linux-static-hidraw", "illumos-static-libusb", ] optional = true default-features = false [target.'cfg(target_os = "linux")'.dependencies.serialport] version = "4.5.1" optional = true [target.'cfg(target_os = "macos")'.dependencies.hidapi] version = "2.6.3" features = [ "linux-static-hidraw", "illumos-static-libusb", ] optional = true default-features = false [target.'cfg(target_os = "macos")'.dependencies.serialport] version = "4.5.1" optional = true [target.'cfg(target_os = "windows")'.dependencies.hidapi] version = "2.6.3" features = [ "linux-static-hidraw", "illumos-static-libusb", ] optional = true default-features = false [target.'cfg(target_os = "windows")'.dependencies.rusty-xinput] version = "1.3.0" [target.'cfg(target_os = "windows")'.dependencies.serialport] version = "4.5.1" optional = true [target.'cfg(target_os = "windows")'.dependencies.windows] version = "0.57.0" features = [ "Devices_Bluetooth", "Foundation", ] [target.wasm32-unknown-unknown.dependencies.wasm-bindgen] version = "0.2.93" features = ["serde-serialize"] [target.wasm32-unknown-unknown.dependencies.wasm-bindgen-futures] version = "0.4.43" [target.wasm32-unknown-unknown.dependencies.wasmtimer] version = "0.2.0"