Dioxus Rust Fullstack Cross-Platform Application Framework
Dioxus is a fullstack app framework for Rust that enables building cross-platform applications for web, desktop, and mobile from a single codebase. With 24k+ GitHub stars and an active Rust community, it combines React-like ergonomics with Rust performance and type safety.
Installation
Use the upstream install or setup path that matches your environment:
- cargo run --example
- However, we encourage you to download the dioxus-cli to test out features like hot-reloading. To install the most recent binary CLI, you can use cargo binstall.
- cargo install --git https://github.com/DioxusLabs/dioxus dioxus-cli --locked
Basic usage or getting-started notes:
Render using web-sys, webview, server-side-rendering, liveview, or even with our experimental WGPU-based renderer. Embed Dioxus in Bevy, WGPU, or even run on embedded Linux!
Dioxus is the fastest way to build native mobile apps with Rust. Simply run dx serve --platform android and your app is running in an emulator or on device in seconds. Call directly into JNI and Native APIs.
Simply run dx bundle and your app will be built and bundled with maximization optimizations. On the web, take advantage of [.avif generation, .wasm compression, minification](https://dioxuslabs.com/learn/0.7/tutorial/...
Extracted from upstream docs: https://raw.githubusercontent.com/DioxusLabs/dioxus/HEAD/README.md
Source
Source: agentskillexchange/skills — distributed by TomeVault.