Skip to content

Instantly share code, notes, and snippets.

@steveej
Created April 18, 2023 10:52
Show Gist options
  • Save steveej/59fa9ff33ef79be2dbd508c6e3d70250 to your computer and use it in GitHub Desktop.
Save steveej/59fa9ff33ef79be2dbd508c6e3d70250 to your computer and use it in GitHub Desktop.
pin holochain_integrity_type in scaffolded forum example
diff --git a/Cargo.lock b/Cargo.lock
index 7ba4221..87f7353 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -696,9 +696,9 @@ dependencies = [
[[package]]
name = "hdk_derive"
-version = "0.1.2"
+version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3b42de4f722e215382845ca26d6b71d557f843c674dfd9463cb517873c6cade8"
+checksum = "fa8eade453438a832944ab3f4006482f6bb5693997ff58e3049f23a8f8c617a4"
dependencies = [
"darling",
"heck",
@@ -755,9 +755,9 @@ dependencies = [
[[package]]
name = "holochain_integrity_types"
-version = "0.1.2"
+version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5755ca3e4d8d3121c8294b8ac21a1da072350519309381336ff9e0aaee80e1b5"
+checksum = "b0630a221701e40ddf0fb369ead8eb6e18e3ec84241b3c77f803ea137930017b"
dependencies = [
"holo_hash",
"holochain_serialized_bytes",
@@ -825,9 +825,9 @@ dependencies = [
[[package]]
name = "holochain_zome_types"
-version = "0.1.2"
+version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fd45986999baf8590ff444442cdbbd460ae26e8ecaa7494a69f081c897bbe714"
+checksum = "df99af259b89d8309121d2a81852f8e468dc587332ce59a93130f4e1149758b4"
dependencies = [
"holo_hash",
"holochain_integrity_types",
@@ -1216,6 +1216,7 @@ name = "posts"
version = "0.0.1"
dependencies = [
"hdk",
+ "holochain_integrity_types",
"posts_integrity",
"serde",
]
@@ -1225,6 +1226,7 @@ name = "posts_integrity"
version = "0.0.1"
dependencies = [
"hdi",
+ "holochain_integrity_types",
"serde",
]
diff --git a/Cargo.toml b/Cargo.toml
index 07fd3ca..3e4e8d4 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -9,6 +9,7 @@ members = ["dnas/*/zomes/coordinator/*", "dnas/*/zomes/integrity/*"]
[workspace.dependencies]
hdi = "=0.2.1"
+holochain_integrity_types = "=0.1.1"
hdk = "=0.1.1"
serde = "1"
diff --git a/dnas/forum/zomes/coordinator/posts/Cargo.toml b/dnas/forum/zomes/coordinator/posts/Cargo.toml
index e9afe04..cc8c1b3 100644
--- a/dnas/forum/zomes/coordinator/posts/Cargo.toml
+++ b/dnas/forum/zomes/coordinator/posts/Cargo.toml
@@ -9,6 +9,7 @@ name = "posts"
[dependencies]
hdk = { workspace = true }
+holochain_integrity_types = { workspace = true }
serde = { workspace = true }
diff --git a/dnas/forum/zomes/integrity/posts/Cargo.toml b/dnas/forum/zomes/integrity/posts/Cargo.toml
index bc74956..ffcb5c3 100644
--- a/dnas/forum/zomes/integrity/posts/Cargo.toml
+++ b/dnas/forum/zomes/integrity/posts/Cargo.toml
@@ -9,5 +9,6 @@ name = "posts_integrity"
[dependencies]
hdi = { workspace = true }
+holochain_integrity_types = { workspace = true }
serde = { workspace = true }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment