A typed GraphQL client library for Rust. Precise types for query variables and responses. Supports GraphQL fragments, objects, unions, inputs, enums, custom scalars and input objects. Works in the browser (WebAssembly). Subscriptions support (serialization-deserialization only at the moment). Copies documentation from the GraphQL schema to the generated Rust code. Arbitrary derives on the generated responses. Arbitrary custom scalars. Supports multiple operations per query document. Supports setting GraphQL fields as deprecated and having the Rust compiler check their use. Optional reqwest-based client for boilerplate-free API calls from browsers. Implicit and explicit null support.

Features

  • Works in the browser (WebAssembly)
  • Precise types for query variables and responses
  • Arbitrary derives on the generated responses
  • Supports multiple operations per query document
  • Supports setting GraphQL fields as deprecated and having the Rust compiler check their use
  • Optional reqwest-based client for boilerplate-free API calls from browsers

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow graphql_client

graphql_client Web Site

Other Useful Business Software
Compliant and Reliable File Transfers Backed by Top Security Certifications Icon
Compliant and Reliable File Transfers Backed by Top Security Certifications

Cerberus FTP Server delivers SOC 2 Type II certified security and FIPS 140-2 validated encryption.

Stop relying on non-certified, legacy file transfer tools that creak under the weight of modern security demands. Get full audit trails, advanced access controls and more supported by an award-winning team of experts. Start your free 25-day trial today.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of graphql_client!

Additional Project Details

Programming Language

Rust

Related Categories

Rust Software Development Software

Registered

2023-03-07