19 lines
846 B
Rust
19 lines
846 B
Rust
//! # Adapters
|
|
//! Adapters for different web frameworks.
|
|
//!
|
|
//! Each adapter provides a set of utilities that is ergonomic to use with the framework.
|
|
//!
|
|
//! Each framework has utilies for some or all of the following:
|
|
//! - Server functions
|
|
//! - A generic way to register server functions
|
|
//! - A way to register server functions with a custom handler that allows users to pass in a custom [`crate::server_context::DioxusServerContext`] based on the state of the server framework.
|
|
//! - A way to register static WASM files that is accepts [`crate::serve_config::ServeConfig`]
|
|
//! - A hot reloading web socket that intigrates with [`dioxus-hot-reload`](https://crates.io/crates/dioxus-hot-reload)
|
|
|
|
#[cfg(feature = "axum")]
|
|
pub mod axum_adapter;
|
|
#[cfg(feature = "salvo")]
|
|
pub mod salvo_adapter;
|
|
#[cfg(feature = "warp")]
|
|
pub mod warp_adapter;
|