Cargo Features

[dependencies]
rsiot = { version = "0.0.81", default-features = false, features = ["env_vars", "executor", "logging", "single-thread", "serde-json", "cmp_auth", "cmp_http_client", "cmp_http_client_wasm", "cmp_http_server", "cmp_esp", "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_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_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_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

serde-json default

Enables serde_json

cmp_auth = executor

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

Enables hmac, jwt, and sha2

Affects components::cmp_auth

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

Affects components::cmp_http_server, components_config::http_server

cmp_esp = executor, single-thread

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

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

Affects components::cmp_esp_adc, components::cmp_esp_gpio, 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

cmp_influxdb = executor

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

Enables openssl and reqwest

Affects components::cmp_influxdb, components_config::influxdb_v2

cmp_leptos = executor

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

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

Affects components::cmp_leptos

cmp_modbus_client = executor

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

Enables tokio-modbus

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::cmp_plc

cmp_raspberrypi = executor

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

Enables rppal

Affects components::cmp_raspberrypi_gpio

cmp_redis_client = executor

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

Enables futures, redis, 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

Affects components::cmp_surrealdb

cmp_system_info = executor

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

Enables sysinfo

Affects components::cmp_system_info

cmp_timescaledb = executor

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

Enables sqlx and url

Affects components::cmp_timescaledb, components_config::timescaledb

cmp_websocket_client = executor

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

Enables futures, tokio-tungstenite, and url

Affects components::cmp_websocket_client, components_config::websocket_client

cmp_websocket_client_wasm = executor

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

Enables futures, gloo, and url

Affects components::cmp_websocket_client_wasm, components_config::websocket_client

cmp_websocket_server = executor

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

Enables futures, tokio-tungstenite, 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