Cargo Features

apollo-federation-types = { version = "0.11.0", default-features = false, features = ["build", "build_plugin", "config"] }
default = build, build_plugin, config

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

build default = serde_json

Affects apollo-federation-types::build

build_plugin default = serde_json

Affects apollo-federation-types::build_plugin

config default = camino, log, serde_with, serde_yaml, thiserror, url

Affects apollo-federation-types::config

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.

camino config

Enables camino

config-only dependencies

log config
serde_with config

Enables serde_with ^1

serde_yaml config

Enables serde_yaml ^0.8

thiserror config
url config
serde_json build build_plugin

Enables serde_json

build-only dependencies