#framework #engine #deft #javascript #render

deft

Cross platform ui framework

29 releases

new 0.3.0 Apr 7, 2025
0.2.16 Mar 31, 2025
0.2.9 Feb 23, 2025
0.1.11 Feb 7, 2025
0.1.3 Jan 28, 2025

#502 in GUI

Download history 247/week @ 2025-01-27 1119/week @ 2025-02-03 245/week @ 2025-02-10 633/week @ 2025-02-17 457/week @ 2025-02-24 125/week @ 2025-03-03 18/week @ 2025-03-10 221/week @ 2025-03-17 167/week @ 2025-03-24 140/week @ 2025-03-31

549 downloads per month
Used in deft-video

MIT license

700KB
19K 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

~62–105MB
~2M SLoC