Cargo Features

const-gen = { version = "1.6.4", default-features = false, features = ["std", "phf", "derive"] }
default = derive, phf, std

These default features are set whenever const-gen is added without default-features = false somewhere in the dependency tree.

std default phf
phf default = std
derive default = const-gen-derive

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.

const-gen-derive derive