Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

withCargoBinTarget

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

Signature

methodwithCargoBinTargetbuilder
Configures the binary target to run for Rust applications that declare more than one.
withCargoBinTarget(binName: string): RustAppResource
binNamestring
RustAppResource

Applies to

This method applies to the following types: