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
- bindgen
bindgenBindgen utilities for generating bindings to C/C++ code. - bingen
elf - Build utilities for cargo build scripts.
- Utils for interacting with cargo.
- CLI argument manipulation utilities.
- cmake
cmakeCMake file API and other utilities. - Command building and running utilities.
- espidf
espidfesp-idf source and tools installation. - Filesystem utilities.
- git
gitGit repository manipulation through the git CLI. - kconfig
kconfigA quick and dirty parser for the .config files generated by kconfig systems (e.g. used in the esp-idf). - pio
pioPlatformio installation and manipulation support. - Python utilities.
- symgen
elf - Miscellaneous utilities.
Macros
- Create a new
Cmdinstance. - Build a command using a given
std::process::CommandorCmdand return it. - Build a
PathBuf.