43 releases

0.32.0 Jun 23, 2024
0.31.4 Oct 26, 2023
0.31.3 Aug 22, 2023
0.31.2 May 8, 2023
0.25.4 Nov 28, 2021

#32 in Build Utils

Download history 4931/week @ 2024-08-14 5176/week @ 2024-08-21 4036/week @ 2024-08-28 5762/week @ 2024-09-04 4709/week @ 2024-09-11 4690/week @ 2024-09-18 4600/week @ 2024-09-25 4363/week @ 2024-10-02 5052/week @ 2024-10-09 5745/week @ 2024-10-16 5042/week @ 2024-10-23 5562/week @ 2024-10-30 5133/week @ 2024-11-06 3839/week @ 2024-11-13 5637/week @ 2024-11-20 3616/week @ 2024-11-27

19,243 downloads per month
Used in 45 crates (34 directly)

MIT/Apache

660KB
6.5K SLoC

Build support for embedded Rust

CI crates.io docs.rs Matrix

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 these utilities as they're intended to be general. They're organized into specific modules so that they and their dependencies can be turned on or off with features.

A list of current features and their utilities:

  • pio
    • Platformio support.
  • cmake
    • CMake file-api support and utilities.
  • glob (used in the build module)
    • Glob utilities.
  • manifest (used in the cargo module)
    • Cargo.toml and config.toml utilities.
  • espidf
    • An installer to install the esp-idf framework.
  • git
    • Git utilities for manipulating repositories using the git CLI.
  • kconfig
    • kconfig file parsing.
  • elf (bingen, symgen and espidf::ulp_fsm modules)
    • Elf file manipulation.

Other utilities that are not behind features include:

  • cargo
    • Utils for interacting with cargo through the CLI, and stdout in a build script.
  • cmd
    • Macros and wrappers for running commands and getting their results easier.
  • cli
    • Command line arguments manipulation.

Tools

This repository also provides two CLI tools:

Dependencies

~0.5–12MB
~144K SLoC