Re-vendoring glycin
===========================
Current Ubuntu Main Inclusion policy requires that Rust apps in Ubuntu main
be vendored.

https://canonical-ubuntu-project.readthedocs-hosted.com/MIR/mir-rust/

Prerequisites
=============
sudo apt install cargo-vendor-filterer dh-cargo-tools dpkg-dev git quilt

Updating vendored crates
========================
Run
debian/rules vendor

This next part is currently more awkward to automate so we do it manually.
See https://launchpad.net/bugs/2115573

rm Cargo.toml
CARGO_VENDOR_DIR=debian/missing-sources/ /usr/share/cargo/bin/dh-cargo-vendored-sources
# Use the output of that command to replace the XS-Vendored-Sources-Rust line
# in debian/control then continue.
# If XS-Vendored-Sources-Rust is already up to date, the command won't output
# anything and you can skip to restoring Cargo.toml.
git add debian/control
git commit -m "Update XS-Vendored-Sources-Rust field"
git reset --hard # restore Cargo.toml

Repository
=========
The ubuntu/* branches are at https://salsa.debian.org/ubuntu-dev-team/glycin
The pristine-tar and upstream/* branches are at https://salsa.debian.org/gnome-team/glycin

The general workflow for Debian GNOME packages is at https://wiki.debian.org/Gnome/Git

Usually, the Ubuntu Desktop team stores the ubuntu/* branches in the same Debian GNOME Salsa repo
as the Debian package. However, given the huge size difference only for the Ubuntu vendoring, it
seems more polite to use a separate repo.

TODO
====
- Identify the specific features we need instead of all-features
- Also run dh-cargo-vendored-sources during override_dh_auto_test
  but the expected output seemed different in initial testing
