1#![cfg_attr(not(any(test, feature = "std")), no_main)]
14#![cfg_attr(not(any(test, feature = "std")), no_std)]
15
16#[cfg(feature = "async")]
17use maybe_async::must_be_async as maybe_async_attr;
18#[cfg(not(feature = "async"))]
19use maybe_async::must_be_sync as maybe_async_attr;
20
21#[cfg(not(feature = "async"))]
22use embedded_hal as spi_type;
23#[cfg(feature = "async")]
24use embedded_hal_async as spi_type;
25
26pub mod configs;
27pub mod fast_command;
28pub mod hl;
29pub mod ll;
30pub mod time;
31
32pub mod block {
34    pub use nb::block;
35}
36
37pub use crate::{
38    block::block,
39    configs::Config,
40    fast_command::FastCommand,
41    hl::{
42        AutoDoubleBufferReceiving, Error, Message, Ready, Sending, SingleBufferReceiving, Sleeping,
43        Uninitialized, DW3000,
44    },
45};