Crates.io | graphql-tools |
lib.rs | graphql-tools |
version | 0.2.5 |
source | src |
created_at | 2021-12-05 14:36:35.277157 |
updated_at | 2024-02-15 07:57:03.067329 |
description | Tools for working with GraphQL in Rust, based on graphql-parser Document. |
homepage | https://github.com/dotansimha/graphql-tools-rs |
repository | |
max_upload_size | |
id | 492700 |
size | 8,081,073 |
graphql-tools
(Rust)Documentation | Crate | GitHub
Note: this crate is still under development (see roadmap below)
The graphql_tools
crate implements tooling around GraphQL for Rust libraries. Most of the tools are based on trait
s and struct
s implemented in graphql_parser
crate.
The goal of this library is to create a common layer of tools that has similar/improved APIs to graphql-js
reference implementation and graphql-tools
from the JS/TS ecosystem.
Add graphql-tools
as a dependency of your project by adding the following to your Cargo.toml
file:
[dependencies]
graphql-tools = "..."
Or, if you are using cargo-edit
:
cargo add graphql-tools
graphql_parser::schema::Document
)graphql_parser::operation::Document
)struct
extensionsIf you have an idea / missing feature, feel free to open an issue / start a GitHub discussion!
This comparison is based on
graphql-js
refernece implementation.