#!/usr/bin/make -f
%:
	dh $@ --buildsystem cargo

override_dh_auto_test:
	# dh-cargo's Buildsystem/cargo.pm defaults
	# to `cargo build`, not `cargo test`, unless "test" is passed
	# explicitly. Plain `cargo test` covers lib+bins+tests+doctests.
	dh_auto_test -- test
