override_dh_auto_build: cargo build --release --offline{locked} override_dh_auto_install: install -Dm755 target/release/{artifact} debian/{name}/usr/bin/{command} override_dh_auto_test: cargo test --release --offline{locked} override_dh_update_autotools_config: override_dh_clean: # dh_clean unlinks `*.orig` patch backups, but vendored crates # ship files like `Cargo.toml.orig` that cargo's per-file # checksums require on cold builds (chroots, Launchpad). dh_clean -X .orig override_dh_auto_clean: cargo clean