Skip to content

Commit

Permalink
chore: release v1.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jawoznia committed Dec 10, 2024
1 parent 1f5bd60 commit eb0b6d3
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 43 deletions.
28 changes: 14 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
28 changes: 14 additions & 14 deletions examples/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 6 additions & 5 deletions examples/contracts/cw1-subkeys/src/responses.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
///
Expand Down Expand Up @@ -99,22 +99,23 @@ 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(),
/// }];
///
/// perms.sort_by(PermissionsInfo::cmp_by_spender);
///
/// assert_eq!(
/// perms.into_iter().map(|perm| perm.spender).collect::<Vec<_>>(),
/// 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 {
Expand Down
2 changes: 1 addition & 1 deletion examples/interfaces/whitelist/src/responses.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()],
Expand Down
9 changes: 7 additions & 2 deletions sylvia/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand All @@ -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 }
Expand All @@ -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]
Expand Down

0 comments on commit eb0b6d3

Please sign in to comment.