Skip to main content

rsiot/components_config/
mod.rs

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