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 = "cmp_influxdb")]
21pub mod influxdb_v2;
22
23#[cfg(feature = "cmp_influxdb")]
24pub mod influxdb3;
25
26#[cfg(feature = "cmp_modbus_client")]
27pub mod modbus_client;
28
29#[cfg(any(feature = "cmp_mqtt_client", feature = "cmp_esp"))]
30pub mod mqtt_client;
31
32#[cfg(feature = "cmp_redis_client")]
33pub mod redis_client;
34
35#[cfg(feature = "cmp_timescaledb")]
36pub mod timescaledb;
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#[cfg(any(
50    feature = "cmp_websocket_client",
51    feature = "cmp_websocket_client_wasm"
52))]
53pub mod websocket_client;
54
55pub mod websocket_general;
56
57#[cfg(feature = "cmp_websocket_server")]
58pub mod websocket_server;