#subgraph #thegraph #data-service #networking #graph #cargo-workspace

thegraph-client-subgraphs

A client for The Graph network's Subgraphs data service

11 releases

Uses new Rust 2024

0.3.2 Aug 27, 2025
0.3.1 Jun 23, 2025
0.3.0 May 16, 2025
0.2.0 Apr 17, 2025
0.1.0 Nov 9, 2024

#1 in #thegraph

Download history 13/week @ 2025-09-13 7/week @ 2025-09-20 9/week @ 2025-09-27 5/week @ 2025-10-04

615 downloads per month

MIT license

165KB
2.5K SLoC

thegraph-client-subgraphs

crates.io msrv license ci docs.rs

A client for The Graph network's Subgraphs data service.

Usage

To add this crate to your project as a dependency use the cargo add command:

cargo add thegraph-client-subgraphs

In a cargo workspace use the package selection feature to add it as a dependency of a specific package in the workspace:

cargo add --package <package-name> thegraph-client-subgraphs 

Alternatively, you can use the Cargo.toml file to add the dependency manually and point to the git repository's URL and the specific tag you want to use, for example:

thegraph-client-subgraphs = { git = "https://github.com/edgeandnode/toolshed.git", tag = "thegraph-client-subgraphs-vX.Y.Z" }

Dependencies

~31–49MB
~724K SLoC