Cargo Features

[dependencies]
sui-gql-schema = { version = "0.8.0", default-features = false, features = ["build", "scalars"] }
default = scalars

The scalars feature is set by default whenever sui-gql-schema is added without default-features = false somewhere in the dependency tree.

build

Enables cynic-codegen

For build (optional)

Affects sui-gql-schema::SCHEMA_SUI, sui-gql-schema::register_schemas

scalars default

Enables af-sui-types, base64, chrono, derive_more, serde, serde_json, and serde_with

af-sui-types:

For scalars (optional)

Affects sui-gql-schema::scalars