webusb-web 0.4.2

WebUSB on the web 🕸️ — Access USB devices from the web browser.
Documentation
# 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 = "webusb-web"
version = "0.4.2"
authors = ["Sebastian Urban <surban@surban.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "WebUSB on the web 🕸️ — Access USB devices from the web browser."
readme = "README.md"
keywords = [
    "usb",
    "webusb",
]
categories = [
    "hardware-support",
    "wasm",
    "web-programming",
]
license = "Apache-2.0"
repository = "https://github.com/surban/webusb-web"

[package.metadata.docs.rs]
targets = ["wasm32-unknown-unknown"]
rustdoc-args = [
    "--cfg",
    "web_sys_unstable_apis",
]
rustc-args = [
    "--cfg",
    "web_sys_unstable_apis",
]

[lib]
name = "webusb_web"
path = "src/lib.rs"

[[test]]
name = "tests"
path = "tests/tests.rs"

[dependencies.futures-core]
version = "0.3"

[dependencies.futures-util]
version = "0.3"

[dependencies.js-sys]
version = "0.3.91"

[dependencies.tokio]
version = "1.43"
features = ["sync"]
default-features = false

[dependencies.tokio-stream]
version = "0.1.17"
features = ["sync"]
default-features = false

[dependencies.wasm-bindgen]
version = "0.2"

[dependencies.wasm-bindgen-futures]
version = "0.4"

[dependencies.web-sys]
version = "0.3.91"
features = [
    "AllowedUsbDevice",
    "EventTarget",
    "Navigator",
    "Usb",
    "UsbAlternateInterface",
    "UsbConfiguration",
    "UsbConnectionEvent",
    "UsbConnectionEventInit",
    "UsbControlTransferParameters",
    "UsbDevice",
    "UsbDeviceFilter",
    "UsbDeviceRequestOptions",
    "UsbDirection",
    "UsbEndpoint",
    "UsbEndpointType",
    "UsbInterface",
    "UsbInTransferResult",
    "UsbInTransferResult",
    "UsbIsochronousInTransferPacket",
    "UsbIsochronousInTransferResult",
    "UsbIsochronousOutTransferPacket",
    "UsbIsochronousOutTransferResult",
    "UsbOutTransferResult",
    "UsbPermissionResult",
    "UsbPermissionStorage",
    "UsbRecipient",
    "UsbRecipient",
    "UsbRequestType",
    "UsbTransferStatus",
    "Window",
    "WorkerGlobalScope",
    "WorkerNavigator",
]

[dev-dependencies.tokio]
version = "1.43"
features = ["macros"]

[dev-dependencies.wasm-bindgen-test]
version = "0.3"

[dev-dependencies.web-sys]
version = "0.3"
features = [
    "console",
    "Document",
    "HtmlElement",
]