Registry / web-framework / leptos

leptos

JSON →
library0.8.19rscratesunverified

Leptos is a full-stack, isomorphic Rust web framework leveraging fine-grained reactivity to build declarative user interfaces.

# Cargo.toml [dependencies] leptos = "0.8.19"
INSTALL
IMPORT
SIG · LEPTOS
L
leptos
web-frameworkrustv0.8.19
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.

view
use leptos::view;

Creates a simple reactive web app with Leptos.

use leptos::*; fn main() { mount_to_body(|| view! { <p>"Hello, world!"</p> }); }
Debug
Known issues
gotchaRequires nightly Rust for some features
fix
Use `rustup default nightly` or set `RUSTC_BOOTSTRAP=1`.
affects: >=0.1.0
breakingBreaking changes in 0.8: view macro syntax changed
fix
Update to new view! macro syntax; see migration guide.
affects: >=0.8.0
Upgrade
Version history
0.8.19latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
leptos — cargo add leptos · libregistry