Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

RustAppResource.withCargoProfile

Method
📦 Aspire.Hosting.Rust v13.6.0-preview.1.26478.8
interface RustAppResource {
// ... omitted for brevity
withCargoProfile(profileName: string): RustAppResource;
}

Signature

methodwithCargoProfilebuilder
Configures the named cargo profile to build with.
withCargoProfile(profileName: string): RustAppResource
profileNamestring
RustAppResource

Defined on

This method is defined on the following type: