Cargo Features

[dependencies]
rsiot = { version = "0.0.82", default-features = false, features = ["env_vars", "executor", "logging", "single-thread", "serde-json", "cmp_auth", "cmp_esp", "cmp_http_client", "cmp_http_client_wasm", "cmp_http_server", "cmp_influxdb", "cmp_filesystem", "cmp_leptos", "cmp_modbus_client", "cmp_mqtt_client", "cmp_plc", "cmp_raspberrypi", "cmp_redis_client", "cmp_slint", "cmp_surrealdb", "cmp_system_info", "cmp_telegram", "cmp_timescaledb", "cmp_websocket_client", "cmp_websocket_client_wasm", "cmp_websocket_server", "cmp_webstorage", "leptos_router"] }
default = serde-json

The serde-json feature is set by default whenever rsiot is added without default-features = false somewhere in the dependency tree.

env_vars

Конфигурирование через переменные

Enables clap, dotenvy, envy, toml, and url

Affects rsiot::env_vars

executor cmp_auth? cmp_esp? cmp_filesystem? cmp_http_client? cmp_http_client_wasm? cmp_http_server? cmp_influxdb? cmp_leptos? cmp_modbus_client? cmp_mqtt_client? cmp_plc? cmp_raspberrypi? cmp_redis_client? cmp_slint? cmp_surrealdb? cmp_system_info? cmp_telegram? cmp_timescaledb? cmp_websocket_client? cmp_websocket_client_wasm? cmp_websocket_server? cmp_webstorage?

Базовые компоненты

Enables async-trait, futures, and tokio

Affects rsiot::components, rsiot::executor

logging

Настройка логгирования сообщений

Enables log, openssl, tokio, tracing-loki, tracing-subscriber, tracing-web, and url

Affects rsiot::logging

single-thread cmp_esp?

Работа в однопоточном режиме

Affects cmp_external_fn_process::Config.fn_process, join_set_spawn::join_set_spawn

serde-json default

Enables serde_json

cmp_auth = executor

Компонент аутентификации

Enables hmac, jwt, and sha2

Affects components::cmp_auth

cmp_esp = executor, single-thread

Компоненты для работы с микроконтроллером ESP

Enables embedded-svc ^0.27.1, heapless, postcard, and optional tokio

Affects components::cmp_esp_adc, components::cmp_esp_gpio, components::cmp_esp_i2c_master, components::cmp_esp_mqtt_client, components::cmp_esp_nvs, components::cmp_esp_wifi, components::cmp_http_server_esp, components_config::mqtt_client, components_config::http_server, rsiot::drivers_i2c

cmp_http_client = executor

Компонент http-клиент

Enables http, openssl, reqwest, and url

Affects components::cmp_http_client, components_config::http_client

cmp_http_client_wasm = executor

Компонент http-клиент для платформы WASM

Enables gloo, http, instant, and url

Affects components::cmp_http_client_wasm, components_config::http_client

cmp_http_server = executor

Компонент http-сервер

Enables axum and tower-http ^0.5.1

Affects components::cmp_http_server, components_config::http_server

cmp_influxdb = executor

Компонент сохранения в БД InfluxDB

Enables openssl and reqwest

Affects components::cmp_influxdb, components_config::influxdb_v2

cmp_filesystem = executor

Комонент сохранения данных в файловой системе

Enables fs of optional tokio

Affects components::cmp_filesystem

cmp_leptos = executor

Компонент для создания интерфейсов на базе Leptos

Enables gloo, leptos, palette, url, and web-sys

Affects components::cmp_leptos

cmp_modbus_client = executor

Компонент Modbus клиент

Enables tokio-modbus ^0.11.0

Affects components::cmp_modbus_client, components_config::modbus_client

cmp_mqtt_client = executor

Комонент клиента MQTT

Enables rumqttc

Affects components::cmp_mqtt_client, components_config::mqtt_client

cmp_plc = executor

Компонент ПЛК

Enables gloo and instant

Affects components::plc_lib, components::cmp_plc

cmp_raspberrypi = executor

Работа с периферией Raspberry Pi

Enables rppal ^0.17.1

Affects components::cmp_raspberrypi_gpio, components::cmp_raspberrypi_i2c_master, rsiot::drivers_i2c

cmp_redis_client = executor

Компонент клиента Redis

Enables futures, redis ^0.25.0, and url

Affects components::cmp_redis_client, components_config::redis_client

cmp_slint = executor

Компонент пользовательского интерфейса, реализованного с помощью библиотеки Slint

Enables slint

Affects components::cmp_slint

cmp_surrealdb = executor

Компонент доступа к БД SurrealDB

Enables surrealdb ^1.2.0

Affects components::cmp_surrealdb

cmp_system_info = executor

Компонент получает системную информацию

Enables sysinfo ^0.30.7

Affects components::cmp_system_info

cmp_telegram = executor

Компонент бота telegram

Enables teloxide ^0.12.2

Affects components::cmp_telegram

cmp_timescaledb = executor

Компонент сохранения в БД TimescaleDB

Enables sqlx ^0.7.3 and url

Affects components::cmp_timescaledb, components_config::timescaledb

cmp_websocket_client = executor

Компонент websocket клиента

Enables futures, tokio-tungstenite ^0.21.0, and url

Affects components::cmp_websocket_client, components_config::websocket_client

cmp_websocket_client_wasm = executor

Компонент websocket клиента для платформы WASM

Enables futures, gloo, and url

Affects components::cmp_websocket_client_wasm, components_config::websocket_client

cmp_websocket_server = executor

Компонент websocket сервера

Enables futures, tokio-tungstenite ^0.21.0, and tokio-util

Affects components::cmp_websocket_server, components_config::websocket_server

cmp_webstorage = executor

Хранение и загрузка сообщений используя Web Storage API браузера

Enables gloo

Affects components::cmp_webstorage

Features from optional dependencies

leptos_router implicit feature

Enables leptos_router

leptos_router:

Router for the Leptos web framework