hidg-core

Crates.iohidg-core
lib.rshidg-core
version0.2.0
sourcesrc
created_at2022-10-02 08:31:37.004506
updated_at2024-05-11 05:00:41.113564
descriptionLinux USB HID Gadget emulation
homepagehttps://github.com/katyo/hidg-rs
repositoryhttps://github.com/katyo/hidg-rs
max_upload_size
id678190
size69,674
Kayo Phoenix (katyo)

documentation

README

HID Gadget Emulation in Rust

github crate docs MIT CI

Rust crate for interfacing with Linux HID Gadget devices (/dev/hidgX).

Since all functionality is dependent on Linux function calls, this crate only compiles for Linux systems.

Crates

  • hidg-core - core abstractions and low level interface (not for end users)
  • hidg - std interface which supports synchronous operation only
  • tokio-hidg - async interface for tokio async runtime
  • async-hidg - async interface for other async runtimes

Features

  • fromstr - implements [core::str::FromStr] implementation for some types
  • display - implements [std::fmt::Display] implementation for some types
  • phf - use phf in [core::str::FromStr] trait implementations
  • serde - enables serde support for some types
  • keyboard - enables keyboard class support
  • mouse - enables mouse class support
Commit count: 24

cargo fmt