RustAppResource.withCargoLocked
Method
interface RustAppResource { // ... omitted for brevity withCargoLocked(locked?: boolean): RustAppResource;}Signature
method
withCargoLocked builderConfigures the Rust application to build and run with the exact dependency versions recorded in `Cargo.lock`.
withCargoLocked(locked?: boolean): RustAppResourceParameters
lockedbooleanoptional= True`true` to add `--locked`; otherwise `false`.Returns
RustAppResource Defined on
This method is defined on the following type: