Shuttle is a Rust-native cloud development platform that lets you deploy your app while also taking care of all of your infrastructure.
GET /
endpoint returns Hello, world!
.
But most importantly, the code you see in the snippet above, is all it takes for shuttle deploy
to deploy it.
This is possible due to the #[shuttle_runtime::main]
procedural macro.
The macro wraps your app with Shuttle’s runtime, which handles resource provisioning and initialization for you.
shuttle deploy
, your project code is archived and sent to our platform where it is built into a Docker image.
Your service will then be started on Shuttle’s infrastructure on AWS in London (eu-west-2).
The generated code from shuttle_runtime::main
handles resource provisioning and initialization, leaving you to focus on what matters.