项目
在 GitHub 查看

deft-ui/deft
关于
Build cross-platform applications with Rust and JavaScript
网站与应用开发可以做什么
- 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
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Introduction
Deft is a framework for building desktop and mobile applications with Rust and JavaScript.
Features
- Hybrid programming with Rust and JavaScript
- Non-webview core
- Unified JavaScript engine and rendering engine
- Themes support
- Support React/Vue/Solid or any framework that supports custom render
Limits
- Not all CSS properties are supported, see documentation for more details.
- Accessibility is not yet available.
- JavaScript debugger is not yet available.
Component Gallery

Quick Start
npm create deft@latest hello-deft
cd hello-deft
npm install
npm run dev
Platforms
| Platform | Versions | Supported |
|---|---|---|
| Windows | 10+ | ✅ |
| Linux | X11 & Wayland | ✅ |
| MacOS | 10.12+ | ✅ |
| HarmonyOS | 5+ | ✅experimental |
| Android | 6+ | ✅experimental |
| iOS | - | ✅experimental |
| WebAssembly | - | ✅experimental |
Develop
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
Run demo
Native:
cd examples/gallery
cargo run
Wasm:
Make sure that Emscripten SDK is installed.
cd examples/gallery
cargo build --target wasm32-unknown-emscripten --release
python3 -m http.server
Visit http://localhost:8000/web/ to preview.
License
MIT
探索相关项目
加载中…