Cargo Features

[dependencies]
linguist-rs-build = { version = "1.1.0", default-features = false, features = ["serde", "serde_yaml"] }
default = serde

The serde feature is set by default whenever linguist-rs-build is added without default-features = false somewhere in the dependency tree.

serde default

Enables serde

Features from optional dependencies

serde_yaml implicit feature

Enables serde_yaml

serde_yaml:

YAML data format for Serde