RustAppResource.WithCargoBinTarget

Method
📦 Aspire.Hosting.Rust v17.0.0-preview.1.26567.5
type RustAppResource interface {
// ... 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

The resource builder.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: