Rocket
Rocket is a web framework for Rust. If you'd like, you can think of Rocket as being a more flexible, friendly medley of Rails, Flask, Bottle, and Yesod. We prefer to think of Rocket as something new. Rocket aims to be fast, easy, and flexible while offering guaranteed safety and security where it can. Importantly, Rocket also aims to be fun, and it accomplishes this by ensuring that you write as little code as needed to accomplish your task.
Check out their official documentation here
Deploy a Rocket App
Deployment Instructions
In this tutorial, we advice creating a Dockerfile and using Docker as the build system
-
Fork/Clone this Hostless-Rocket-Example repo from github
-
Click on 'Create New App'
-
Choose a suitable app name
-
Choose your github account
-
Choose the forked github repo/the cloned remote repo
-
Choose a build system
- 'Docker' - looks for a Dockerfile in the root of the project and build based on the instructions
-
Input a start command(optional)
-
The PORT environment variable is set by Hostless
Sample configuration
Example project
An example project is hosted on https://hostless-rocket-example.hostless.app/