diff --git a/packages/osmosis-std-derive/Cargo.toml b/packages/osmosis-std-derive/Cargo.toml index d92f6961..250abfc2 100644 --- a/packages/osmosis-std-derive/Cargo.toml +++ b/packages/osmosis-std-derive/Cargo.toml @@ -3,7 +3,7 @@ description = "Procedural macro for osmosis-std" edition = "2021" license = "MIT OR Apache-2.0" name = "osmosis-std-derive" -version = "0.1.1" +version = "0.1.2" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/packages/osmosis-std-derive/src/lib.rs b/packages/osmosis-std-derive/src/lib.rs index b6ca6da7..74216b92 100644 --- a/packages/osmosis-std-derive/src/lib.rs +++ b/packages/osmosis-std-derive/src/lib.rs @@ -35,7 +35,7 @@ pub fn derive_cosmwasm_ext(input: TokenStream) -> TokenStream { type Error = cosmwasm_std::StdError; fn try_from(binary: cosmwasm_std::Binary) -> Result { - use prost::Message; + use ::prost::Message; Self::decode(&binary[..]).map_err(|e| { cosmwasm_std::StdError::ParseErr { target_type: stringify!(#ident).to_string(), diff --git a/packages/osmosis-std/Cargo.toml b/packages/osmosis-std/Cargo.toml index b9472e1e..5f1453fa 100644 --- a/packages/osmosis-std/Cargo.toml +++ b/packages/osmosis-std/Cargo.toml @@ -3,7 +3,7 @@ description = "Standard library for Osmosis with CosmWasm support included" edition = "2021" license = "MIT OR Apache-2.0" name = "osmosis-std" -version = "0.1.1" +version = "0.1.2" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -11,5 +11,5 @@ version = "0.1.1" cosmos-sdk-proto = {version = "0.12.3", default-features = false} cosmwasm-std = {version = "1.0.0", features = ["stargate"]} osmosis-std-derive = {version = "0.1.1", path = "../osmosis-std-derive"} -prost = "0.10.4" -prost-types = "0.10.1" +prost = {version = "0.10.4", default-features = false, features = ["prost-derive"]} +prost-types = {version = "0.10.1", default-features = false}