rsiot/components_config/
mod.rs

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
45
46
47
48
49
50
//! Структуры для конфигурации компонентов.
//!
//! Конфигурация описывается в элементах языка Rust, не зависит от конкретных коммуникационных
//! библиотек. Конкретные реализации компонентов импортируют этот крейт.

#[cfg(any(
    feature = "cmp_esp",
    feature = "cmp_http_client",
    feature = "cmp_http_client_wasm",
))]
pub mod http_client;

#[cfg(feature = "cmp_influxdb")]
pub mod influxdb_v2;

#[cfg(feature = "cmp_modbus_client")]
pub mod modbus_client;

#[cfg(any(feature = "cmp_mqtt_client", feature = "cmp_esp"))]
pub mod mqtt_client;

#[cfg(any(feature = "cmp_http_server", feature = "cmp_esp"))]
pub mod http_server;

#[cfg(feature = "cmp_redis_client")]
pub mod redis_client;

#[cfg(any(
    feature = "cmp_websocket_client",
    feature = "cmp_websocket_client_wasm"
))]
pub mod websocket_client;

#[cfg(feature = "cmp_timescaledb")]
pub mod timescaledb;

#[cfg(feature = "cmp_websocket_server")]
pub mod websocket_server;

#[cfg(feature = "executor")]
pub mod uart_general;

#[cfg(any(feature = "cmp_esp", feature = "cmp_linux_uart_master",))]
pub mod uart_master;

#[cfg(feature = "executor")]
pub mod spi_master;

#[cfg(feature = "executor")]
pub mod master_device;