Cargo Features

[dependencies]
coasys_juniper = { version = "0.16.0", default-features = false, features = ["bigdecimal", "bson", "chrono", "chrono-clock", "chrono-tz", "expose-test-schema", "graphql-parser", "js", "rust_decimal", "schema-language", "time", "url", "uuid"] }
default = bson, schema-language, url, uuid

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

bigdecimal

Enables bigdecimal, num-bigint, and ryu

num-bigint:

Fixes for MSRV check. TODO: Try remove on upgrade of bigdecimal crate.

Affects integrations::bigdecimal

bson default

Enables bson

Affects integrations::bson

chrono chrono-clock?

Enables chrono

Affects integrations::chrono

chrono-clock = chrono

Enables clock of chrono

chrono-tz

Enables chrono-tz ^0.8 and regex

regex:

TODO: Try remove on upgrade of chrono-tz crate.

Affects integrations::chrono_tz

expose-test-schema

Enables anyhow and serde_json

Affects http::tests, coasys_juniper::tests

graphql-parser schema-language

Enables graphql-parser and void

void:

TODO: Remove on upgrade to 0.4.1 version of graphql-parser.

Affects translate::graphql_parser

js

Enables wasmbind of optional chrono, wasm-bindgen of optional time, js of optional uuid

rust_decimal

Enables rust_decimal

Affects integrations::rust_decimal

schema-language default = graphql-parser

Affects starwars::schema_language

time

Enables time

Affects integrations::time

url default

Enables url

Affects integrations::url

uuid default

Enables uuid

Affects integrations::uuid