Cargo Features

[dependencies]
sui-gql-client = { version = "0.18.0", default-features = false, features = ["move-type", "mutations", "queries", "raw", "reqwest", "scalars"] }
default = move-type, mutations, queries, reqwest

These default features are set whenever sui-gql-client is added without default-features = false somewhere in the dependency tree.

move-type default = queries

Enables af-move-type

Public dependencies; a SemVer-breaking bump in one of these must come with a SemVer-breaking bump to this crate https://rust-lang.github.io/rfcs/3516-public-private-dependencies.html FIXME: this is in dire need of refactoring; see https://github.com/AftermathFinance/aftermath-sdk-rust/issues/181

and bcs

MoveType compat (optional)

Affects fragments::ToMoveInstanceError

mutations default = scalars

Enables af-sui-types and sui-sdk-types

Affects sui-gql-client::mutations

queries default move-type = scalars

Enables itertools

For pre-made queries (optional)

and af-sui-types, async-stream, bimap, futures, futures-core, and graphql-extract

async-stream:

For stream queries

Affects sui-gql-client::queries

raw reqwest

Enables serde_json

reqwest default = raw

Enables reqwest, http-reqwest of cynic

Affects sui-gql-client::reqwest

scalars mutations queries

Enables scalars of sui-gql-schema