Cargo Features

[dependencies]
datafusion-proto = { version = "37.1.0", default-features = false, features = ["json", "parquet"] }
default = parquet

The parquet feature is set by default whenever datafusion-proto is added without default-features = false somewhere in the dependency tree.

json = pbjson, serde, serde_json

Affects bytes::logical_plan_to_json, bytes::logical_plan_from_json, bytes::physical_plan_to_json, bytes::physical_plan_from_json

parquet default

Enables parquet of datafusion and datafusion-common

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.

pbjson json?
serde json?
serde_json json?