Skip to content

inanna-malick/embed-wasm-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example project with a rust webserver (warp) serving a rust frontend (yew) as wasm included in the webserver binary using include_bytes.

This is motivated by a desire to share code and types between the frontend (wasm) and native backend code, so it's all in a single workspace.

currently requires latest rust nightly or higher (due to bug fix for a stable regression, not for experimental features)

TODO:

  • revise web server section - mildly janky, more of a proof of concept
  • FIXED: use phf instead of lazy_static after rust-lang/rust#70584 is resolved
  • mark as non-nightly only when the fix to that issue hits stable

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published