diff --git a/Cargo.lock b/Cargo.lock index b8fe6657..17e9752c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -208,7 +208,7 @@ dependencies = [ [[package]] name = "cw-law-stone" -version = "0.2.0" +version = "1.0.0" dependencies = [ "cosmwasm-schema", "cosmwasm-std", @@ -223,6 +223,7 @@ dependencies = [ "schemars", "serde", "serde-json-wasm", + "storage", "thiserror", "url", ] @@ -248,7 +249,7 @@ dependencies = [ [[package]] name = "cw-storage" -version = "0.1.0" +version = "1.0.0" dependencies = [ "base16ct", "base64 0.21.0", @@ -532,11 +533,15 @@ checksum = "c0f80d65747a3e43d1596c7c5492d95d5edddaabd45a7fcdb02b95f644164966" [[package]] name = "logic-bindings" -version = "0.2.0" +version = "1.0.0" dependencies = [ "cosmwasm-std", + "form_urlencoded", "schemars", "serde", + "serde-json-wasm", + "thiserror", + "url", ] [[package]] @@ -782,6 +787,17 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" +[[package]] +name = "storage" +version = "1.0.0" +dependencies = [ + "cosmwasm-std", + "cw-storage", + "logic-bindings", + "schemars", + "serde", +] + [[package]] name = "subtle" version = "2.4.1" diff --git a/Cargo.toml b/Cargo.toml index 717c3e0c..4ccd2353 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,6 +3,7 @@ members = ["contracts/*", "packages/*"] [workspace.dependencies] logic-bindings = { path = "packages/logic-bindings" } +storage = { path = "packages/storage" } cosmwasm-schema = "1.2.3" cosmwasm-std = "1.2.3" cosmwasm-storage = "1.2.3" diff --git a/packages/storage/Cargo.toml b/packages/storage/Cargo.toml new file mode 100644 index 00000000..b5e13f77 --- /dev/null +++ b/packages/storage/Cargo.toml @@ -0,0 +1,12 @@ +[package] +authors = ["OKP4"] +edition = "2021" +name = "storage" +version = "1.0.0" + +[dependencies] +cw-storage = { path = "../../contracts/cw-storage" } +logic-bindings.workspace = true +cosmwasm-std.workspace = true +schemars.workspace = true +serde.workspace = true diff --git a/packages/storage/Makefile.toml b/packages/storage/Makefile.toml new file mode 100644 index 00000000..2d9b5d19 --- /dev/null +++ b/packages/storage/Makefile.toml @@ -0,0 +1 @@ +[tasks.schema] diff --git a/packages/storage/README.md b/packages/storage/README.md new file mode 100644 index 00000000..55357721 --- /dev/null +++ b/packages/storage/README.md @@ -0,0 +1,3 @@ +# Storage + +Package that holds components to interact with the `cw-storage` contract.