#framework #engine #deft #javascript #render

deft

Cross platform ui framework

35 releases

new 0.4.5 Apr 23, 2025
0.4.4 Apr 22, 2025
0.3.0 Apr 7, 2025
0.2.16 Mar 31, 2025
0.1.3 Jan 28, 2025

#549 in GUI

Download history 227/week @ 2025-01-23 131/week @ 2025-01-30 1132/week @ 2025-02-06 523/week @ 2025-02-13 309/week @ 2025-02-20 487/week @ 2025-02-27 27/week @ 2025-03-06 11/week @ 2025-03-13 320/week @ 2025-03-20 189/week @ 2025-03-27 146/week @ 2025-04-03 21/week @ 2025-04-10 726/week @ 2025-04-17

1,155 downloads per month
Used in deft-video

MIT license

735KB
20K SLoC

Introduction

Deft is a framework for building desktop and mobile applications with Rust and JavaScript.

crates.io

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

Documentation

Demos

Platforms

Platform Versions Supported
Windows 10+
Linux X11 & Wayland
MacOS -
Android -
iOS -
Web -

Building

On Debian

apt install build-essential libssl-dev libclang-dev libc++-dev
apt install xorg-dev libxcb-xfixes0-dev libxcb-shape0-dev
apt install libasound2-dev
cargo build --features x11,wayland

On Windows/MacOS

Make sure Clang14+ installed.

cargo build

License

MIT

Dependencies

~72–115MB
~2M SLoC