Cargo Features

[dependencies]
graphql-starter = { version = "0.4.2", default-features = false, features = ["full", "graphql", "config", "tracing", "auth", "sqlx", "error-info-summary", "ansi", "https", "chrono", "paste", "macros"] }
default = full

The full feature is set by default whenever graphql-starter is added without default-features = false somewhere in the dependency tree.

full default = ansi, auth, chrono, config, error-info-summary, graphql, sqlx, tracing

Includes all features

graphql full = paste

GraphQL module

Enables async-graphql, async-graphql-axum, and indexmap

Affects graphql-starter::graphql

config full

Config module

Enables figment

Affects graphql-starter::config

tracing full

Tracing module

Enables parking_lot, env-filter of tracing-subscriber, sync of tokio and tokio-stream

Affects graphql-starter::tracing

auth full = macros

Auth module

Enables subject of optional graphql-starter-macros

Affects graphql-starter::auth

sqlx full = macros

SQLx utils module

Enables sqlx of optional graphql-starter-macros

Affects graphql-starter::sqlx

error-info-summary full

Include error info summary

Enables linkme, summary of error-info

ansi full

ANSI utilities

Enables ansi-to-html, regex, and strip-ansi-escapes

Affects graphql-starter::ansi

https

Allows to build an https server

Enables futures-util, tls-rustls of axum-server

Affects router::build_https_server

chrono full

Chrono utils

Enables chrono

Affects serde::chrono

paste graphql?

Re-exports the paste crate

Enables paste

Affects graphql-starter::crates.paste

macros auth? sqlx?

Re-export starter macros

Enables graphql-starter-macros