#engine #deft #framework #render #javascript

deft

Cross platform ui framework

37 releases (4 breaking)

new 0.5.1 Apr 25, 2025
0.5.0 Apr 25, 2025
0.4.5 Apr 23, 2025
0.3.0 Apr 7, 2025
0.1.3 Jan 28, 2025

#396 in Graphics APIs

Download history 209/week @ 2025-01-22 105/week @ 2025-01-29 1153/week @ 2025-02-05 437/week @ 2025-02-12 407/week @ 2025-02-19 490/week @ 2025-02-26 32/week @ 2025-03-05 14/week @ 2025-03-12 248/week @ 2025-03-19 252/week @ 2025-03-26 147/week @ 2025-04-02 24/week @ 2025-04-09 649/week @ 2025-04-16 534/week @ 2025-04-23

1,399 downloads per month
Used in deft-video

MIT license

740KB
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

~71–115MB
~2M SLoC