# Steps to create the vendor tarball

1. Install `cargo-vendor-filterer`.
2. Run `debian/rules vendor-tarball CARGO_VENDOR_FILTERER=$(which cargo-vendor-filterer)`.
3. Try to build the package. If fails, update `XS-Vendored-Sources-Rust` in
   `debian/control` with the value presented in the build failure.

# Steps to update debian/copyright

1. For every new and updated crate in `rust-vendor/`, create or update the
   equivalent `debian/copyright.d.in/<crate>` fragment.
2. Run `debian/rules debian/copyright`.

# vim: ft=markdown
