Registry / web-framework / leptos-axum

leptos-axum

JSON →
library0.8.9rscratesunverified

Axum integrations for the Leptos web framework, enabling server-side rendering.

# Cargo.toml [dependencies] leptos_axum = "0.8.9"
INSTALL
IMPORT
SIG · LEPTOS-AXUM
L
leptos-axum
web-frameworkrustv0.8.9
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

LeptosRoutes
use leptos_axum::LeptosRoutes;

Configure Leptos routes with Axum.

use leptos_axum::LeptosRoutes; fn main() { let routes = LeptosRoutes::new(); println!("Leptos routes configured"); }
Debug
Known issues
gotchaRequires tokio runtime for async operations
fix
Use #[tokio::main] or provide a tokio runtime
affects: >=0.8.0
Upgrade
Version history
0.8.9latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
3 hits · last 30 days
node
2
Amazon
1
Resources
leptos-axum — cargo add leptos-axum · libregistry