embedded_hal_bus/lib.rs
1#![doc = include_str!("../README.md")]
2#![warn(missing_docs)]
3#![cfg_attr(not(feature = "std"), no_std)]
4#![cfg_attr(docsrs, feature(doc_cfg))]
5
6// needed to prevent defmt macros from breaking, since they emit code that does `defmt::blahblah`.
7#[cfg(feature = "defmt-03")]
8use defmt_03 as defmt;
9
10pub mod i2c;
11pub mod spi;
12pub mod util;