WithCargoLocked
Method
func (RustAppResource) WithCargoLocked(options ...*WithCargoLockedOptions) RustAppResourceSignature
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().
Applies to
This method applies to the following types: