lunasoc_hal/lib.rs
1#![cfg_attr(feature = "nightly", feature(error_in_core))]
2#![cfg_attr(feature = "nightly", feature(panic_info_message))]
3#![no_std]
4#![allow(clippy::inline_always)]
5#![allow(clippy::must_use_candidate)]
6
7// modules
8pub mod gpio;
9pub mod serial;
10pub mod timer;
11#[cfg(feature = "usb")]
12pub mod usb;
13
14// re-export dependencies
15#[cfg(feature = "usb")]
16pub use smolusb;
17
18pub use embedded_hal as hal;
19pub use embedded_hal_0 as hal_0;
20pub use embedded_hal_nb as hal_nb;
21
22pub use nb;