badgemagic-rs/src/lib.rs
Lilian c273d4cbfc Add support for transferring badge config via Bluetooth Low Energy
Adds a new crate feature `ble` that allows for transfering badge
configurations over Bluetooth Low Energy instead of USB.
Expands the CLI to allow for specification of the transport protocol,
either USB or BLE.

The BLE library uses async rust requiring to add tokio as a async runtime
to the CLI.
2024-08-01 23:04:10 +02:00

22 lines
407 B
Rust

#![warn(clippy::all, clippy::pedantic)]
#![allow(clippy::missing_errors_doc)]
pub mod protocol;
#[cfg(feature = "usb-hid")]
pub mod usb_hid;
#[cfg(feature = "ble")]
pub mod ble;
#[cfg(feature = "embedded-graphics")]
pub mod util;
#[cfg(feature = "embedded-graphics")]
pub use embedded_graphics;
#[cfg(feature = "cli")]
#[doc(hidden)]
pub mod cli {
include!(concat!(env!("OUT_DIR"), "/cli.rs"));
}