RustAppResource.withCargoArgs

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

Signature

methodwithCargoArgsbuilder
Adds command-line arguments to the cargo command used by a Rust application.
withCargoArgs(args: string[]): RustAppResource
argsstring[]The cargo arguments to append before `--`.
RustAppResource

Defined on

This method is defined on the following type: