usehid-core 0.1.0

Cross-platform virtual HID device core library
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 = "usehid-core"
version = "0.1.0"
authors = ["Zoe <zoe@zoe.im>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform virtual HID device core library"
readme = false
license = "MIT"

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

[[example]]
name = "agent"
path = "examples/agent.rs"

[[example]]
name = "agent_browse"
path = "examples/agent_browse.rs"

[[example]]
name = "baidu"
path = "examples/baidu.rs"

[[example]]
name = "keyboard"
path = "examples/keyboard.rs"

[[example]]
name = "mouse"
path = "examples/mouse.rs"

[dependencies.bitflags]
version = "2.8"
features = ["serde"]

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.tokio]
version = "1"
features = ["full"]

[features]
default = []

[target.'cfg(target_os = "linux")'.dependencies.nix]
version = "0.29"
features = [
    "ioctl",
    "fs",
]

[target.'cfg(target_os = "macos")'.dependencies.core-foundation]
version = "0.10"

[target.'cfg(target_os = "macos")'.dependencies.io-kit-sys]
version = "0.4"

[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.58"
features = [
    "Win32_Foundation",
    "Win32_Devices_HumanInterfaceDevice",
]