ランキングに戻る

wasm-bindgen/wasm-pack

Rustwasm-bindgen.github.io/wasm-pack/

📦✨ your favorite rust -> wasm workflow tool!

wasmrust-wasmregistryclirustnpmpackage
スター成長
スター
7.2k
フォーク
483
週間成長
Issue
333
2k4k6k
2018年2月2020年11月2023年9月2026年7月
成果物crates.iocargo add wasm-pack
README

📦✨ wasm-pack

Your favorite Rust → Wasm workflow tool!

Build Status crates.io

Docs | Contributing | Chat

About

This tool seeks to be a one-stop shop for building and working with rust- generated WebAssembly that you would like to interop with JavaScript, in the browser or with Node.js. wasm-pack helps you build rust-generated WebAssembly packages that you could publish to the npm registry, or otherwise use alongside any javascript packages in workflows that you already use, such as webpack.

demo

🔮 Prerequisites

This project requires Rust 1.30.0 or later.

⚡ Quickstart Guide

Visit the quickstart guide in our documentation.

🎙️ Commands

  • new: Generate a new RustWasm project using a template
  • build: Generate an npm wasm pkg from a rustwasm crate
  • test: Run browser tests
  • pack and publish: Create a tarball of your rustwasm pkg and/or publish to a registry

📝 Logging

wasm-pack uses env_logger to produce logs when wasm-pack runs.

To configure your log level, use the RUST_LOG environment variable. For example:

RUST_LOG=info wasm-pack build

👯 Contributing

Read our guide on getting up and running for developing wasm-pack, and check out our contribution policy.

🤹‍♀️ Governance

This project was started by ashleygwilliams and is maintained by drager.

関連リポジトリ
warpdotdev/warp

Warp is an agentic development environment, born out of the terminal.

Rustcrates.ioGNU Affero General Public License v3.0rustlinux
warp.dev
63.5k5.3k
JetBrains/kotlin

The Kotlin Programming Language.

Kotlinkotlinprogramming-language
kotlinlang.org
53.2k6.4k
DioxusLabs/dioxus

Fullstack app framework for web, desktop, and mobile.

Rustcrates.ioApache License 2.0rustvirtualdom
dioxuslabs.com
37.7k1.8k
raysan5/raylib

A simple and easy-to-use library to enjoy videogames programming

Czlib Licenseraylibc
raylib.com
34k3.2k
yewstack/yew

Rust / Wasm framework for creating reliable and efficient web applications

Rustcrates.ioApache License 2.0rustweb
yew.rs
32.7k1.5k
linera-io/linera-protocol

Main repository for the Linera protocol

Rustcrates.ioApache License 2.0blockchainrust
32.2k2.4k
AvaloniaUI/Avalonia

Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The future of .NET UI

C#MIT Licensec-sharpxaml
avaloniaui.net
31.2k2.8k
sunface/rust-course

什么?你敢放心的把后背交给 AI? 我赌你不敢,那就来学学 AI 时代最酷、最安全、最快的语言吧。本书拥有全面且深入的讲解、生动贴切的示例、德芙般丝滑的内容,这可能是目前最用心的 Rust 中文学习教程 / Book

Rustcrates.iorust-langrust
course.rs
30.7k2.6k
emilk/egui

egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native

Rustcrates.ioApache License 2.0guirust
egui.rs
29.8k2.1k
emscripten-core/emscripten

Emscripten: An LLVM-to-WebAssembly Compiler

C++Otherhacktoberfestemscripten
27.5k3.5k
tree-sitter/tree-sitter

An incremental parsing system for programming tools

Rustcrates.ioMIT Licenseincrementalparsing
tree-sitter.github.io
26.4k2.8k
slint-ui/slint

Slint is an open-source declarative GUI toolkit to build native user interfaces for Rust, C++, JavaScript, or Python apps.

Rustcrates.ioOtherrustembedded-devices
slint.dev
23.3k933