1#![forbid(unsafe_code)]
17
18pub mod app;
19pub mod capacities;
20pub mod contract_lite;
21pub mod control_plane;
22pub mod discovery;
23pub mod error;
24pub mod esp_idf;
25pub mod fixed_buf;
26#[cfg(feature = "host")]
27pub mod host;
28pub mod identity;
29pub mod middleware;
30pub mod mqtt_lite;
31pub mod openapi;
32pub mod ota;
33pub mod path_match;
34pub mod peer_ctx;
35pub mod policy;
36pub mod provision;
37pub mod rate_limit;
38pub mod request;
39pub mod request_log;
40pub mod routes;
41pub mod security;
42pub mod serve_hooks;
43pub mod server;
44pub mod socket;
45pub mod state;
46pub mod telemetry;
47#[cfg(all(feature = "host", feature = "tls"))]
48pub mod tls;
49pub mod wifi;
50
51pub use app::{App, BuildError, Router};
52pub use capacities::Capacities;
53pub use error::{finish, ErrorBody, HandlerResult, HttpError};
54pub use fixed_buf::FixedBuf;
55pub use middleware::{
56 AfterMiddleware, AfterMiddlewareStack, BeforeMiddleware, DefaultHeaders, MiddlewareOutcome,
57 MiddlewareStack, MAX_AFTER_MIDDLEWARE, MAX_DEFAULT_HEADERS, MAX_MIDDLEWARE,
58};
59pub use path_match::{match_path, PathParams, MAX_PATH_PARAMS};
60pub use provision::{
61 parse_sta_form, sta_from_request, sta_from_request_auto, CAPTIVE_HTML, DEFAULT_SOFTAP_SSID,
62 NVS_KEY_PASS, NVS_KEY_SSID, NVS_NAMESPACE,
63};
64pub use request::{percent_decode_owned, RequestView};
66pub use routes::{
67 box_handler, box_result_handler, with_state, BoxedFallibleHandler, BoxedHandler,
68 FallibleHandlerFn, HandlerFn, ResponseParts, RouteDocs, RouteError, RouteTable,
69};
70pub use serve_hooks::SequentialHooks;
71pub use server::Server;
72pub use socket::{Connection, Listener};
73pub use state::{AppState, StateError, MAX_RESOURCES};
74pub use mqtt_lite::{MqttClient, MqttConfig};
75pub use security::{require_softap_password, SecurityProfile};
76pub use telemetry::{MqttSink, TelemetrySink, UdpSink};
77
78#[cfg(all(feature = "host", feature = "tls"))]
79pub use tls::{TlsHostConnection, TlsHostListener};
80
81#[cfg(feature = "macros")]
83pub use blazingly_esp_idf_macros::{delete, get, patch, post, put, route};
84
85#[cfg(feature = "host")]
86pub use host::{HostConnection, HostListener};
87
88pub use blazingly_wire::{self, Method};
89
90pub use wifi::{SoftApConfig, StaConfig, WifiConfigError};
91
92pub use blazingly_contract;
93pub use blazingly_json;