1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#![cfg_attr(not(feature = "std"), no_std)]
#![feature(cfg_version)]
#![cfg_attr(feature = "nightly", feature(type_alias_impl_trait))]
#![cfg_attr(
    all(feature = "nightly", version("1.70")),
    feature(impl_trait_in_assoc_type)
)]
#![cfg_attr(
    all(feature = "nightly", feature = "embedded-io-async"),
    feature(async_fn_in_trait)
)]
#![cfg_attr(
    all(feature = "nightly", feature = "embedded-io-async"),
    allow(incomplete_features)
)]
#![allow(clippy::unused_unit)] // enumset

#[cfg(feature = "alloc")]
#[allow(unused_imports)]
#[macro_use]
extern crate alloc;

#[cfg(all(feature = "defmt", feature = "log"))]
compile_error!("You must enable at most one of the following features: defmt, log");

pub mod eth;
pub mod event_bus;
pub mod executor;
pub mod http;
#[cfg(feature = "std")]
#[deprecated(since = "0.22.0", note = "Use module http::server")]
pub mod httpd; // TODO: Retire
pub mod io;
pub mod ipv4;
pub mod macros;
pub mod mqtt;
pub mod ota;
pub mod ping;
pub mod storage;
pub mod sys_time;
pub mod timer;
pub mod utils;
pub mod wifi;
pub mod ws;