Skip to content

A simple frontend interface connected to a Rust backend via WebAssembly.

License

Notifications You must be signed in to change notification settings

chemyl/tax_app_webassembly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic project of interpreting Rust code into a web application using WebAssembly

Rust Version wasm-bindgen Version serde Version Build Status

  • create library crate -> cargo new project --lib
  • add library annotation for compiler -> [lib] crate-type = ["cdylib"]
  • create skeleton inside index.html and extend script block with logic of working with wasm inclusion
  • install wasm-pack -> cargo install wasm-pack
  • build project with wasm-pack -> wasm-pack build --target web
  • include web server -> npm install -g http-server
  • start server in project root folder -> http-server .

launcher window

About

A simple frontend interface connected to a Rust backend via WebAssembly.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published