Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
403 changes: 316 additions & 87 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ redis = { version = "1.0.3", features = [
"tokio-comp",
] }
regex = "1.5.4"
reqwest = "0.12.23"
reqwest = { version = "0.13.2", features = ["json", "stream", "multipart", "gzip", "brotli", "deflate"] }
serde = { version = "1.0.126", features = ["rc"] }
serde_derive = "1.0.125"
serde_json = { version = "1.0", features = ["arbitrary_precision"] }
Expand Down
1 change: 1 addition & 0 deletions chain/ethereum/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ prost-types = { workspace = true }
anyhow = "1.0"
tiny-keccak = "1.5.0"
hex = "0.4.3"
reqwest = { workspace = true }
semver = "1.0.27"
thiserror = { workspace = true }
tokio = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion graph/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ diesel_derives = { workspace = true }
chrono = "0.4.43"
envconfig = { workspace = true }
Inflector = "0.11.3"
reqwest = { version = "0.12.23", features = ["json", "stream", "multipart", "gzip", "brotli", "deflate"] }
reqwest = { workspace = true }
ethabi = "17.2"
hex = "0.4.3"
http0 = { version = "0", package = "http" }
Expand Down
1 change: 0 additions & 1 deletion graph/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ pub mod prelude {
pub use prost;
pub use rand;
pub use regex;
pub use reqwest;
pub use serde;
pub use serde_derive::{Deserialize, Serialize};
pub use serde_json;
Expand Down
1 change: 1 addition & 0 deletions node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ graph-server-metrics = { path = "../server/metrics" }
graph-store-postgres = { path = "../store/postgres" }
graphman-server = { workspace = true }
graphman = { workspace = true }
reqwest = { workspace = true }
serde = { workspace = true }
shellexpand = "3.1.1"
termcolor = "1.4.1"
Expand Down
1 change: 0 additions & 1 deletion node/src/manager/commands/deploy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ use std::sync::Arc;

use graph::prelude::{
anyhow::{anyhow, bail, Result},
reqwest,
serde_json::{json, Value},
SubgraphName, SubgraphStore,
};
Expand Down
1 change: 1 addition & 0 deletions server/http/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ async-trait = { workspace = true }
serde = { workspace = true }
graph = { path = "../../graph" }
graph-graphql = { path = "../../graphql" }
reqwest = { workspace = true }

[dev-dependencies]
graph-core = { path = "../../core" }
2 changes: 1 addition & 1 deletion server/http/tests/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ mod test {
use super::*;
use graph::http::header::{ACCESS_CONTROL_ALLOW_ORIGIN, CONTENT_TYPE};
use graph::hyper::header::{ACCESS_CONTROL_ALLOW_HEADERS, ACCESS_CONTROL_ALLOW_METHODS};
use graph::prelude::reqwest::{Client, Response};
use reqwest::{Client, Response};

lazy_static! {
static ref USERS: DeploymentHash = DeploymentHash::new("users").unwrap();
Expand Down
1 change: 1 addition & 0 deletions store/postgres/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ postgres = "0.19.1"
openssl = { version = "0.10.75", features = ["vendored"] }
postgres-openssl = "0.5.2"
rand.workspace = true
reqwest = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
stable-hash_legacy = { git = "https://github.com/graphprotocol/stable-hash", branch = "old", package = "stable-hash" }
Expand Down
4 changes: 2 additions & 2 deletions store/postgres/src/fork.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ use graph::{
components::store::SubgraphFork as SubgraphForkTrait,
internal_error,
prelude::{
anyhow, info, r::Value as RValue, reqwest, serde_json, DeploymentHash, Entity, Logger,
Serialize, StoreError, Value, ValueType,
anyhow, info, r::Value as RValue, serde_json, DeploymentHash, Entity, Logger, Serialize,
StoreError, Value, ValueType,
},
schema::Field,
url::Url,
Expand Down
1 change: 1 addition & 0 deletions tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ graph-graphql = { path = "../graphql" }
graph-store-postgres = { path = "../store/postgres" }
graph-server-index-node = { path = "../server/index-node" }
graph-runtime-wasm = { path = "../runtime/wasm" }
reqwest = { workspace = true }
serde = { workspace = true }
serde_yaml = { workspace = true }
slog = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion tests/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use tokio::process::{Child, Command};

use graph::prelude::anyhow::Context;
use graph::prelude::diesel::connection::SimpleConnection;
use graph::prelude::{lazy_static, reqwest};
use graph::prelude::lazy_static;
use tokio::time::sleep;

use crate::helpers::TestFile;
Expand Down
2 changes: 1 addition & 1 deletion tests/src/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ use std::process::Command;

use anyhow::{bail, Context};
use graph::itertools::Itertools;
use graph::prelude::serde_json;
use graph::prelude::serde_json::{json, Value};
use graph::prelude::{reqwest, serde_json};

/// Parses stdout bytes into a prefixed String
pub fn pretty_output(blob: &[u8], prefix: &str) -> String {
Expand Down
Loading