usehid-core 0.1.2

Cross-platform virtual HID device library for AI agents
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.2"
authors = ["Zoe <zoe@zoe.im>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform virtual HID device library for AI agents"
homepage = "https://github.com/jiusanzhou/usehid"
documentation = "https://docs.rs/usehid-core"
readme = "README.md"
keywords = [
    "hid",
    "mouse",
    "keyboard",
    "automation",
    "agent",
]
categories = [
    "api-bindings",
    "hardware-support",
    "os",
]
license = "MIT"
repository = "https://github.com/jiusanzhou/usehid"

[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 = "auto_login"
path = "examples/auto_login.rs"

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

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

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

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

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

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

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

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

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

[[example]]
name = "window_mgmt"
path = "examples/window_mgmt.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",
    "Win32_UI_Input_KeyboardAndMouse",
]