Crate embuild

Source
Expand description

§Build support for embedded Rust

A library with many utilities for building embedded frameworks, libraries, and other artifacts in a cargo build script.

It is currently mainly used to simplify building the esp-idf in the build script of the esp-idf-sys crate, but anyone may use them as they’re intended to be general. The utilities are organized into specific modules so that they and their dependencies can be turned on or off with features.

Modules§

bindgenbindgen
Bindgen utilities for generating bindings to C/C++ code.
bingenelf
build
Build utilities for cargo build scripts.
cargo
Utils for interacting with cargo.
cli
CLI argument manipulation utilities.
cmakecmake
CMake file API and other utilities.
cmd
Command building and running utilities.
espidfespidf
esp-idf source and tools installation.
fs
Filesystem utilities.
gitgit
Git repository manipulation through the git CLI.
kconfigkconfig
A quick and dirty parser for the .config files generated by kconfig systems (e.g. used in the esp-idf).
piopio
Platformio installation and manipulation support.
python
Python utilities.
symgenelf
utils
Miscellaneous utilities.

Macros§

cmd
Create a new Cmd instance.
cmd_build
Build a command using a given std::process::Command or Cmd and return it.
path_buf
Build a PathBuf.