Registry / web-framework / iced-web

iced-web

JSON →
library0.4.0rscratesunverified

A web backend for Iced

# Cargo.toml [dependencies] iced_web = "0.4.0"
INSTALL
IMPORT
SIG · ICED-WEB
I
iced-web
web-frameworkrustv0.4.0
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.

Application
use iced_web::Application;

Build a web UI using the Iced GUI framework compiled to WebAssembly.

use iced_web::Application; struct MyApp; impl Application for MyApp { type Message = (); fn update(&mut self, _message: Self::Message) {} fn view(&self) -> iced_web::Element<Self::Message> { "Hello, Web!".into() } }
Debug
Known issues
gotchaRequires WebAssembly target: This crate only works when compiled to wasm32-unknown-unknown.
fix
Add --target wasm32-unknown-unknown to your build command.
affects: >=0.4.0
Upgrade
Version history
0.4.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
iced-web — cargo add iced-web · libregistry