RustAppResource.withCargoLocked

Method
📦 Aspire.Hosting.Rust v17.0.0-preview.1.26567.5
interface RustAppResource {
// ... omitted for brevity
withCargoLocked(locked?: boolean): RustAppResource;
}

Signature

methodwithCargoLockedbuilder
Configures the Rust application to build and run with the exact dependency versions recorded in `Cargo.lock`.
withCargoLocked(locked?: boolean): RustAppResource
lockedbooleanoptional= True`true` to add `--locked`; otherwise `false`.
RustAppResource

Defined on

This method is defined on the following type: