Shuttle Metadata

This plugin allows applications to obtain certain information about their runtime environment.

Usage

Add shuttle-metadata to the dependencies for your service.

You can get this resource using the shuttle_metadata::ShuttleMetadata attribute to get a Metadata. This struct will contain information such as the Shuttle service name.

```rust

[shuttle_runtime::main]

async fn app( #[shuttlemetadata::ShuttleMetadata] metadata: shuttlemetadata::Metadata, ) -> __ { ... } ```

Example projects that use shuttle-metadata

| Framework | Link | | --------- | -------------------------------------------------------------------------------------- | | Axum | axum example |