deft

Crates.iodeft
lib.rsdeft
version
sourcesrc
created_at2025-01-27 09:19:22.496305+00
updated_at2025-05-12 16:57:34.131675+00
descriptionCross platform ui framework
homepage
repository
max_upload_size
id1532241
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Kason Yang (kasonyang)

documentation

README

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

Commit count: 0

cargo fmt