To fetch or not to fetch: Rust package builds and dependency fetching
summary
Automates Rust dependency maintenance by embedding cargo-bitbake into the Yocto build container, forking it to require a cargo lock file, and adding a Yocto class that runs the tool, converts its output into Yocto fetcher source URIs, and ties fetches to the app source revision. The result eliminates daily dependency PR churn, reduces the meta layer by ~10,000 lines, and runs as part of CI so builds remain reproducible and up to date.
AI-written summary · about
