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.

Build utilities for cargo build scripts.

Utils for interacting with cargo.

CLI argument manipulation utilities.

cmakecmake

CMake file API and other utilities.

Command building and running utilities.

espidfespidf

esp-idf source and tools installation.

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 utilities.

Miscellaneous utilities.

Macros

Create a new Cmd instance.

Build a command using a given std::process::Command or Cmd and return it.

Build a PathBuf.