WIP: Add cargo source plugin
This is marked WIP
because it hard requires BuildStream >= 1.3.1
.
Essentially this integrates rust/cargo builds more seamlessly into the BuildStream workflow, and it means we don't ever have to call utils/generate_cargo_dependencies.py
again.
This branch:
- Adds a new
cargo
source plugin which reads anyCargo.lock
file in place in order to automatically determine the dependencies which need to be downloaded - Removes the old
crate
plugin - Removes the
utils/generate_cargo_dependencies.py
which needed to be run manually to updatelibrsvg.bst
- Makes the
librsvg.bst
acargo
element