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_i2c_master")]
110#[cfg(any(
111    aarch64_unknown_linux_gnu,
112    armv7_unknown_linux_gnueabihf,
113    x8664_unknown_linux_gnu
114))]
115pub mod cmp_linux_i2c_master;
116
117#[cfg(feature = "cmp_linux_spi_master")]
118#[cfg(any(
119    aarch64_unknown_linux_gnu,
120    armv7_unknown_linux_gnueabihf,
121    x8664_unknown_linux_gnu
122))]
123pub mod cmp_linux_spi_master;
124
125#[cfg(feature = "cmp_linux_uart_master")]
126#[cfg(any(
127    aarch64_unknown_linux_gnu,
128    armv7_unknown_linux_gnueabihf,
129    x8664_unknown_linux_gnu
130))]
131pub mod cmp_linux_uart_master;
132
133pub mod cmp_logger;
134
135#[cfg(feature = "cmp_math")]
136pub mod cmp_math;
137
138#[cfg(feature = "cmp_modbus_client")]
139#[cfg(any(aarch64_unknown_linux_gnu, x8664_unknown_linux_gnu))]
140pub mod cmp_modbus_client;
141
142#[cfg(feature = "cmp_mqtt_client")]
143#[cfg(any(
144    aarch64_linux_android,
145    aarch64_unknown_linux_gnu,
146    x8664_unknown_linux_gnu
147))]
148pub mod cmp_mqtt_client;
149
150#[cfg(feature = "cmp_os_process")]
151#[cfg(any(aarch64_unknown_linux_gnu, x8664_unknown_linux_gnu))]
152pub mod cmp_os_process;
153
154#[cfg(feature = "cmp_telegram")]
155#[cfg(any(aarch64_unknown_linux_gnu, x8664_unknown_linux_gnu))]
156pub mod cmp_telegram;
157
158#[cfg(feature = "cmp_plc")]
159pub mod cmp_plc;
160
161#[cfg(feature = "cmp_raspberrypi")]
162#[cfg(any(aarch64_unknown_linux_gnu, x8664_unknown_linux_gnu))]
163pub mod cmp_raspberrypi_gpio;
164
165#[cfg(feature = "cmp_raspberrypi")]
166#[cfg(any(aarch64_unknown_linux_gnu, x8664_unknown_linux_gnu))]
167pub mod cmp_raspberrypi_i2c_master;
168
169#[cfg(feature = "cmp_redis_client")]
170#[cfg(any(aarch64_unknown_linux_gnu, x8664_unknown_linux_gnu))]
171pub mod cmp_redis_client;
172
173#[cfg(feature = "cmp_slint")]
174#[cfg(any(
175    aarch64_linux_android,
176    aarch64_unknown_linux_gnu,
177    armv7_unknown_linux_gnueabihf,
178    x8664_unknown_linux_gnu
179))]
180pub mod cmp_slint;
181
182#[cfg(feature = "cmp_surrealdb")]
183#[cfg(any(aarch64_unknown_linux_gnu, x8664_unknown_linux_gnu))]
184pub mod cmp_surrealdb;
185
186#[cfg(feature = "cmp_system_info")]
187#[cfg(any(aarch64_unknown_linux_gnu, x8664_unknown_linux_gnu))]
188pub mod cmp_system_info;
189
190#[cfg(feature = "cmp_timescaledb")]
191#[cfg(any(aarch64_unknown_linux_gnu, x8664_unknown_linux_gnu))]
192pub mod cmp_timescaledb;
193
194#[cfg(feature = "cmp_websocket_client")]
195#[cfg(any(aarch64_unknown_linux_gnu, x8664_unknown_linux_gnu))]
196pub mod cmp_websocket_client;
197
198#[cfg(feature = "cmp_websocket_client_wasm")]
199#[cfg(wasm32_unknown_unknown)]
200pub mod cmp_websocket_client_wasm;
201
202#[cfg(feature = "cmp_websocket_server")]
203#[cfg(any(aarch64_unknown_linux_gnu, x8664_unknown_linux_gnu))]
204pub mod cmp_websocket_server;
205
206#[cfg(feature = "cmp_webstorage")]
207#[cfg(wasm32_unknown_unknown)]
208pub mod cmp_webstorage;
209
210#[allow(dead_code, unused_imports)]
211pub mod shared_tasks;