refactor(substreams): remove workspace dependencies (#129)

This is to make each substreams completely independent, before when we would need a new version of a dependency, we would have to change it for every crate which would lead to a change of every substreams module hash. We want to make every Substreams completely independant and frozen, this also helps to maintain a correct versionning.

Co-authored-by: zizou <111426680+flopell@users.noreply.github.com>
This commit is contained in:
Zizou
2025-01-07 17:04:17 +01:00
committed by GitHub
parent b8aeaa3dc6
commit 39934347b3
13 changed files with 138 additions and 114 deletions

61
substreams/Cargo.lock generated
View File

@@ -236,7 +236,7 @@ dependencies = [
"prost-types 0.12.6",
"substreams",
"substreams-ethereum",
"tycho-substreams",
"tycho-substreams 0.2.0 (git+https://github.com/propeller-heads/tycho-protocol-sdk.git?rev=b8aeaa3)",
]
[[package]]
@@ -257,7 +257,7 @@ dependencies = [
"serde_qs",
"substreams",
"substreams-ethereum",
"tycho-substreams",
"tycho-substreams 0.2.0 (git+https://github.com/propeller-heads/tycho-protocol-sdk.git?rev=b8aeaa3)",
]
[[package]]
@@ -277,7 +277,7 @@ dependencies = [
"regex",
"substreams",
"substreams-ethereum",
"tycho-substreams",
"tycho-substreams 0.2.0 (git+https://github.com/propeller-heads/tycho-protocol-sdk.git?rev=b8aeaa3)",
]
[[package]]
@@ -297,7 +297,7 @@ dependencies = [
"regex",
"substreams",
"substreams-ethereum",
"tycho-substreams",
"tycho-substreams 0.2.0 (git+https://github.com/propeller-heads/tycho-protocol-sdk.git?rev=b8aeaa3)",
]
[[package]]
@@ -343,8 +343,8 @@ dependencies = [
"serde_qs",
"substreams",
"substreams-ethereum",
"substreams-helper",
"tycho-substreams",
"substreams-helper 0.0.2 (git+https://github.com/propeller-heads/tycho-protocol-sdk.git?rev=b8aeaa3)",
"tycho-substreams 0.2.0 (git+https://github.com/propeller-heads/tycho-protocol-sdk.git?rev=b8aeaa3)",
]
[[package]]
@@ -362,9 +362,9 @@ dependencies = [
"substreams",
"substreams-entity-change",
"substreams-ethereum",
"substreams-helper",
"substreams-helper 0.0.2 (git+https://github.com/propeller-heads/tycho-protocol-sdk.git?rev=b8aeaa3)",
"tiny-keccak",
"tycho-substreams",
"tycho-substreams 0.2.0 (git+https://github.com/propeller-heads/tycho-protocol-sdk.git?rev=b8aeaa3)",
]
[[package]]
@@ -1141,7 +1141,7 @@ dependencies = [
"substreams",
"substreams-ethereum",
"tiny-keccak",
"tycho-substreams",
"tycho-substreams 0.2.0 (git+https://github.com/propeller-heads/tycho-protocol-sdk.git?rev=b8aeaa3)",
]
[[package]]
@@ -1190,9 +1190,9 @@ dependencies = [
"substreams",
"substreams-entity-change",
"substreams-ethereum",
"substreams-helper",
"substreams-helper 0.0.2 (git+https://github.com/propeller-heads/tycho-protocol-sdk.git?rev=b8aeaa3)",
"tiny-keccak",
"tycho-substreams",
"tycho-substreams 0.2.0 (git+https://github.com/propeller-heads/tycho-protocol-sdk.git?rev=b8aeaa3)",
]
[[package]]
@@ -1217,6 +1217,29 @@ dependencies = [
"tiny-keccak",
]
[[package]]
name = "substreams-helper"
version = "0.0.2"
source = "git+https://github.com/propeller-heads/tycho-protocol-sdk.git?rev=b8aeaa3#b8aeaa3dc6e7242a5dd23681921258ef2cb3c6dd"
dependencies = [
"anyhow",
"base64",
"bigdecimal",
"downcast-rs",
"ethabi 18.0.0",
"hex",
"hex-literal 0.4.1",
"num-bigint",
"pad",
"prost 0.11.9",
"prost-types 0.12.6",
"substreams",
"substreams-entity-change",
"substreams-ethereum",
"thiserror",
"tiny-keccak",
]
[[package]]
name = "substreams-macro"
version = "0.5.22"
@@ -1330,6 +1353,22 @@ dependencies = [
"substreams-ethereum",
]
[[package]]
name = "tycho-substreams"
version = "0.2.0"
source = "git+https://github.com/propeller-heads/tycho-protocol-sdk.git?rev=b8aeaa3#b8aeaa3dc6e7242a5dd23681921258ef2cb3c6dd"
dependencies = [
"ethabi 18.0.0",
"hex",
"itertools 0.12.1",
"num-bigint",
"prost 0.11.9",
"serde",
"serde_json",
"substreams",
"substreams-ethereum",
]
[[package]]
name = "typenum"
version = "1.17.0"