medius 3.3.0

Host control library for the medius transparent mouse passthrough box
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 = "2024"
rust-version = "1.85"
name = "medius"
version = "3.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Host control library for the medius transparent mouse passthrough box"
readme = "README.md"
keywords = [
    "medius",
    "mouse",
    "hid",
    "serial",
    "makcu",
]
categories = [
    "hardware-support",
    "api-bindings",
]
license = "MIT"

[package.metadata.docs.rs]
all-features = true

[features]
async = ["dep:futures-core"]
default = []
mock = []
tracing = ["dep:tracing"]

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

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

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

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

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

[dependencies.flume]
version = "0.12"

[dependencies.futures-core]
version = "0.3"
optional = true
default-features = false

[dependencies.parking_lot]
version = "0.12"

[dependencies.serialport]
version = "4"

[dependencies.sha2]
version = "0.11.0"
default-features = false

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1"
optional = true

[dev-dependencies.futures]
version = "0.3"
features = ["executor"]
default-features = false

[target.'cfg(target_os = "linux")'.dev-dependencies.libc]
version = "0.2"

[target."cfg(windows)".dependencies.serial2]
version = "0.2"
features = ["windows"]