Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 723 Bytes

File metadata and controls

30 lines (17 loc) · 723 Bytes

CommunityToolkit.Aspire.Hosting.Rust library

Provides extensions methods and resource definitions for the Aspire AppHost to support running Rust applications.

Getting Started

Install the package

In your AppHost project, install the package using the following command:

dotnet add package CommunityToolkit.Aspire.Hosting.Rust

Example usage

Then, in the Program.cs file of AppHost, define a Rust resource, then call AddRustApp:

var rustApp = builder.AddRustApp("rust-app", "../actix_api");

Additional Information

https://learn.microsoft.com/dotnet/aspire/community-toolkit/hosting-rust

Feedback & contributing

https://github.com/CommunityToolkit/Aspire