diff --git a/Cargo.lock b/Cargo.lock index dfc81e9..74580cd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -56,7 +56,7 @@ dependencies = [ [[package]] name = "archway-proto" -version = "0.2.0" +version = "0.2.1" dependencies = [ "anyhow", "cosmos-sdk-proto", diff --git a/packages/proto/Cargo.toml b/packages/proto/Cargo.toml index 851e676..1368b97 100644 --- a/packages/proto/Cargo.toml +++ b/packages/proto/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "archway-proto" -version = "0.2.0" +version = "0.2.1" edition = "2021" description = "Rust build of Archway's ProtoBuf definitions" authors.workspace = true diff --git a/packages/proto/README.md b/packages/proto/README.md index 65dbe99..b4255ab 100644 --- a/packages/proto/README.md +++ b/packages/proto/README.md @@ -9,7 +9,8 @@ Rust build of Archway's ProtoBuf definitions. This package can be used both in CosmWasm smart contracts and gRPC clients. It is based on the [`cosmos-sdk-proto v0.18.0`][cosmos-rust] -crate to provide the Cosmos SDK `v0.45.x` messages and follows the same feature +crate to provide the Cosmos SDK messages through the +`cosmos-sdk-proto` crate and follows the same feature definitions, with the `tonic` gRPC clients enabled by default. ## Usage @@ -17,28 +18,38 @@ definitions, with the `tonic` gRPC clients enabled by default. ### In CosmWasm smart contracts ```toml -archway-proto = { version = "0.1.0", default-features = false, features = ["cosmwasm"] } +archway-proto = { version = "0.2.1", default-features = false, features = ["cosmwasm"] } ``` ### For the gRPC client functionality (won't work in CosmWasm) ```toml -archway-proto = "0.1.0" +archway-proto = "0.2.1" ``` ## License -This project is licensed under the Apache-2.0 License - see the [NOTICE][notice-link] and [LICENSE][license-link] files for details. +This project is licensed under the Apache-2.0 License - see the [NOTICE][notice-link] and [LICENSE][license-link] files +for details. [//]: # "badges" + [crate-image]: https://buildstats.info/crate/archway-proto + [crate-link]: https://crates.io/crates/archway-proto + [docs-image]: https://docs.rs/archway-proto/badge.svg + [docs-link]: https://docs.rs/archway-proto/ + [license-image]: https://img.shields.io/github/license/archway-network/arch3.rs?label=License&logo=opensourceinitiative&logoColor=white&color=informational + [license-link]: https://github.com/archway-network/arch3.rs/blob/main/LICENSE + [rustc-image]: https://img.shields.io/badge/rustc-1.70+-blue.svg?logo=rust&logoColor=white&color=informational [//]: # "links" + [cosmos-rust]: https://github.com/cosmos/cosmos-rust + [notice-link]: https://github.com/archway-network/arch3.rs/blob/main/NOTICE