diff --git a/debian/rules b/debian/rules index 186279c..ffe56bd 100644 --- a/debian/rules +++ b/debian/rules @@ -1,14 +1,6 @@ #!/usr/bin/make -f - -export DEB_BUILD_MAINT_OPTIONS=hardening=+all -export PYBUILD_NAME=maturin - -build3vers := $(shell py3versions -sv) - %: - dh $@ --with python3 --buildsystem pybuild + dh $@ -override_dh_autoreconf: - echo '[net]' >> Cargo.toml - echo 'git-fetch-with-cli = true' >> Cargo.toml - cargo fetch --locked +override_dh_build: + cargo build --manifest-path Cargo.toml --message-format=json-render-diagnostics --release -v --no-default-features --locked