-
Notifications
You must be signed in to change notification settings - Fork 399
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
Ease protobuf dependency to match kvproto #181
Conversation
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.
LGTM
src/eraftpb.rs
Outdated
@@ -1,4 +1,4 @@ | |||
// This file is generated by rust-protobuf 2.2.4. Do not edit | |||
// This file is generated by rust-protobuf 2.2.2. Do not edit |
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.
Can it work with protobuf <2.2? For example, will code generated by new compiler use a new API missing in old version?
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 haven't seen a build error or test error from this. I think we could even allow "~2.0-~2.2"
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.
PTAL
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.
LGTM, @overvenus PTAL.
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.
LGTM
This is a prepare-to-release patch for 0.5.0 which will ensure there is no required follow up version change in
kvproto
(https://github.com/pingcap/kvproto/blob/master/Cargo.toml#L13) leading to https://github.com/tikv/tikv/blob/master/Cargo.toml#L118 which is matches with TiKV's https://github.com/tikv/tikv/blob/master/Cargo.toml#L72.