#module #graph #url #add #cargo-workspace #package

thegraph-core

Rust core modules for The Graph network

27 releases (8 breaking)

0.8.2 Nov 11, 2024
0.7.0 Oct 2, 2024
0.5.7 Jul 23, 2024
0.2.2 Mar 11, 2024

#495 in Science

Download history 556/week @ 2024-07-30 377/week @ 2024-08-06 233/week @ 2024-08-13 228/week @ 2024-08-20 150/week @ 2024-08-27 212/week @ 2024-09-03 219/week @ 2024-09-10 269/week @ 2024-09-17 151/week @ 2024-09-24 399/week @ 2024-10-01 176/week @ 2024-10-08 199/week @ 2024-10-15 95/week @ 2024-10-22 109/week @ 2024-10-29 491/week @ 2024-11-05 196/week @ 2024-11-12

920 downloads per month
Used in thegraph-client-subgraphs

MIT license

81KB
1.5K SLoC

thegraph-core

crates.io msrv license ci docs.rs

Rust core modules for The Graph network.

Usage

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" }

Dependencies

~144MB
~2.5M SLoC