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
- Host: GitHub
- URL: https://github.com/jacobbudin/graphql-parser
- Owner: jacobbudin
- License: bsd-3-clause
- Created: 2017-05-28T16:10:03.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-28T16:10:46.000Z (about 9 years ago)
- Last Synced: 2025-06-19T04:13:49.399Z (about 1 year ago)
- Topics: graphql, graphql-parser, rust, rust-library
- Language: Rust
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)