withCargoProfile
Method
interface RustAppResource { // ... omitted for brevity withCargoProfile(profileName: string): RustAppResource;}Signature
method
withCargoProfile builderConfigures the named cargo profile to build with.
withCargoProfile(profileName: string): RustAppResourceParameters
profileName stringThe profile name, for example `dev`, `release`, or a custom profile.Returns
RustAppResource Applies to
This method applies to the following types: