Cargo Features
[dependencies]
graphql-starter = { version = "0.7.1", default-features = false, features = ["full", "graphql", "config", "tracing", "auth", "sqlx", "error-info-summary", "ansi", "https", "chrono", "paste", "macros", "model-mapper", "garde"] }
- default = full
-
The
full
feature is set by default whenevergraphql-starter
is added without
somewhere in the dependency tree.default-features = false - 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, futures-util, indexmap, and tokio-util
Affects
graphql-starter::graphql
,maybe_option::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 and rcgen, tls-rustls of axum-server
Affects
router::build_https_server
,router::build_self_signed_https_server
,router::build_https_server_with
,graphql-starter::crates.axum_server
,graphql-starter::crates.rcgen
… - 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
- model-mapper
-
Dependencies
Enables model-mapper
Affects
maybe_option::mapper
… - garde
-
Enables garde
Affects
maybe_option::garde
…