Cargo Features

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

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

chrono-clock = chrono

Enables clock of chrono

expose-test-schema = anyhow, serde_json

Affects http::tests, juniper_puff::tests

schema-language default = graphql-parser

Affects starwars::schema_language

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

anyhow expose-test-schema?
bigdecimal implicit feature

Enables bigdecimal ^0.3

bigdecimal:

Arbitrary precision decimal numbers

Affects integrations::bigdecimal

bson default

Affects integrations::bson

chrono chrono-clock?

Affects integrations::chrono

chrono-tz implicit feature

Enables chrono-tz ^0.6

chrono-tz:

TimeZone implementations for chrono from the IANA database

Affects integrations::chrono_tz

graphql-parser schema-language

Affects translate::graphql_parser

rust_decimal implicit feature

Affects integrations::rust_decimal

serde_json expose-test-schema?
time implicit feature

Affects integrations::time

url default

Affects integrations::url

uuid default

Affects integrations::uuid