From f7d4c9247e16eeafbc005accacbef4ded1cb9d0e Mon Sep 17 00:00:00 2001 From: Lorenzo Delgado Date: Wed, 3 Jan 2024 17:43:43 +0100 Subject: [PATCH] chore(toolshed): pin crate git dependencies --- Cargo.lock | 26 ++++++++++++++++++++++++-- thegraph/Cargo.toml | 4 ++-- 2 files changed, 26 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f32c2a00..861311c9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1513,6 +1513,19 @@ dependencies = [ "tokio", ] +[[package]] +name = "graphql-http" +version = "0.1.1" +source = "git+https://github.com/edgeandnode/toolshed.git?tag=graphql-http-v0.1.1#1eb97feb7b188324529926300135ffe723989c10" +dependencies = [ + "anyhow", + "async-trait", + "reqwest", + "serde", + "serde_json", + "thiserror", +] + [[package]] name = "graphql-introspection-query" version = "0.2.0" @@ -3214,7 +3227,7 @@ dependencies = [ "bs58", "ethers", "ethers-core", - "graphql-http", + "graphql-http 0.1.1 (git+https://github.com/edgeandnode/toolshed.git?tag=graphql-http-v0.1.1)", "indoc", "lazy_static", "reqwest", @@ -3226,7 +3239,7 @@ dependencies = [ "test-with", "thiserror", "tokio", - "toolshed", + "toolshed 0.5.0 (git+https://github.com/edgeandnode/toolshed.git?tag=toolshed-v0.5.0)", "tracing", ] @@ -3407,6 +3420,15 @@ dependencies = [ "url", ] +[[package]] +name = "toolshed" +version = "0.5.0" +source = "git+https://github.com/edgeandnode/toolshed.git?tag=toolshed-v0.5.0#211f7d7c4ede10f35b6ebd123a4d3ec8342c9f5e" +dependencies = [ + "tokio", + "url", +] + [[package]] name = "tower-service" version = "0.3.2" diff --git a/thegraph/Cargo.toml b/thegraph/Cargo.toml index d3d40f93..c2ba4721 100644 --- a/thegraph/Cargo.toml +++ b/thegraph/Cargo.toml @@ -32,7 +32,7 @@ base64 = { version = "0.21", optional = true } bs58 = "0.5" ethers = { version = "2.0", default-features = false, optional = true } ethers-core = { version = "2.0", default-features = false } -graphql-http = { path = "../graphql-http", optional = true } +graphql-http = { git = "https://github.com/edgeandnode/toolshed.git", tag = "graphql-http-v0.1.1", optional = true } indoc = { version = "2.0", optional = true } lazy_static = "1.4" reqwest = { version = "0.11", optional = true } @@ -42,7 +42,7 @@ serde_json = { version = "1.0", optional = true, features = ["raw_value"] } serde_with = "3.4" sha3 = "0.10" thiserror = "1.0" -toolshed = { path = "../toolshed", optional = true } +toolshed = { git = "https://github.com/edgeandnode/toolshed.git", tag = "toolshed-v0.5.0", optional = true } tracing = { version = "0.1", optional = true } [dev-dependencies]