RustAppResource.withCargoBinTarget

Method
📦 Aspire.Hosting.Rust v17.0.0-preview.1.26567.5
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
binNamestringThe binary target name, as declared by `[[bin]] name` in Cargo.toml.
RustAppResource

Defined on

This method is defined on the following type: