[package]
edition = "2024"
rust-version = "1.98"
name = "openlogi-device"
version = "0.7.8"
authors = ["AprilNEA <dev@aprilnea.me>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The contract between OpenLogi's HID++ layer and the HID stack beneath it."
readme = false
keywords = [
"logitech",
"hidpp",
"hid",
"backend",
]
categories = ["hardware-support"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/AprilNEA/OpenLogi"
[lib]
name = "openlogi_device"
path = "src/lib.rs"
[dependencies.futures-concurrency]
version = "7"
[dependencies.futures-lite]
version = "2"
[dependencies.hidpp]
version = "0.7.8"
package = "openlogi-hidpp"
[dependencies.openlogi-core]
version = "0.7.8"
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt",
"macros",
"sync",
"time",
]
default-features = false
[dependencies.tracing]
version = "0.1"
[dev-dependencies.tempfile]
version = "3"
[lints.clippy]
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
assertions_on_result_states = "warn"
cast_possible_truncation = "warn"
cast_possible_wrap = "warn"
cast_sign_loss = "warn"
doc_markdown = "allow"
error_impl_error = "warn"
exit = "warn"
expect_used = "warn"
missing_errors_doc = "allow"
or_fun_call = "warn"
ptr_as_ptr = "warn"
tests_outside_test_module = "warn"
undocumented_unsafe_blocks = "warn"
unwrap_used = "warn"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "deny"