⭐️ If you like Shuttle, give it a star on GitHub!
$ cargo install cargo-shuttleControl your infrastructure by adding annotations to your code.
Skip the AWS console
Compile-time insurance
Databases
Entirely open-source
Generous free tier
Fast deploy times
Take your code to full-featured cloud infrastructure in under a minute. Don't take our word for it, see it for yourself.
Persist with Postgres
Build any web service with a fully managed database using Rocket and sqlx
Url Shortener
A URL shortener that you can use from your terminal - built with shuttle, rocket and postgres/sqlx.
JWT authentication
Guard endpoints using self-issued JWT tokens while keeping public endpoint open
Shuttle is built for Rust.
A simple cargo command packages up your application, ships it to the shuttle build cluster where it's incrementally compiled and automatically served on a unique subdomain.
Shuttle uses simple but powerful annotations to understand your dependencies. Infrastructure dependencies like databases or key-value stores are spun up for you and everything is automatically wired together from the get-go.
It feels a little magical.
1use rocket::{get, routes};
2
3#[get("/hello")]
4fn hello() -> &'static str {
5 "Hello, world!"
6}
7
8#[shuttle_service::main]
9async fn init() -> shuttle_service::ShuttleRocket {
10 Ok(
11 rocket::build()
12 .mount("/", routes![hello])
13 )
14}