Skip to main content
The metadata plugin allows applications to obtain certain information about their runtime environment.

Usage

Use the resource by annotating your main function with the shuttle_runtime::ShuttleMetadata attribute.

Example

main.rs
This example has one route which returns the debug print of the DeploymentMetadata struct:
The full example can also be found on GitHub.