Files
dioxus/packages/fullstack-server/src/lib.rs
T
Jonathan Kelley 7102bc3b6a more fullstack cleanups: loaders serialize, ServeConfig only (#4785)
* some opinionated cleanups in dioxus-server

* add serialize to loader

* add `result` to Resource

* clippy

* fix

* writable memos, resources, `onmount`, `.pending`, and `.value()` on actions

* fix compile issues

* fix typo
2025-10-14 17:34:52 -07:00

51 lines
1.2 KiB
Rust

#![doc = include_str!("../README.md")]
#![doc(html_logo_url = "https://avatars.githubusercontent.com/u/79236386")]
#![doc(html_favicon_url = "https://avatars.githubusercontent.com/u/79236386")]
// #![warn(missing_docs)]
#![cfg_attr(docsrs, feature(doc_cfg))]
#![forbid(unexpected_cfgs)]
// re-exported to make it possible to implement a custom Client without adding a separate
// dependency on `bytes`
pub use bytes::Bytes;
pub use dioxus_fullstack_core::{ServerFnError, ServerFnResult};
pub use axum;
pub use config::ServeConfig;
pub use config::*;
pub use document::ServerDocument;
pub use http;
pub use inventory;
pub use server::*;
pub mod redirect;
#[cfg(not(target_arch = "wasm32"))]
mod launch;
#[cfg(not(target_arch = "wasm32"))]
pub use launch::{launch, launch_cfg};
/// Implementations of the server side of the server function call.
pub mod server;
/// Types and traits for HTTP responses.
// pub mod response;
pub mod config;
pub(crate) mod document;
pub(crate) mod ssr;
pub(crate) mod streaming;
pub use launch::router;
pub use launch::serve;
pub mod serverfn;
pub use serverfn::*;
pub mod isrg;
pub use isrg::*;
mod index_html;
pub(crate) use index_html::IndexHtml;