RustAppResource.withCargoProfile

Method
📦 Aspire.Hosting.Rust v17.0.0-preview.1.26567.5
interface RustAppResource {
// ... 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

Defined on

This method is defined on the following type: