Registry / cloud / shuttle-runtime

shuttle-runtime

JSON →
library0.57.0rscratesunverified

Runtime to run a service on the Shuttle platform for deploying Rust applications.

# Cargo.toml [dependencies] shuttle-runtime = "0.57.0"
INSTALL
IMPORT
SIG · SHUTTLE-RUNTIME
S
shuttle-runtime
cloudrustv0.57.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

main
use shuttle_runtime::main;

Defines a Shuttle service using the runtime macro.

use shuttle_runtime::main; #[main] async fn my_service() -> shuttle_axum::ShuttleAxum { let router = axum::Router::new().route("/", axum::routing::get(|| async { "Hello!" })); Ok(router.into()) }
Debug
Known issues
gotchaRequires specific feature flags for different service types (e.g., shuttle-axum).
fix
Add the appropriate feature flag in Cargo.toml, e.g., shuttle-runtime = { features = ["axum"] }.
affects: >=0.10.0
Upgrade
Version history
0.57.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
24
OpenAI (training)
1
Resources
shuttle-runtime — cargo add shuttle-runtime · libregistry