diff --git a/ttrpc-codegen/Cargo.toml b/ttrpc-codegen/Cargo.toml index 2805bcf7..3650fe56 100644 --- a/ttrpc-codegen/Cargo.toml +++ b/ttrpc-codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ttrpc-codegen" -version = "0.3.0" +version = "0.4.0" edition = "2018" authors = ["The AntFin Kata Team "] license = "Apache-2.0" @@ -16,4 +16,4 @@ readme = "README.md" protobuf = { version = "2.14.0" } protobuf-codegen-pure = "2.14.0" protobuf-codegen = "2.14.0" -ttrpc-compiler = { version = "0.5.0", path = "../compiler" } +ttrpc-compiler = "0.6.0" diff --git a/ttrpc-codegen/README.md b/ttrpc-codegen/README.md index ffc15dbe..518bafaa 100644 --- a/ttrpc-codegen/README.md +++ b/ttrpc-codegen/README.md @@ -44,8 +44,9 @@ ttrpc-codegen = "0.2" | ttrpc-codegen version | ttrpc version | | ------------- | ------------- | | 0.1.x | <= 0.4.x | -| 0.2.x | >= 0.5.x | -| 0.3.x | >= 0.6.x | +| 0.2.x | == 0.5.x | +| 0.3.x | == 0.6.x | +| 0.4.x | >= 0.7.x | ## Alternative The alternative is to use