1#![doc = include_str!("../README.md")]
5#![deny(missing_docs)]
6#![deny(warnings)]
7#![forbid(unsafe_code)]
8#![cfg_attr(not(test), no_std)]
9
10#[cfg(all(feature = "blocking", feature = "async"))]
11compile_error!("Feature \"blocking\" and feature \"async\" cannot be enabled at the same time");
12#[cfg(not(any(feature = "blocking", feature = "async")))]
13compile_error!("Either feature \"blocking\" or feature \"async\" must be anbled");
14
15mod register_settings;
16mod registers;
17mod tmp1075;
18
19pub use register_settings::*;
20
21#[cfg(feature = "blocking")]
22pub use tmp1075::Tmp1075;
23
24#[cfg(feature = "async")]
25pub use tmp1075::Tmp1075Async as Tmp1075;