Cargo Features

Juniper has no features set by default.

[dependencies]
juniper = { version = "0.16.1", features = ["anyhow", "backtrace", "bigdecimal", "bson", "chrono", "chrono-clock", "chrono-tz", "expose-test-schema", "js", "rust_decimal", "schema-language", "time", "url", "uuid"] }
anyhow

Enables anyhow

Affects integrations::anyhow

backtrace

Enables backtrace of optional anyhow

bigdecimal

Enables bigdecimal, num-bigint, and ryu

num-bigint:

Fixes for minimal-versions check. TODO: Try remove on upgrade of bigdecimal crate.

Affects integrations::bigdecimal

bson

Enables bson and tap

tap:

TODO: Try remove on upgrade of bson crate.

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, juniper::tests

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

Enables graphql-parser and void

void:

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

Affects translate::graphql_parser, starwars::schema_language

time

Enables time

Affects integrations::time

url

Enables url

Affects integrations::url

uuid

Enables uuid

Affects integrations::uuid