-
Notifications
You must be signed in to change notification settings - Fork 131
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
Adding tikv-client to brand new rust package won't build #142
Comments
I ran into the same problem and was able to resolve it by add the following to
|
I also met this problem and I'm new to rust. I'm wondering what is causing this problem, and would there be any offcial solution. Applied the solution by @TommyCpp, got another error:
|
@ProgramSalamander There is an update adding these fields in I have tried to add A temporary workaround is used now. I modify Cargo.lock and change kvproto's version hash to Anyone can tell me how to modify Crate.toml so that I can download specific version's crate instead of latest commits? |
@mckingho @ProgramSalamander Fixed by #192. We do not depend on |
Manjaro Linux, Release 19.0.2
rustc 1.42.0 (b8cedc004 2020-03-09)
cargo 1.42.0 (86334295e 2020-01-31)
cmake version 3.17.0
Steps to reproduce:
cargo new foo --lib
.tikv-client = { git = "https://github.com/tikv/client-rust.git" }
cargo build
.Build output:
I see that #32 is open, but it doesn't mention kvproto not building.
The text was updated successfully, but these errors were encountered: