#schema #sui #client #sui-gql-schema

sui-gql-schema

Sui GraphQL schema for the Cynic client

18 unstable releases (3 breaking)

Uses new Rust 2024

new 0.10.6 Apr 17, 2025
0.10.5 Apr 14, 2025
0.10.1 Mar 31, 2025
0.9.1 Mar 6, 2025
0.7.3 Jan 14, 2025

#68 in Magic Beans

Download history 231/week @ 2025-01-10 239/week @ 2025-01-17 238/week @ 2025-01-24 481/week @ 2025-01-31 138/week @ 2025-02-07 140/week @ 2025-02-14 281/week @ 2025-02-21 346/week @ 2025-02-28 309/week @ 2025-03-07 190/week @ 2025-03-14 325/week @ 2025-03-21 473/week @ 2025-03-28 430/week @ 2025-04-04 420/week @ 2025-04-11

1,733 downloads per month
Used in 5 crates (3 directly)

Apache-2.0

195KB
5.5K SLoC

GraphQL 4.5K SLoC Rust 1K SLoC // 0.1% comments

Sui's GraphQL schema to use with cynic. Synchronized at testnet-v1.42.0.

Read more about schemas in https://cynic-rs.dev/schemas and why this crate is separate in https://cynic-rs.dev/large-apis.

The types in the scalars module may be specially useful.

Dependencies

~6–8MB
~140K SLoC