RustHostingExtensions
Classstaticnet10.0
Provides extension methods for adding Rust applications to an
Hosting.IDistributedApplicationBuilder. namespace Aspire.Hosting;
public static class RustHostingExtensions{ // ...}13 members
Methods13
Section titled MethodsIResourceBuilder<RustAppResource> Adds a Rust application to the application model.
IResourceBuilder<T> Adds command-line arguments to the cargo command used by a Rust application.
IResourceBuilder<T> Adds command-line arguments to the cargo command used by a Rust application.
IResourceBuilder<T> Adds command-line arguments to the cargo command used by a Rust application.
IResourceBuilder<T> Configures the binary target to run for Rust applications that declare more than one.
IResourceBuilder<T> Configures an example target to run instead of a binary.
IResourceBuilder<T> Adds cargo features for the Rust application.
IResourceBuilder<T> Configures the Rust application to build and run with the exact dependency versions recorded in
Cargo.lock. IResourceBuilder<T> Configures the
Cargo.toml cargo builds from. IResourceBuilder<T> Configures the workspace package to build and run.
IResourceBuilder<T> Configures the named cargo profile to build with.
IResourceBuilder<T> Configures the Rust application to run using release optimization.
IResourceBuilder<T> Configures the target triple cargo builds for.