Cargo Features
[dependencies]
sui-gql-client = { version = "0.14.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
somewhere in the dependency tree.default-features = false - move-type default = queries
-
Enables af-move-type and bcs
af-move-type:
MoveType compat (optional)
Affects
fragments::ToMoveInstanceError
… - mutations default = scalars
-
Enables af-sui-types
For pre-made queries (optional)
Affects
sui-gql-client::mutations
… - queries default move-type = scalars
-
Enables af-sui-types and itertools
Affects
sui-gql-client::queries
… - raw reqwest
-
Enables serde_json
Raw client (optional)
- reqwest default = raw
-
Enables http-reqwest of cynic and reqwest
Reqwest client (optional)
Affects
sui-gql-client::reqwest
… - scalars mutations queries
-
Enables scalars of sui-gql-schema