An open API service indexing awesome lists of open source software.

https://github.com/jacobbudin/graphql-parser

GraphQL query parser in Rust
https://github.com/jacobbudin/graphql-parser

graphql graphql-parser rust rust-library

Last synced: about 2 months ago
JSON representation

GraphQL query parser in Rust

Awesome Lists containing this project

README

          

# GraphQL Parser

A [GraphQL](http://graphql.org) query parser written in [Rust](https://www.rust-lang.org) using [Pest](https://github.com/pest-parser/pest).

## Usage

This parser has a single public function `parse` that accepts a `str` reference and returns a vector of Pest tokens.

```rust
parse("query { ... }");
```

## License

[3-Clause BSD License](LICENSE)