Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't pin to exact rusqlite version #120

Merged
merged 1 commit into from
Dec 9, 2023
Merged

Don't pin to exact rusqlite version #120

merged 1 commit into from
Dec 9, 2023

Conversation

fkrull
Copy link
Contributor

@fkrull fkrull commented Dec 9, 2023

Pinning the dependency to the exact version 0.30.0 is unnecessary because Cargo doesn't consider 0.30 and 0.31 compatible (Cargo's modified semver considers the first non-zero component of the version as the "major" number that determines compatibility). In addition, pinning to an exact version can prevent an update to an in-theory-compatible 0.30.1 and even cause unresolvable dependency conflicts in downstream packages. To be fair however, rusqlite doesn't seem to use the patch component of the version number anyway so this wouldn't happen in practice.

@fkrull fkrull requested a review from cljoly as a code owner December 9, 2023 15:10
Copy link
Owner

@cljoly cljoly left a comment

Choose a reason for hiding this comment

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

That makes a lot of sense, thank you!

@cljoly cljoly merged commit 07cf77b into cljoly:master Dec 9, 2023
12 checks passed
@cljoly
Copy link
Owner

cljoly commented Dec 9, 2023

@fkrull We plan to release a new stable version in the next few days, so this fix should land soon.

See the milestone for details of known left over tasks.

@fkrull fkrull deleted the dont-pin-exact-rusqlite-version branch March 22, 2024 18:53
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.

2 participants