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
#![cfg_attr(not(feature = "std"), no_std)]
#![feature(generic_associated_types)] // For mutex, http, http::client, http::server, ota and ghota

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

#[cfg(feature = "experimental")]
pub mod channel;
pub mod eth;
#[cfg(feature = "experimental")]
pub mod event_bus;
#[cfg(all(feature = "experimental", feature = "alloc"))]
pub mod http;
#[cfg(feature = "std")] // TODO: Lower requirements to "alloc"
pub mod httpd;
pub mod io;
pub mod ipv4;
#[cfg(all(feature = "experimental", feature = "alloc"))]
pub mod mqtt;
pub mod mutex;
#[cfg(all(feature = "experimental", feature = "alloc"))]
pub mod ota;
pub mod ping;
pub mod service;
#[cfg(feature = "alloc")]
pub mod storage;
pub mod sys_time;
#[cfg(feature = "experimental")]
pub mod timer;
pub mod utils;
#[cfg(feature = "alloc")]
pub mod wifi;