42 releases (6 breaking)
new 0.7.1 | May 12, 2025 |
---|---|
0.6.2 | May 8, 2025 |
0.2.16 | Mar 31, 2025 |
#390 in Graphics APIs
2,299 downloads per month
Used in deft-video
770KB
21K
SLoC
Introduction
Deft is a framework for building desktop and mobile applications with Rust and JavaScript.
Features
- Hybrid programming with Rust and JavaScript
- Non-webview core
- Unified JavaScript engine and rendering engine
- Support React/Vue/Solid or any framework that supports custom render
Quick Start
npm create deft@latest
Platforms
Platform | Versions | Supported |
---|---|---|
Windows | 10+ | ✅ |
Linux | X11 & Wayland | ✅ |
MacOS | - | ✅ |
HarmonyOS | - | ✅experimental |
Android | - | ✅experimental |
iOS | - | ❔ |
Web | - | ❌ |
Building
Prerequisites
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
Build
cargo build
Run demo
cargo run --example demo
License
MIT
Dependencies
~43–110MB
~2M SLoC