From eb0b6d34481fa46feb266669232b03559165fde2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Wo=C5=BAniak?= Date: Tue, 10 Dec 2024 14:13:22 +0100 Subject: [PATCH] chore: release v1.3.3 --- Cargo.lock | 28 +++++++++---------- Cargo.toml | 14 +++++----- examples/Cargo.lock | 28 +++++++++---------- .../contracts/cw1-subkeys/src/responses.rs | 11 ++++---- .../interfaces/whitelist/src/responses.rs | 2 +- sylvia/Cargo.toml | 9 ++++-- 6 files changed, 49 insertions(+), 43 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7026dd1f..32f925c9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -227,15 +227,15 @@ dependencies = [ [[package]] name = "cosmwasm-core" -version = "2.1.4" +version = "2.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f6ceb8624260d0d3a67c4e1a1d43fc7e9406720afbcb124521501dd138f90aa" +checksum = "cabbba3cbcf1ebdf61c782509916657a3b4e079ed68cb3ec38866f9ecb492ba4" [[package]] name = "cosmwasm-crypto" -version = "2.1.4" +version = "2.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4125381e5fd7fefe9f614640049648088015eca2b60d861465329a5d87dfa538" +checksum = "58587c713490d96f92c36584dcb29f324df58907d9185f762b71ac2b08ac07eb" dependencies = [ "ark-bls12-381", "ark-ec", @@ -256,9 +256,9 @@ dependencies = [ [[package]] name = "cosmwasm-derive" -version = "2.1.4" +version = "2.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b5658b1dc64e10b56ae7a449f678f96932a96f6cfad1769d608d1d1d656480a" +checksum = "ae47fa8399bfe9a5b92a6312a1144912231fa1665759562dddb0497c1c917712" dependencies = [ "proc-macro2", "quote", @@ -267,9 +267,9 @@ dependencies = [ [[package]] name = "cosmwasm-schema" -version = "2.1.4" +version = "2.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f86b4d949b6041519c58993a73f4bbfba8083ba14f7001eae704865a09065845" +checksum = "6a7f53fb0011af2ce8d79379ff21a34cd90622e387ebaa00920bac1099ea71d1" dependencies = [ "cosmwasm-schema-derive", "schemars", @@ -280,9 +280,9 @@ dependencies = [ [[package]] name = "cosmwasm-schema-derive" -version = "2.1.4" +version = "2.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8ef1b5835a65fcca3ab8b9a02b4f4dacc78e233a5c2f20b270efb9db0666d12" +checksum = "8ae75370266380e777f075be5a0e092792af69469ed1231825505f9c4bd17e54" dependencies = [ "proc-macro2", "quote", @@ -291,9 +291,9 @@ dependencies = [ [[package]] name = "cosmwasm-std" -version = "2.1.4" +version = "2.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70eb7ab0c1e99dd6207496963ba2a457c4128ac9ad9c72a83f8d9808542b849b" +checksum = "5165aa666dfa923b480babec2ddba16ab91617179d9fb404dfb600c3f0733cef" dependencies = [ "base64", "bech32", @@ -1112,7 +1112,7 @@ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" [[package]] name = "sylvia" -version = "1.3.2" +version = "1.3.3" dependencies = [ "anyhow", "cosmwasm-schema", @@ -1133,7 +1133,7 @@ dependencies = [ [[package]] name = "sylvia-derive" -version = "1.3.2" +version = "1.3.3" dependencies = [ "convert_case", "cosmwasm-schema", diff --git a/Cargo.toml b/Cargo.toml index c69b2e21..54173298 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,19 +4,19 @@ exclude = ["examples/*"] resolver = "2" [workspace.package] -version = "1.3.2" +version = "1.3.3" [workspace.dependencies] -anyhow = "1.0.93" -cosmwasm-schema = "2.1.4" -cosmwasm-std = "2.1.4" +anyhow = "1.0.94" +cosmwasm-schema = "2.1.5" +cosmwasm-std = "2.1.5" cw-multi-test = "2.2.0" cw-storage-plus = "2.0.0" cw-utils = "2.0.0" schemars = "0.8.21" -serde = { version = "1.0.214", default-features = false, features = ["derive"] } -sylvia-derive = { version = "1.3.2", path = "sylvia-derive" } -thiserror = "2.0.0" +serde = { version = "1.0.215", default-features = false, features = ["derive"] } +sylvia-derive = { version = "1.3.3", path = "sylvia-derive" } +thiserror = "2.0.6" [workspace.metadata.docs.rs] all-features = true diff --git a/examples/Cargo.lock b/examples/Cargo.lock index c1b8ce08..77c70f58 100644 --- a/examples/Cargo.lock +++ b/examples/Cargo.lock @@ -233,15 +233,15 @@ dependencies = [ [[package]] name = "cosmwasm-core" -version = "2.1.4" +version = "2.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f6ceb8624260d0d3a67c4e1a1d43fc7e9406720afbcb124521501dd138f90aa" +checksum = "cabbba3cbcf1ebdf61c782509916657a3b4e079ed68cb3ec38866f9ecb492ba4" [[package]] name = "cosmwasm-crypto" -version = "2.1.4" +version = "2.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4125381e5fd7fefe9f614640049648088015eca2b60d861465329a5d87dfa538" +checksum = "58587c713490d96f92c36584dcb29f324df58907d9185f762b71ac2b08ac07eb" dependencies = [ "ark-bls12-381", "ark-ec", @@ -262,9 +262,9 @@ dependencies = [ [[package]] name = "cosmwasm-derive" -version = "2.1.4" +version = "2.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b5658b1dc64e10b56ae7a449f678f96932a96f6cfad1769d608d1d1d656480a" +checksum = "ae47fa8399bfe9a5b92a6312a1144912231fa1665759562dddb0497c1c917712" dependencies = [ "proc-macro2", "quote", @@ -273,9 +273,9 @@ dependencies = [ [[package]] name = "cosmwasm-schema" -version = "2.1.4" +version = "2.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f86b4d949b6041519c58993a73f4bbfba8083ba14f7001eae704865a09065845" +checksum = "6a7f53fb0011af2ce8d79379ff21a34cd90622e387ebaa00920bac1099ea71d1" dependencies = [ "cosmwasm-schema-derive", "schemars", @@ -286,9 +286,9 @@ dependencies = [ [[package]] name = "cosmwasm-schema-derive" -version = "2.1.4" +version = "2.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8ef1b5835a65fcca3ab8b9a02b4f4dacc78e233a5c2f20b270efb9db0666d12" +checksum = "8ae75370266380e777f075be5a0e092792af69469ed1231825505f9c4bd17e54" dependencies = [ "proc-macro2", "quote", @@ -297,9 +297,9 @@ dependencies = [ [[package]] name = "cosmwasm-std" -version = "2.1.4" +version = "2.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70eb7ab0c1e99dd6207496963ba2a457c4128ac9ad9c72a83f8d9808542b849b" +checksum = "5165aa666dfa923b480babec2ddba16ab91617179d9fb404dfb600c3f0733cef" dependencies = [ "base64", "bech32", @@ -1266,7 +1266,7 @@ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" [[package]] name = "sylvia" -version = "1.3.2" +version = "1.3.3" dependencies = [ "anyhow", "cosmwasm-schema", @@ -1283,7 +1283,7 @@ dependencies = [ [[package]] name = "sylvia-derive" -version = "1.3.2" +version = "1.3.3" dependencies = [ "convert_case", "itertools 0.13.0", diff --git a/examples/contracts/cw1-subkeys/src/responses.rs b/examples/contracts/cw1-subkeys/src/responses.rs index a3c85550..6b25cae5 100644 --- a/examples/contracts/cw1-subkeys/src/responses.rs +++ b/examples/contracts/cw1-subkeys/src/responses.rs @@ -44,7 +44,7 @@ impl AllowanceInfo { /// /// ``` /// # use cw_utils::{Expiration, NativeBalance}; - /// # use cw1_subkeys::msg::AllowanceInfo; + /// # use cw1_subkeys::responses::AllowanceInfo; /// # use sylvia::cw_schema::{cw_serde, QueryResponses}; /// # use sylvia::cw_std::coin; /// @@ -99,14 +99,15 @@ impl PermissionsInfo { /// Example: /// /// ``` - /// # use cw1_subkeys::msg::PermissionsInfo; + /// # use cw1_subkeys::responses::PermissionsInfo; /// # use cw1_subkeys::state::Permissions; + /// # use sylvia::cw_multi_test::IntoAddr; /// /// let mut perms = vec![PermissionsInfo { - /// spender: "spender2".to_owned(), + /// spender: "spender2".into_addr(), /// permissions: Permissions::default(), /// }, PermissionsInfo { - /// spender: "spender1".to_owned(), + /// spender: "spender1".into_addr(), /// permissions: Permissions::default(), /// }]; /// @@ -114,7 +115,7 @@ impl PermissionsInfo { /// /// assert_eq!( /// perms.into_iter().map(|perm| perm.spender).collect::>(), - /// vec!["spender1".to_owned(), "spender2".to_owned()] + /// vec!["spender2".into_addr(), "spender1".into_addr()] /// ); /// ``` pub fn cmp_by_spender(left: &Self, right: &Self) -> std::cmp::Ordering { diff --git a/examples/interfaces/whitelist/src/responses.rs b/examples/interfaces/whitelist/src/responses.rs index 8b49b5d5..a62d65c8 100644 --- a/examples/interfaces/whitelist/src/responses.rs +++ b/examples/interfaces/whitelist/src/responses.rs @@ -18,7 +18,7 @@ impl AdminListResponse { /// Example: /// /// ``` - /// # use cw1_whitelist::msg::AdminListResponse; + /// # use whitelist::responses::AdminListResponse; /// /// let resp1 = AdminListResponse { /// admins: vec!["admin1".to_owned(), "admin2".to_owned()], diff --git a/sylvia/Cargo.toml b/sylvia/Cargo.toml index ab2f3c24..5e52f57b 100644 --- a/sylvia/Cargo.toml +++ b/sylvia/Cargo.toml @@ -37,6 +37,11 @@ cosmwasm_2_0 = [ "cw-multi-test/cosmwasm_2_0", "cosmwasm_1_4", ] +cosmwasm_2_1 = [ + "cosmwasm-std/cosmwasm_2_1", + "cw-multi-test/cosmwasm_2_1", + "cosmwasm_2_0", +] [dependencies] sylvia-derive = { workspace = true } @@ -46,7 +51,7 @@ schemars = { workspace = true } serde = { workspace = true } serde-cw-value = "0.7.0" serde-json-wasm = "1.0.1" -konst = "0.3.8" +konst = "0.3.11" cw-multi-test = { workspace = true, features = ["staking"], optional = true } anyhow = { workspace = true, optional = true } cw-utils = { workspace = true } @@ -57,7 +62,7 @@ anyhow = { workspace = true } cw-storage-plus = { workspace = true } cw-utils = { workspace = true } thiserror = { workspace = true } -trybuild = "1.0.91" +trybuild = "1.0.101" itertools = "0.13.0" [package.metadata.docs.rs]