#module #service #shared #graph #collection #url #networking

thegraph-core

A collection of Rust modules shared between The Graph's network services

15 releases (5 breaking)

new 0.5.0 May 30, 2024
0.4.3 May 29, 2024
0.3.2 May 1, 2024
0.3.1 Apr 22, 2024
0.0.0 Feb 26, 2024

#352 in #shared

Download history 106/week @ 2024-02-22 423/week @ 2024-02-29 259/week @ 2024-03-07 43/week @ 2024-03-14 19/week @ 2024-03-21 13/week @ 2024-03-28 205/week @ 2024-04-04 418/week @ 2024-04-11 200/week @ 2024-04-18 193/week @ 2024-04-25 251/week @ 2024-05-02 204/week @ 2024-05-09 123/week @ 2024-05-16 306/week @ 2024-05-23

1,018 downloads per month

MIT license

51KB
1K SLoC

thegraph-core

Crates.io License ci

A collection of Rust modules shared between The Graph's network services.

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

~17–32MB
~557K SLoC