3 ms·
This is in the context of rust. > it adds a line to a `go.sum` while with a hash of the code at the version specified Cargo.lock also contains a checksum >
by TheDong 5y ago
This is in the context of rust.
> it adds a line to a `go.sum` while with a hash of the code at the version specified
Cargo.lock also contains a checksum
> You can distribute your code without a copy of the dependency
Also true in rust, and the default way of using rust/cargo.
> If the hashes are different, an error is thrown.
Also true in rust.
For an example of what this looks like: https://github.com/servo/webrender/blob/54b725be37f13b16694687ceab28b3fa6ac48921/Cargo.lock#L9-L16 https://github.com/servo/webrender/blob/54b725be37f13b166946...
You haven't described anything different between go and rust in your comment since every feature you've pointed out applies equally to both.