Skip to content

wezm/deno-rust-wasm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deno Rust Wasm Template

This is a template repository for a Rust project that is compiled to Wasm for Deno. Use it to build a project in Rust to run with Deno and deploy to Deno Deploy.

Usage

Dependencies

  • Rust with wasm32-unknown-unknown target installed
  • Deno
  • wasm-bindgen
  • make (GNU make or BSD make will work)

Tasks

After cloning the repo the following tasks are available:

  • make — build the project
  • make run — run the web server, building if necessary
  • make test — run the integration tests

Deployment

There are a few ways to deploy a project using this template to Deno Deploy:

The easiest, whilst also providing preview deployments is probably the Automatic git integration. To do this there needs to be no build step so the build directory must be committed to the repository.

About

Template repository for building a Rust project for deployment to Deno Deploy

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published