Deploy a Rust REST API to the cloud with an auto-provisioned Postgres database in minutes, without any server configuration.
Build a web service using Axum or Actix that automatically gets a public URL and managed resources on deploy.
Set up continuous deployment for a Rust web app by adding the Shuttle GitHub Action to your repository.
Requires a free Shuttle account and cargo-shuttle CLI installed via a shell script or PowerShell.
Shuttle is a platform for deploying Rust web applications without writing any infrastructure configuration. Getting a web service online normally involves setting up servers, configuring databases, managing environment variables, and writing deployment scripts. Shuttle aims to remove most of that work from the developer's side. The way it works: you write a Rust web application using a supported framework such as Axum, Actix Web, or Rocket, then add a small annotation to your main function that tells Shuttle's runtime how to handle the application. Resources like a Postgres database can be requested by adding them as parameters to that same annotated function. Shuttle reads those declarations and provisions the requested resources automatically when you deploy. Deployment is a single command: shuttle deploy from the project directory. Shuttle handles compiling the code, provisioning any requested resources, and making the application available at a public URL. The README shows an example where adding a shared Postgres database to a running application requires changing only a few lines of code, with no separate database configuration file needed. Shuttle provides a command-line tool called cargo-shuttle that handles login, project initialization from templates, and deployment. Installation uses a shell script on Linux and macOS, or a PowerShell script on Windows. After installing, you log in and can initialize a project from a template with a single command. The project is open source and accepts contributions. It runs a cash bounty program for selected open issues through the Algora platform. Separate repositories handle the examples, documentation site, GitHub Action for continuous deployment, and a set of Rust coding challenges. A Discord community is available for questions.
← shuttle-hq on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.