| Crates.io | deft |
| lib.rs | deft |
| version | 0.12.0 |
| created_at | 2025-01-27 09:19:22.496305+00 |
| updated_at | 2025-06-29 15:16:03.615744+00 |
| description | Cross platform ui framework |
| homepage | |
| repository | https://github.com/deft-ui/deft |
| max_upload_size | |
| id | 1532241 |
| size | 1,980,470 |
Deft is a framework for building desktop and mobile applications with Rust and JavaScript.
npm create deft@latest hello-deft
cd hello-deft
npm install
npm run dev
| Platform | Versions | Supported |
|---|---|---|
| Windows | 10+ | ✅ |
| Linux | X11 & Wayland | ✅ |
| MacOS | 10.12+ | ✅ |
| HarmonyOS | 5+ | ✅experimental |
| Android | 6+ | ✅experimental |
| iOS | - | ✅experimental |
| WebAssembly | - | ✅experimental |
Make sure Rust, Node.js and Clang14+ installed.
Some extra packages need to be installed on Linux.
apt install build-essential libssl-dev libclang-dev libc++-dev \
xorg-dev libxcb-xfixes0-dev libxcb-shape0-dev libdbus-1-dev \
libasound2-dev libegl-dev libgles-dev librust-wayland-egl-dev
Native:
cd examples/gallery
cargo run
Wasm:
Make sure that Emscripten SDK is installed.
cd examples/gallery
cargo build --target wasm32-unknown-emscripten --release
python3 -m http.server
Visit http://localhost:8000/web/ to preview.
MIT