Cargo Features

embuild has no features set by default.

[dependencies]
embuild = { version = "0.32.0", features = ["pio", "cmake", "glob", "manifest", "espidf", "git", "kconfig", "elf"] }
pio = bindgen, manifest, serde, serde_json, tempfile, ureq, which

Platformio support

Affects embuild::pio

cmake = bindgen, dep-cmake, serde, serde_json, strum, tempfile

cmake file-api & utilities

Affects embuild::cmake

glob = globwalk

glob utilities

Affects build::tracked_env_globs_iter, build::env_globs_iter, build::tracked_globs_iter, build::globs_iter

manifest pio? = cargo_toml, toml

Cargo.toml and config.toml utilities

espidf = git, home, regex, serde, serde_json, strum, tempfile, which

esp-idf installer

Affects embuild::espidf

git espidf? = remove_dir_all

git utilities

Affects embuild::git

kconfig = serde, serde_json

kconfig utilities

Affects embuild::kconfig

elf = xmas-elf

elf manipulation

Affects espidf::ulp_fsm, embuild::symgen, embuild::bingen

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.

xmas-elf elf?
home espidf?
strum cmake? espidf?

Enables strum ^0.24

serde cmake? espidf? kconfig? pio?
serde_json cmake? espidf? kconfig? pio?
toml manifest?

Enables toml ^0.7

remove_dir_all git?
cargo_toml manifest?

Enables cargo_toml ^0.15

which espidf? pio?

Enables which ^4.1

globwalk glob?

Enables globwalk ^0.8

tempfile cmake? espidf? pio?
ureq pio?

Affects utils::download_file_to

bindgen cmake? pio?

Enables bindgen ^0.69.4

Affects embuild::bindgen

dep-cmake cmake?

Enables cmake

regex espidf?