Skip to main content

openlogi_core/
lib.rs

1//! Shared types and configuration for OpenLogi.
2//!
3//! Everything here is data — the device model, the action catalogue, the
4//! binding types, the shape of the config file. It must never depend on
5//! `hidpp`, `async-hid`, or any platform-specific event/window API; those live
6//! in sibling crates.
7//!
8//! The one exception is reading and writing that config file, which is gated
9//! behind the `fs` feature (on by default). Without it this crate touches no
10//! host at all, which is what the `wasm (portable crates)` CI job checks.
11
12#![deny(missing_docs)]
13
14pub mod action_ring;
15pub mod binding;
16pub mod bindings;
17pub mod brand;
18pub mod color;
19pub mod config;
20pub mod device;
21pub mod device_order;
22pub mod diagnostics;
23pub mod hid;
24#[cfg(feature = "fs")]
25pub mod paths;
26#[cfg(feature = "fs")]
27pub mod single_instance;