RustAppResource.withCargoPackage

Method
📦 Aspire.Hosting.Rust v17.0.0-preview.1.26567.5
interface RustAppResource {
// ... omitted for brevity
withCargoPackage(packageName: string): RustAppResource;
}

Signature

methodwithCargoPackagebuilder
Configures the workspace package to build and run.
withCargoPackage(packageName: string): RustAppResource
packageNamestringThe cargo package name.
RustAppResource

Defined on

This method is defined on the following type: