stellar / quickstart

Home of the stellar/quickstart docker image for development and testing
Apache License 2.0
191 stars 205 forks source link

Use --locked when installing stellar-xdr cli #575

Closed leighmcculloch closed 8 months ago

leighmcculloch commented 8 months ago

What

Use --locked when cargo installing stellar-xdr cli.

Why

When cargo install is used without --locked it ignores the Cargo.lock file stored in the crate. Without the lock file cargo will pick the most recent versions of dependencies that match the selections specified in the Cargo.toml. It prevents builds from being reproducible.