Cargo Dependencies in the ROS Build Farm: Offline Builds Meet Crates
A concept guide to bringing Cargo dependencies into the ROS build farm: why offline builds clash with crates.io, the ROS-then-system-then-vendored resolution order, and what is still out of scope.
In this article
- Key idea and when to use it
- The core conflict: offline builds versus a live registry
- Two philosophies
- The bridge: a patch layer in the resolution order
- Integration with colcon and bloom
- Walk-through: vendoring one crate for an offline build
- Known limits
- Our take: where this fits
- Further reading
- Takeaways