RustAppResource.WithCargoLocked
Method
type RustAppResource interface { // ... omitted for brevity WithCargoLocked(options ...*WithCargoLockedOptions) RustAppResource}Signature
method
WithCargoLocked builderConfigures the Rust application to build and run with the exact dependency versions recorded in
Cargo.lock .WithCargoLocked(options ...*WithCargoLockedOptions) RustAppResourceParameters
options...*WithCargoLockedOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithCargoLockedOptions argument.
Locked*booltrue to add --locked ; otherwise false.Returns
RustAppResource The resource builder.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: