File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,8 @@ To generate the sources from proto files:
13
13
14
14
1 . Install protoc from github.com/protocolbuffers/protobuf
15
15
16
- 2 . Install protobuf-codegen from github.com/pingcap/grpc-rs
16
+ 2 . Install protobuf-codegen
17
17
```
18
- cd grpc-rs
19
18
cargo install --force protobuf-codegen
20
19
```
21
20
@@ -57,10 +56,10 @@ ttrpc-rust supports async/.await. By using async/.await you can reduce the overh
57
56
58
57
## Usage
59
58
### 1. Generate codes in async version
60
- Currently we only support generating async codes by using protoc_rust_ttrpc
59
+ Currently we only support generating async codes by using ttrpc-codegen
61
60
62
61
```
63
- protoc_rust_ttrpc ::Codegen::new()
62
+ ttrpc_codegen ::Codegen::new()
64
63
.out_dir("protocols/asynchronous")
65
64
.inputs(&protos)
66
65
.include("protocols/protos")
You can’t perform that action at this time.
0 commit comments