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

Applies to

This method applies to the following types: