#![cfg_attr(not(any(test, feature = "std")), no_main)]
#![cfg_attr(not(any(test, feature = "std")), no_std)]
#[cfg(feature = "async")]
use maybe_async::must_be_async as maybe_async_attr;
#[cfg(not(feature = "async"))]
use maybe_async::must_be_sync as maybe_async_attr;
#[cfg(not(feature = "async"))]
use embedded_hal as spi_type;
#[cfg(feature = "async")]
use embedded_hal_async as spi_type;
pub mod configs;
pub mod fast_command;
pub mod hl;
pub mod ll;
pub mod time;
pub mod block {
pub use nb::block;
}
pub use crate::{
block::block,
configs::Config,
fast_command::FastCommand,
hl::{
AutoDoubleBufferReceiving, Error, Message, Ready, Sending, SingleBufferReceiving, Sleeping,
Uninitialized, DW3000,
},
};