A GraphQL query and schema definition language parser, formatter, and AST implementation for Rust.
GraphQL Parser is a Rust library that parses GraphQL query language and schema definition language documents into an abstract syntax tree (AST). It provides both parsing and formatting capabilities, enabling developers to programmatically analyze, manipulate, and format GraphQL documents within Rust applications. The library supports standard GraphQL specifications along with extensions like subscriptions and block strings.
Rust developers building GraphQL servers, clients, or tooling who need to parse, validate, or manipulate GraphQL documents programmatically. This includes developers working on GraphQL APIs, code generators, linters, or IDE integrations.
Developers choose GraphQL Parser for its correctness, performance, and clean Rust API. It provides a reliable foundation for GraphQL tooling in the Rust ecosystem without external dependencies, making it suitable for both production systems and development tools.
A graphql query language and schema definition language parser and formatter for rust
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Parses both GraphQL queries and SDL into an AST, with support for extensions like subscriptions and block strings as per GraphQL specifications.
Emphasizes correctness and performance, providing an efficient Rust API for syntax-level operations without external dependencies.
Offers an idiomatic Rust interface for easy integration and programmatic manipulation of GraphQL documents.
Includes document formatting capabilities for consistent styling and indentation, useful for tools like prettifiers or code generators.
Primarily a syntax parser; lacks high-level features like query execution or schema validation, requiring additional libraries for complete GraphQL solutions.
Limited to Rust projects; not suitable for polyglot environments or teams using other languages for GraphQL tooling.
Direct AST work can be intricate and error-prone for developers unfamiliar with abstract syntax trees, increasing initial learning effort.