rsiot/components/
mod.rs

1//! Компоненты
2
3#[allow(dead_code)]
4#[allow(unused_imports)]
5mod _cmp_template;
6
7pub mod cmp_add_input_stream;
8
9pub mod cmp_add_output_stream;
10
11#[cfg(feature = "cmp_auth")]
12#[cfg(any(aarch64_unknown_linux_gnu, x8664_unknown_linux_gnu))]
13pub mod cmp_auth;
14
15pub mod cmp_livecounter;
16
17pub mod cmp_create_if_not_exist;
18
19pub mod cmp_derive;
20
21// #[cfg(feature = "cmp_esp")]
22// #[cfg(riscv32imc_esp_espidf)]
23// pub mod cmp_esp_adc;
24
25#[cfg(feature = "cmp_esp")]
26#[cfg(riscv32imc_esp_espidf)]
27pub mod cmp_esp_gpio;
28
29#[cfg(feature = "cmp_esp")]
30#[cfg(riscv32imc_esp_espidf)]
31pub mod cmp_esp_i2c_slave;
32
33#[cfg(feature = "cmp_esp")]
34#[cfg(riscv32imc_esp_espidf)]
35pub mod cmp_esp_http_server;
36
37#[cfg(feature = "cmp_esp")]
38#[cfg(riscv32imc_esp_espidf)]
39pub mod cmp_esp_led;
40
41#[cfg(feature = "cmp_esp")]
42#[cfg(riscv32imc_esp_espidf)]
43pub mod cmp_esp_i2c_master;
44
45// #[cfg(feature = "cmp_esp")]
46// #[cfg(riscv32imc_esp_espidf)]
47// pub mod cmp_esp_mqtt_client;
48
49#[cfg(feature = "cmp_esp")]
50#[cfg(riscv32imc_esp_espidf)]
51pub mod cmp_esp_nvs;
52
53#[cfg(feature = "cmp_esp")]
54#[cfg(riscv32imc_esp_espidf)]
55pub mod cmp_esp_spi_master;
56
57// #[cfg(feature = "cmp_esp")]
58// #[cfg(riscv32imc_esp_espidf)]
59// pub mod cmp_esp_uart_master;
60
61#[cfg(feature = "cmp_esp")]
62#[cfg(riscv32imc_esp_espidf)]
63pub mod cmp_esp_uart_slave;
64
65#[cfg(feature = "cmp_esp")]
66#[cfg(riscv32imc_esp_espidf)]
67pub mod cmp_esp_wifi;
68
69pub mod cmp_external_fn_process;
70
71#[cfg(feature = "cmp_filesystem")]
72#[cfg(any(aarch64_unknown_linux_gnu, x8664_unknown_linux_gnu))]
73pub mod cmp_filesystem;
74
75#[cfg(feature = "cmp_http_client")]
76#[cfg(any(
77    aarch64_linux_android,
78    aarch64_unknown_linux_gnu,
79    x8664_unknown_linux_gnu
80))]
81pub mod cmp_http_client;
82
83// #[cfg(feature = "cmp_esp")]
84// #[cfg(riscv32imc_esp_espidf)]
85// pub mod cmp_http_client_esp;
86
87#[cfg(feature = "cmp_http_client_wasm")]
88#[cfg(wasm32_unknown_unknown)]
89pub mod cmp_http_client_wasm;
90
91#[cfg(feature = "cmp_http_server")]
92#[cfg(any(aarch64_unknown_linux_gnu, x8664_unknown_linux_gnu))]
93pub mod cmp_http_server;
94
95#[cfg(feature = "cmp_influxdb")]
96#[cfg(any(
97    aarch64_unknown_linux_gnu,
98    armv7_unknown_linux_gnueabihf,
99    x8664_unknown_linux_gnu
100))]
101pub mod cmp_influxdb3;
102
103pub mod cmp_inject_periodic;
104
105#[cfg(feature = "cmp_leptos")]
106#[cfg(wasm32_unknown_unknown)]
107pub mod cmp_leptos;
108
109#[cfg(feature = "cmp_linux_spi_master")]
110#[cfg(any(
111    aarch64_unknown_linux_gnu,
112    armv7_unknown_linux_gnueabihf,
113    x8664_unknown_linux_gnu
114))]
115pub mod cmp_linux_spi_master;
116
117#[cfg(feature = "cmp_linux_uart_master")]
118#[cfg(any(
119    aarch64_unknown_linux_gnu,
120    armv7_unknown_linux_gnueabihf,
121    x8664_unknown_linux_gnu
122))]
123pub mod cmp_linux_uart_master;
124
125pub mod cmp_logger;
126
127#[cfg(feature = "cmp_math")]
128pub mod cmp_math;
129
130#[cfg(feature = "cmp_modbus_client")]
131#[cfg(any(aarch64_unknown_linux_gnu, x8664_unknown_linux_gnu))]
132pub mod cmp_modbus_client;
133
134#[cfg(feature = "cmp_mqtt_client")]
135#[cfg(any(
136    aarch64_linux_android,
137    aarch64_unknown_linux_gnu,
138    x8664_unknown_linux_gnu
139))]
140pub mod cmp_mqtt_client;
141
142#[cfg(feature = "cmp_os_process")]
143#[cfg(any(aarch64_unknown_linux_gnu, x8664_unknown_linux_gnu))]
144pub mod cmp_os_process;
145
146#[cfg(feature = "cmp_telegram")]
147#[cfg(any(aarch64_unknown_linux_gnu, x8664_unknown_linux_gnu))]
148pub mod cmp_telegram;
149
150#[cfg(feature = "cmp_plc")]
151pub mod cmp_plc;
152
153#[cfg(feature = "cmp_raspberrypi")]
154#[cfg(any(aarch64_unknown_linux_gnu, x8664_unknown_linux_gnu))]
155pub mod cmp_raspberrypi_gpio;
156
157#[cfg(feature = "cmp_raspberrypi")]
158#[cfg(any(aarch64_unknown_linux_gnu, x8664_unknown_linux_gnu))]
159pub mod cmp_raspberrypi_i2c_master;
160
161#[cfg(feature = "cmp_redis_client")]
162#[cfg(any(aarch64_unknown_linux_gnu, x8664_unknown_linux_gnu))]
163pub mod cmp_redis_client;
164
165#[cfg(feature = "cmp_slint")]
166#[cfg(any(
167    aarch64_linux_android,
168    aarch64_unknown_linux_gnu,
169    armv7_unknown_linux_gnueabihf,
170    x8664_unknown_linux_gnu
171))]
172pub mod cmp_slint;
173
174#[cfg(feature = "cmp_surrealdb")]
175#[cfg(any(aarch64_unknown_linux_gnu, x8664_unknown_linux_gnu))]
176pub mod cmp_surrealdb;
177
178#[cfg(feature = "cmp_system_info")]
179#[cfg(any(aarch64_unknown_linux_gnu, x8664_unknown_linux_gnu))]
180pub mod cmp_system_info;
181
182#[cfg(feature = "cmp_timescaledb")]
183#[cfg(any(aarch64_unknown_linux_gnu, x8664_unknown_linux_gnu))]
184#[allow(unused_variables)]
185#[allow(dead_code)]
186pub mod cmp_timescaledb;
187
188#[cfg(feature = "cmp_websocket_client")]
189#[cfg(any(aarch64_unknown_linux_gnu, x8664_unknown_linux_gnu))]
190pub mod cmp_websocket_client;
191
192#[cfg(feature = "cmp_websocket_client_wasm")]
193#[cfg(wasm32_unknown_unknown)]
194pub mod cmp_websocket_client_wasm;
195
196#[cfg(feature = "cmp_websocket_server")]
197#[cfg(any(aarch64_unknown_linux_gnu, x8664_unknown_linux_gnu))]
198pub mod cmp_websocket_server;
199
200#[cfg(feature = "cmp_webstorage")]
201#[cfg(wasm32_unknown_unknown)]
202pub mod cmp_webstorage;
203
204#[allow(dead_code, unused_imports)]
205pub mod shared_tasks;