Skip to content

Specify the versions for deps more precisely in the cargo toml#696

Merged
DanGould merged 2 commits intopayjoin:masterfrom
benalleng:toml-version-specify
May 14, 2025
Merged

Specify the versions for deps more precisely in the cargo toml#696
DanGould merged 2 commits intopayjoin:masterfrom
benalleng:toml-version-specify

Conversation

@benalleng
Copy link
Collaborator

@benalleng benalleng commented May 14, 2025

We had 2 dependency versions that were on less specific version numbers and in adding these deps to other crates there is/was some confusion around which version to use.

By adding specific versions for these deps when other crates need or want to add these deps we can prevent dep tree mismatches. I am confident that these versions should be pinned as there are several downstream deps that rely on 1.1.0 for http and 1.19.0 for once_cell.

These versions are what already exist in the cargo tree and by including these specific versions we are not actually changing any versions, just what devs can refer back to when looking for exact dependency versions.

We had 2 dep versions that were on lesss specific version numbers and in
adding these deps to other crates there is/was some confusion around
which version to use.

By adding specific versions for these deps when other crates need or want
to add these dependecies we can prevent dep tree mismatches.
@coveralls
Copy link
Collaborator

Pull Request Test Coverage Report for Build 15027169103

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 2 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.03%) to 82.247%

Files with Coverage Reduction New Missed Lines %
payjoin/src/send/mod.rs 2 94.46%
Totals Coverage Status
Change from base Build 14979685792: -0.03%
Covered Lines: 5476
Relevant Lines: 6658

💛 - Coveralls

Copy link
Contributor

@DanGould DanGould left a comment

Choose a reason for hiding this comment

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

ACK 90d0211

Assuming this intentionally leaves http = "1", once_cell = "1" in payjoin-test-utils?

@benalleng
Copy link
Collaborator Author

Assuming this intentionally leaves http = "1", once_cell = "1" in payjoin-test-utils?

No whoops!

@benalleng benalleng force-pushed the toml-version-specify branch from 1f305bc to 74d71f9 Compare May 14, 2025 19:25
Copy link
Contributor

@DanGould DanGould left a comment

Choose a reason for hiding this comment

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

ACK 1f305bc

@benalleng
Copy link
Collaborator Author

Reworded with "precise" from 1f305bc to 74d71f9

Copy link
Contributor

@DanGould DanGould left a comment

Choose a reason for hiding this comment

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

ACK 74d71f9

@DanGould DanGould merged commit e2b66a2 into payjoin:master May 14, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants