Battery packs: Let's talk about crates, baby · baby steps
This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).
Battery packs are a proposed concept for the Rust ecosystem: curated sets of crates grouped around a common theme (CLI, backend services, embedded development, error handling, etc.) that help developers quickly find and adopt good default libraries without extensive research. Distributed as crates named `X-battery-pack`, they can be published by anyone. The `cargo-bp` tool lets you list available packs, add dependencies interactively, and even scaffold CI configuration via templates. Key goals include reducing the 'tacit knowledge' barrier for new Rust adopters, supporting crate maintainers through ecosystem funding, and fostering interoperability (e.g., async runtime traits). The design is intentionally thin — you depend on the individual crates, not the battery pack itself — so ecosystem evolution is preserved.