jaeh / rust-playground

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rust Playground

just a personal playground.

install

git clone https://github.com/jaeh/rust-playground
cd rust-playground

try a neon example

cd ./neon

# install dependencies
npm install

# move to example directory
cd ./echo

# if the package has js dependencies 
# (will warn you that nodejs packages are missing)
# npm install

npm run build
npm start

try a wasm example

cd ./wasm

# install dependencies
npm install

# move to example directory
cd ./hello-world

# if the package has js dependencies 
# (will warn you that nodejs packages are missing)
# npm install

npm run build
npm start

# wasm bundle now serves at localhost:8080

try a book example

cd ./book/1/hello-world

cargo run

About


Languages

Language:Rust 74.4%Language:JavaScript 18.6%Language:HTML 6.8%Language:Shell 0.2%Language:CSS 0.0%