A collection of Rust modules shared between The Graph's network services.
To add this crate to your project as a depenency use the cargo add
command:
cargo add thegraph-core
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-core
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-core = { git = "https://github.com/edgeandnode/toolshed.git", tag = "thegraph-core-vX.Y.Z" }