24 releases

new 0.2.12 Mar 1, 2025
0.2.11 Mar 1, 2025
0.2.9 Feb 23, 2025
0.1.11 Feb 7, 2025
0.1.3 Jan 28, 2025

#1115 in Web programming

Download history 242/week @ 2025-01-26 1057/week @ 2025-02-02 271/week @ 2025-02-09 195/week @ 2025-02-16

1,765 downloads per month
Used in deft-video

MIT license

700KB
19K SLoC

Rust 17K SLoC // 0.0% comments JavaScript 1.5K SLoC // 0.3% comments TypeScript 720 SLoC // 0.4% comments Shell 22 SLoC // 0.1% comments

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
  • Similar api to web

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