{"id":20638393,"url":"https://github.com/solo-steven/rustgql","last_synced_at":"2025-04-15T21:52:05.315Z","repository":{"id":188014149,"uuid":"677939944","full_name":"Solo-steven/rustgql","owner":"Solo-steven","description":"graphql tool written in rust","archived":false,"fork":false,"pushed_at":"2023-09-12T05:28:16.000Z","size":1361,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-15T21:51:52.485Z","etag":null,"topics":["babel","babel-plugin","graphql","graphql-code-generator","graphql-query-language","graphql-schema-language","minifier","parser","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Solo-steven.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-13T06:32:21.000Z","updated_at":"2025-01-21T08:49:18.000Z","dependencies_parsed_at":"2024-11-16T15:18:09.689Z","dependency_job_id":"5e51ad8c-c3f4-4798-8815-476218e9057c","html_url":"https://github.com/Solo-steven/rustgql","commit_stats":null,"previous_names":["solo-steven/rustql"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Solo-steven%2Frustgql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Solo-steven%2Frustgql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Solo-steven%2Frustgql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Solo-steven%2Frustgql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Solo-steven","download_url":"https://codeload.github.com/Solo-steven/rustgql/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249161130,"owners_count":21222469,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["babel","babel-plugin","graphql","graphql-code-generator","graphql-query-language","graphql-schema-language","minifier","parser","rust"],"created_at":"2024-11-16T15:17:53.875Z","updated_at":"2025-04-15T21:52:05.295Z","avatar_url":"https://github.com/Solo-steven.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RustGQL\na tool for graqhql , written in rust for better performance. pass all test case in graphql-rust ([link](https://github.com/graphql-rust/graphql-parser/tree/master/tests))\n\n## Quick Start\ninstall rustql_parser and rustql_common.\n- rustgql_parser: lexer and parser for graphql.\n- rustgql_common: ast and token for graphql.\n- rustgql_typegen: generate typescript `.d.ts` file from your schema.\n```rust\nuse rustgql_parser::parser::Parser;\nfn main() {\n    let code = \"\n        query {\n            node {\n            id\n            ...something\n            }\n        }\n    \";\n    let mut parser = Parser::new(code);\n    let doc = parser.parse();\n    println!(\"{:?}\", doc);\n}\n```\n## Benchesmark\nusing criterion for benchmark, compare to graphql-rust is 4 time faster.\n\n|      **file**      |  kitchen-sink_canonical |  \n| -----------------: | ----------------------: | \n|   **graphql-rust** |               28.016 us | \n|      **rustgql**    |                6.1192us |\n|        **~**       |                 4.5783x |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolo-steven%2Frustgql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolo-steven%2Frustgql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolo-steven%2Frustgql/lists"}