Skip to content

Commit 0280f0b

Browse files
committed
Update Cargo.toml for compiler
Add repository field, homepage field and increase the version. Signed-off-by: Tim Zhang <[email protected]>
1 parent ddeb54c commit 0280f0b

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

compiler/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
[package]
22
name = "ttrpc-compiler"
3-
version = "0.3.0"
3+
version = "0.3.1"
44
edition = "2018"
55
authors = ["The AntFin Kata Team <[email protected]>"]
66
license = "Apache-2.0"
77
keywords = ["compiler", "ttrpc", "protobuf"]
88
description = "ttRPC compiler for ttrpc"
99
categories = ["network-programming"]
10+
repository = "https://github.com/containerd/ttrpc-rust/tree/master/compiler"
11+
homepage = "https://github.com/containerd/ttrpc-rust/tree/master/compiler"
1012

1113
[dependencies]
1214
protobuf = "2.0"

compiler/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ generate rust version ttrpc codes from proto files.
44

55
## Usage
66

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)
7+
- [Manual Generation](https://github.com/containerd/ttrpc-rust#1-generate-with-protoc-command) uses ttrpc-compiler as a protoc plugin
8+
- [Programmatic Generation](https://github.com/containerd/ttrpc-rust#2-generate-programmatically) uses ttrpc-compiler as a rust crate

0 commit comments

Comments
 (0)