Skip to content

Conversation

@Niederb
Copy link
Contributor

@Niederb Niederb commented Mar 12, 2024

It is allowed to have the local path as well as the version number in the dependencies. For local builds the path is used (but the version number is still verified) and on crates.io the version number is used.
See also this description:
https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#multiple-locations
This should make releases in the future simpler as we don't have to add the version numbers later. See for example this branch that adds the version numbers:
#742

@Niederb Niederb marked this pull request as ready for review March 12, 2024 14:09
@Niederb Niederb added E1-breaksnothing F9-dependencies Pull requests that update a dependency file labels Mar 12, 2024
@Niederb Niederb requested a review from masapr March 12, 2024 14:11
Copy link
Collaborator

@masapr masapr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pretty cool. Thank you!

@Niederb Niederb merged commit 2d6c18c into master Mar 13, 2024
@Niederb Niederb deleted the tn/add-crates-io-versions branch December 9, 2025 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

E1-breaksnothing F9-dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants