RustAppResource.WithCargoProfile

Method
📦 Aspire.Hosting.Rust v17.0.0-preview.1.26567.5
type RustAppResource interface {
// ... omitted for brevity
WithCargoProfile(profileName string) RustAppResource
}

Signature

methodWithCargoProfilebuilder
Configures the named cargo profile to build with.
WithCargoProfile(profileName string) RustAppResource
profileNamestringThe profile name, for example dev, release, or a custom profile.
RustAppResource

The resource builder.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: