File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change
1
+ # A compiler of ttrpc-rust
2
+
3
+ generate rust version ttrpc codes from proto files.
4
+
5
+ ## Usage
6
+
7
+ #### Option 1 - [ Manual Generation] ( https://github.com/containerd/ttrpc-rust#1-generate-with-protoc-command )
8
+ #### Option 2 - [ Programmatic Generation] ( https://github.com/containerd/ttrpc-rust#2-generate-programmatically )
Original file line number Diff line number Diff line change 11
11
// See the License for the specific language governing permissions and
12
12
// limitations under the License.
13
13
14
+ //!
15
+ //! A compiler of ttrpc-rust.
16
+ //!
17
+ //! *generate rust version ttrpc codes from proto files.*
18
+ //!
19
+ //!
20
+ //! Usage
21
+ //!
22
+ //!- [Manual Generation](https://github.com/containerd/ttrpc-rust#1-generate-with-protoc-command) uses ttrpc-compiler as a protoc plugin
23
+ //!
24
+ //!- [Programmatic Generation](https://github.com/containerd/ttrpc-rust#2-generate-programmatically) uses ttrpc-compiler as a rust crate
25
+
14
26
pub mod codegen;
15
27
pub mod prost_codegen;
16
28
mod util;
You can’t perform that action at this time.
0 commit comments