All Projects → yamafaktory → rust-wasm-webpack

yamafaktory / rust-wasm-webpack

Licence: MIT license
A simple boilerplate to get WebAssembly (WASM) code generated by Rust and bundled by Webpack!

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
rust
11053 projects

Projects that are alternatives of or similar to rust-wasm-webpack

taileater
A puzzle game where you eat your own tail to win!
Stars: ✭ 19 (-78.41%)
Mutual labels:  rustlang
headlines
[WIP] A simple news reading GUI app built in Rust
Stars: ✭ 92 (+4.55%)
Mutual labels:  rustlang
webbrowser-rs
Rust library to open URLs in the web browsers available on a platform
Stars: ✭ 150 (+70.45%)
Mutual labels:  rustlang
flowd
An inter-language runtime for flow-based programming (FBP)
Stars: ✭ 18 (-79.55%)
Mutual labels:  rustlang
easy reader
⏮ ⏯ ⏭ A Rust library for easily navigating forward, backward or randomly through the lines of huge files.
Stars: ✭ 83 (-5.68%)
Mutual labels:  rustlang
coding-challenge
Algorithms and Data-structures, problems and solutions in Rust language using cargo-workspaces
Stars: ✭ 17 (-80.68%)
Mutual labels:  rustlang
lambda-rust
🐳 🦀 a dockerized lambda build env for rust applications
Stars: ✭ 148 (+68.18%)
Mutual labels:  rustlang
mqtt rs
MQTT broker in Rust
Stars: ✭ 23 (-73.86%)
Mutual labels:  rustlang
Node
MASQ combines the benefits of VPN and Tor technology to create a superior next-generation privacy software, where users are rewarded for supporting an uncensored global web. Users gain privacy and anonymity online, while helping promote Internet Freedom.
Stars: ✭ 123 (+39.77%)
Mutual labels:  rustlang
pdu
Small, fast, and correct L2/L3/L4 packet parser.
Stars: ✭ 34 (-61.36%)
Mutual labels:  rustlang
goprisma
A Go wrapper for prisma to turn databases into GraphQL APIs using Go.
Stars: ✭ 54 (-38.64%)
Mutual labels:  rustlang
rust-for-backend-development
SWITCH TO RUST AND STOP WASTING YOUR TIME WITH JAVASCRIPT RUNTIME EXCEPTIONS
Stars: ✭ 30 (-65.91%)
Mutual labels:  rustlang
rust-advent
Learning Rust by solving advent of code challenges (Streaming live on Twitch every Monday)
Stars: ✭ 20 (-77.27%)
Mutual labels:  rustlang
craftql
A CLI tool to visualize GraphQL schemas and to output a graph data structure as a graphviz .dot format
Stars: ✭ 75 (-14.77%)
Mutual labels:  rustlang
qrrs
CLI QR code generator and reader written in rust
Stars: ✭ 29 (-67.05%)
Mutual labels:  rustlang
image-hub
Image Hub is a sample application for exploring WebAssembly modules used as Envoy filters.
Stars: ✭ 56 (-36.36%)
Mutual labels:  rustlang
nativeshell
Experimental embedder for Flutter
Stars: ✭ 553 (+528.41%)
Mutual labels:  rustlang
rust android ios
Android / iOS app with shared Rust logic
Stars: ✭ 182 (+106.82%)
Mutual labels:  rustlang
enum-display-derive
Derive Display for simple enums automagically
Stars: ✭ 22 (-75%)
Mutual labels:  rustlang
wasmbin
A self-generating WebAssembly parser & serializer in Rust.
Stars: ✭ 40 (-54.55%)
Mutual labels:  rustlang

rust-wasm-webpack 🏎️ Build Status npm version Standard - JavaScript Style Guide

A simple boilerplate to get WebAssembly (WASM) code generated by Rust and bundled by Webpack!

This project now uses the awesome rust-native-wasm-loader 🚀.

Prerequisite

To get started, we need to install rustup, the Rust toolchain installer:

curl https://sh.rustup.rs -sSf | sh

Please refer to its documentation.

Usage

Setup

First, install the necessary NodeJS dependencies:

yarn

The next step will update to the latest Rust nightly, add the wasm32-unknown-unknown toolchain and install wasm-gc from git. The latter is a small command to clean a wasm module and remove all unneeded exports, imports, functions, etc.

yarn setup

Build

You can skip this step and directly launch the dev server.

yarn build

Launch the dev server

yarn start

Go to http://localhost:9000/ and enjoy!

License

Released under the MIT license by Davy Duperron.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].