1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//! Компонент для получения данных через HTTP server.
//!
//! Ссылки:
//!
//! - [Документация docs.rs](https://docs.rs/rsiot-http-server/latest/)
//!
//! - [Репозиторий GitHub](https://github.com/Konstantin-Dudersky/rsiot/tree/main/rsiot-http-server)
//!
//! - [Примеры](https://github.com/Konstantin-Dudersky/rsiot/tree/main/rsiot-http-server/examples)
//!
#![doc = include_str!("../doc/api_description.md")]
//!
//! ## Пример
//!
//! ```rust
#![doc = include_str!("../examples/http-server-example.rs")]
//! ```
//!
//! ## Тестирование
//!
//! См. папку .bruno
//!

#![cfg(any(target_arch = "x86_64", target_arch = "aarch64"))]

mod component;
mod config;
mod error;
mod fn_process;
mod routes;
mod shared_state;

pub use component::Cmp;
pub use config::Config;