Rust AI Deployment Tool

How do I get started with Shuttle?
To get started with Shuttle, follow these three simple steps:
- Install the CLI:
$ cargo install cargo-shuttle
- Initialize your Project:
$ shuttle init
- Deploy your Project:
$ shuttle deploy
These steps will allow you to install the Shuttle CLI, initialize a new project, and deploy it quickly.
What are the main features of Shuttle?
Shuttle offers several standout features for rapid backend development:
- Infrastructure from Code: Automatically generates infrastructure definitions from your code’s function signatures and annotations.
- Fast Deployment: Get your app up and running quickly without writing any infrastructure files.
- Rust Framework Support: Supports all major Rust frameworks and has built-in logging support.
- No Vendor Lock-In: Deploy your application on any cloud or run Shuttle locally.
- Fast Redeploys: Uses cache from previous builds to provide lightning-fast redeployment times.
Why should I use Shuttle for backend development?
Shuttle simplifies the backend development process in several ways:
- Focus on Code: Allows you to concentrate on writing good code without worrying about infrastructure configuration.
- Integrated Development Experience: Ensures local development matches deployed environments.
- Community and Support: Backed by a strong community with thousands of users and contributors, offering a collaborative development environment.
- Flexible Deployment Options: No need for vendor lock-in; you can deploy to any cloud or run Shuttle on your local setup.
What happens when I deploy to Shuttle?
Your code is analyzed and built on Shuttle's servers. The first time you introduce additional resources in your code, like a database, that resource is automatically added to your project and configured for deployment.
Can I use any frontend framework with Shuttle?
Yes, you can. When you deploy a project on Shuttle, your API becomes available at a URL like ${project_name}.Shuttleapp.rs. Shuttle is compatible with common frontend hosting solutions like Vercel and Netlify. Soon, Shuttle will also offer support for hosting static content at the edge and hosting frameworks like Preact or Next.js.
Is there a local development experience?
Absolutely. Shuttle ensures that your local development environment matches exactly how your app will work when deployed to the cloud. This includes all resources needed, like databases and secrets.
How does Shuttle differ from using serverless frameworks or Rust Lambda?
You can run your lambda code on Shuttle's dedicated infrastructure, which maintains the state of your services across requests, avoids cold starts, and allows long-running threads, unlike AWS Lambda.
Do you plan to have a WASM runner?
Yes, Shuttle is developing a WASM runner to enhance build times and deploy times. The release of stable support for WASM services is expected soon.

































