Cargo Features

[dependencies]
esp_idf_build = { version = "0.1.3", default-features = false, features = ["build_idf", "build_make"] }
default = build_idf

The build_idf feature is set by default whenever esp_idf_build is added without default-features = false somewhere in the dependency tree.

build_idf default

build_native() runs idf.py build

build_make

build_native() runs make