File tree Expand file tree Collapse file tree 5 files changed +22
-10
lines changed
Expand file tree Collapse file tree 5 files changed +22
-10
lines changed Original file line number Diff line number Diff line change 22.vscode
33/target
44Cargo.lock
5- src /rpc /pb /* pb.rs
65** /* .rs.bk
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ Add this to your `Cargo.toml`:
3030
3131``` toml
3232[dependencies ]
33- etcd-client = " 0.2 "
33+ etcd-client = " 0.5 "
3434tokio = { version = " 0.2" , features = [" full" ] }
3535```
3636
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ fn main() {
44
55 tonic_build:: configure ( )
66 . build_server ( false )
7- . out_dir ( "src/rpc/pb" )
87 . compile (
98 & [
109 "proto/auth.proto" ,
Original file line number Diff line number Diff line change 1+ //! Etcd gRPC API, auto-generated by prost.
2+
3+ pub mod authpb {
4+ tonic:: include_proto!( "authpb" ) ;
5+ }
6+
7+ pub mod etcdserverpb {
8+ tonic:: include_proto!( "etcdserverpb" ) ;
9+ }
10+
11+ pub mod mvccpb {
12+ tonic:: include_proto!( "mvccpb" ) ;
13+ }
14+
15+ pub mod v3electionpb {
16+ tonic:: include_proto!( "v3electionpb" ) ;
17+ }
18+
19+ pub mod v3lockpb {
20+ tonic:: include_proto!( "v3lockpb" ) ;
21+ }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments