rsiot/components_config/
mod.rs

1//! Структуры для конфигурации компонентов.
2//!
3//! Конфигурация описывается в элементах языка Rust, не зависит от конкретных коммуникационных
4//! библиотек. Конкретные реализации компонентов импортируют этот крейт.
5
6#[cfg(any(
7    feature = "cmp_esp",
8    feature = "cmp_http_client",
9    feature = "cmp_http_client_wasm",
10))]
11pub mod http_client_old;
12
13pub mod http_client;
14
15pub mod http_general;
16
17#[cfg(any(feature = "cmp_http_server", feature = "cmp_esp"))]
18pub mod http_server;
19
20#[cfg(feature = "executor")]
21pub mod i2c_master;
22
23#[cfg(feature = "cmp_influxdb")]
24pub mod influxdb_v2;
25
26#[cfg(feature = "cmp_influxdb")]
27pub mod influxdb3;
28
29#[cfg(feature = "cmp_modbus_client")]
30pub mod modbus_client;
31
32#[cfg(any(feature = "cmp_mqtt_client", feature = "cmp_esp"))]
33pub mod mqtt_client;
34
35#[cfg(feature = "cmp_redis_client")]
36pub mod redis_client;
37
38#[cfg(feature = "executor")]
39pub mod uart_general;
40
41#[cfg(any(feature = "cmp_esp", feature = "cmp_linux_uart_master",))]
42pub mod uart_master;
43
44#[cfg(feature = "executor")]
45pub mod spi_master;
46
47#[cfg(feature = "executor")]
48pub mod master_device;
49
50#[cfg(any(
51    feature = "cmp_websocket_client",
52    feature = "cmp_websocket_client_wasm"
53))]
54pub mod websocket_client;
55
56pub mod websocket_general;
57
58#[cfg(feature = "cmp_websocket_server")]
59pub mod websocket_server;