deft 0.6.1

Cross platform ui framework
docs.rs failed to build deft-0.6.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

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

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