-
Notifications
You must be signed in to change notification settings - Fork 398
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
raft-rs in github is out of sync with the same version in crates.io #390
Comments
@whfuyn You can get rid of it by adding things below in your [dependencies]
raft = "0.6.0-alpha"
[patch.crates-io]
raft = { git = "https://github.com/tikv/raft-rs", branch = "master", default-features = false }
raft-proto = { git = "https://github.com/tikv/raft-rs", branch = "master", default-features = false } Though this is just a tmp solution. |
We are planning release 0.6.0 this month. The current release blocker is #378. |
@Fullstop000 Thanks! I am using that solution. |
@nrc Do you have any idea how to address the problem? |
I actually don't know where that |
It's generated by rust-protobuf to avoid formatting generated code. |
cc tikv/raft-rs#390 Signed-off-by: Nick Cameron <nrc@ncameron.org>
Fixed in tikv/grpc-rs#479, we'll need to release a new version and to fix things here. |
…479) cc tikv/raft-rs#390 Signed-off-by: Nick Cameron <nrc@ncameron.org>
Now it's December, where is my release 0.6.0? |
There is still a known bug in master, we will fix it before releasing. Sorry for the delay, we have been put a lot of effort in the new design of joint consensus and async ready. |
0.6.0 was just released. |
Hi, I was recently using raft-rs in my project. I added
raft-rs = "0.6.0-alpha"
in myCargo.toml
, and followed the examples to write my own server. But it turned out some field and methods were missing, likeAfter some painful investigations, I found that the raft-rs in
.Cargo/registry/src/github.com.../raft-0.6.0-alpha
were different from the one I saw in github, which didn't usevoters
in the example, and the proto file weren't the same too.Maybe it needs an update? It really confuses an inexperience user like me since it has the same version.
The text was updated successfully, but these errors were encountered: