-
Notifications
You must be signed in to change notification settings - Fork 4
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
feat: pin to working protos version, add lockfile #124
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
04fb416
feat: pin to working protos version, add lockfile
cprice404 8647814
fix: try upgrading chrono to get rid of vulnerable time dep
cprice404 f5c2add
chore: get rid of chrono dependency
cprice404 7f9b17b
fix: linting
cprice404 80c1e38
fix: clippy
cprice404 07b0e46
fix: clippy
cprice404 667226e
chore: run on ubuntu 20.04 instead of latest due to network issues
cprice404 1afc464
chore: put the cargo.lock file back into .gitignore
cprice404 14f1c06
Revert "chore: run on ubuntu 20.04 instead of latest due to network i…
cprice404 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ members = [ | |
exclude = [ "example" ] | ||
|
||
[dependencies] | ||
momento-protos = { version = "0.42" } | ||
momento-protos = { version = "=0.42.4" } | ||
log = "0.4.17" | ||
hyper = { version = "0.14" } | ||
h2 = { version = "0.3" } | ||
|
@@ -27,7 +27,6 @@ jsonwebtoken = "8.0.1" | |
rand = "0.8.5" | ||
serde = {version = "1.0", features = ["derive"] } | ||
serde_json = "1.0.79" | ||
chrono = {version = "0.4.19", features = ["serde"] } | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. hooray! |
||
thiserror = "1.0.38" | ||
|
||
[dev-dependencies] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't really think it makes sense to pin to explicit versions like this. Semantically the SDK depends on momento protos 0.42, and the lockfile is the better tool for explicit versions.
I'm not going to block you on this and I will approve once the approvals are green but I don't agree with this style.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
right now if i don't do this, it literally won't compile because 0.42.5 is not compatible.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you could put the version lock in the new cargo.lock file like this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i was not aware of / under the impression that it was fair game to make manual edits to that file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One can edit any file one wishes to edit. It's certainly atypical, but it's also quite atypical to publish a library without a cargo.lock file :-(
As I said, I'm not going to block you but I disagree with this plan.