-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update changelog * Bump version to 0.29.0 * Format Cargo.toml * Apply suggestions from code review Co-authored-by: Luca Joss <[email protected]> Signed-off-by: Romain Ruetschi <[email protected]> --------- Signed-off-by: Romain Ruetschi <[email protected]> Co-authored-by: Luca Joss <[email protected]>
- Loading branch information
Showing
7 changed files
with
62 additions
and
20 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Add Interchain Security v1 CCV Protobuf definitions | ||
([\#76](https://github.com/cosmos/ibc-proto-rs/issues/76)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
*April 12th, 2023* | ||
|
||
In this update, Protobuf definitions have been included for Interchain Security v1 CCV within | ||
the `ibc_proto::interchain_security::ccv` module. | ||
|
||
It should also be noted that the return type of `Protobuf::encode{,_length_delimited}_vec` | ||
has been modified from `Result<Vec<u8>, Error>` to `Vec<u8>`. | ||
|
||
Furthermore, the version of `tonic` has been raised from 0.8 to 0.9. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "ibc-proto" | ||
version = "0.28.0" | ||
version = "0.29.0" | ||
authors = ["Informal Systems <[email protected]>"] | ||
edition = "2021" | ||
license = "Apache-2.0" | ||
|
@@ -20,37 +20,39 @@ members = [ | |
] | ||
|
||
[lib] | ||
name = "ibc_proto" | ||
path = "src/lib.rs" | ||
name = "ibc_proto" | ||
path = "src/lib.rs" | ||
doctest = false | ||
|
||
[package.metadata.docs.rs] | ||
all-features = true | ||
|
||
[dependencies] | ||
prost = { version = "0.11", default-features = false } | ||
bytes = { version = "1.2", default-features = false } | ||
tonic = { version = "0.9", optional = true, default-features = false } | ||
serde = { version = "1.0", default-features = false } | ||
schemars = { version = "0.8", optional = true } | ||
subtle-encoding = { version = "0.5", default-features = false } | ||
base64 = { version = "0.21", default-features = false, features = ["alloc"] } | ||
flex-error = { version = "0.4.4", default-features = false } | ||
prost = { version = "0.11", default-features = false } | ||
bytes = { version = "1.2", default-features = false } | ||
tonic = { version = "0.9", default-features = false, optional = true } | ||
serde = { version = "1.0", default-features = false } | ||
schemars = { version = "0.8", optional = true } | ||
subtle-encoding = { version = "0.5", default-features = false } | ||
base64 = { version = "0.21", default-features = false, features = ["alloc"] } | ||
flex-error = { version = "0.4", default-features = false } | ||
|
||
## for codec encode or decode | ||
parity-scale-codec = { version = "3.0.0", default-features = false, features = ["full"], optional = true } | ||
scale-info = { version = "2.1.2", default-features = false, features = ["derive"], optional = true } | ||
parity-scale-codec = { version = "3.0.0", default-features = false, features = ["full"], optional = true } | ||
scale-info = { version = "2.1.2", default-features = false, features = ["derive"], optional = true } | ||
|
||
## for borsh encode or decode | ||
borsh = {version = "0.10.0", default-features = false, optional = true } | ||
borsh = { version = "0.10.0", default-features = false, optional = true } | ||
|
||
[dependencies.tendermint-proto] | ||
version = "0.30" | ||
default-features = false | ||
|
||
[features] | ||
default = ["std", "client"] | ||
std = [] | ||
client = ["std", "tonic", "tonic/codegen", "tonic/transport", "tonic/prost"] | ||
json-schema = ["std", "schemars"] | ||
server = ["std", "tonic", "tonic/codegen", "tonic/transport", "tonic/prost"] | ||
default = ["std", "client"] | ||
std = [] | ||
client = ["std", "tonic", "tonic/codegen", "tonic/transport", "tonic/prost"] | ||
json-schema = ["std", "schemars"] | ||
server = ["std", "tonic", "tonic/codegen", "tonic/transport", "tonic/prost"] | ||
parity-scale-codec = ["dep:parity-scale-codec", "dep:scale-info"] | ||
borsh = ["dep:borsh"] | ||
borsh = ["dep:borsh"] |