Skip to main content
net8.0net9.0

A .NET Aspire integration for hosting Rust apps.

Published
Dec 12, 2024
1y ago
Total Downloads
74.3K
74,273

Install

dotnet add package CommunityToolkit.Aspire.Hosting.Rust --version 9.0.1-beta.108
ProductVersions
.NET
net8.0net9.0

README

CommunityToolkit.Aspire.Hosting.Rust library

Provides extensions methods and resource definitions for the .NET 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

Changes from Previous Version

No structural changes between v9.0.1-beta.107 and v9.0.1-beta.108.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.