No description, website, or topics provided.
Clone or download
havarnov Merge pull request #1 from frol/patch-1
Enable LTO for the client to cut the WASM output size by 10x (2.6MB -> 260KB)
Latest commit c9eb822 Jul 6, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
client Enable LTO for the client to cut the WASM output size by 10x (2.6MB -… Jul 3, 2018
protos initial commit. Jun 14, 2018
server
.gitignore initial commit. Jun 14, 2018
README.md Added readme. Jun 14, 2018

README.md

sample web app and server in rust

This is a sample app of a web server written in actix-web and a web app written in yew. The communication between server and client is http requests with protobuf serialized messages.

run server

cd server
cargo run

run client

cargo +nightly install cargo-web
cd client
cargo +nightly web start --target=wasm32-unknown-unknown --release