dh-rust (0.1.1) unstable; urgency=medium

  * skip resolving Built-Using involving libffi,
    unsupported by dh-rust-built-using script

 -- Jonas Smedegaard <dr@jones.dk>  Sun, 03 May 2026 17:31:36 +0200

dh-rust (0.1.0) unstable; urgency=medium

  * print dependency cycle details only when DH_VERBOSE is set,
    and prepend [RUST]
  * pass cargo option --exclude-lockfile
    when crates with cyclic dependencies are detected;
    closes: bug#1100508, thanks to NoisyCoil
  * stop set superfluous fields Rules-Requires-Root Priority
  * declare compliance with Debian Policy 4.7.3
  * update copyright info: update coverage
  * provide dh-sequence-rust (= 1)

 -- Jonas Smedegaard <dr@jones.dk>  Thu, 01 Jan 2026 19:46:28 +0100

dh-rust (0.0.12) unstable; urgency=medium

  * cherry-pick changes from dh-cargo v32:
    + dh-cargo-built-using: fix cross-builds
    + dh-cargo-built-using: replace sed-delimiter with '!'
    + refactor: extract package name into variable
    + dh-cargo-built-using: Use ?= operator for obsolete substvars
    + add comment to X-Cargo-Built-Using
    + dh-cargo-built-using: cargo:Built-Using is not optional

 -- Jonas Smedegaard <dr@jones.dk>  Sat, 27 Sep 2025 10:34:11 +0200

dh-rust (0.0.11) unstable; urgency=medium

  * avoid uninitialized value when env var RUSTFLAGS is unset;
    closes: bug#1094240, thanks to Santiago Vila
  * sort library packages by dependencies
    (not just dependency count);
    closes: bug#1094199, thanks to NoisyCoil and Hilko Bengen

 -- Jonas Smedegaard <dr@jones.dk>  Sat, 08 Feb 2025 01:32:57 +0100

dh-rust (0.0.10) unstable; urgency=medium

  * fix call to dh-rust-built-using

 -- Jonas Smedegaard <dr@jones.dk>  Thu, 12 Sep 2024 20:00:33 +0200

dh-rust (0.0.9) unstable; urgency=medium

  * simplify: pass DEB_BUILDDIR only for cargo install
  * simplify: call dh-rust-built-using only once (drop dry-run code)
  * fix use CARGO_PROFILE in dh-rust-built-using
  * fix support for option --sourcedirectory in dh-rust-built-using

 -- Jonas Smedegaard <dr@jones.dk>  Thu, 12 Sep 2024 19:10:29 +0200

dh-rust (0.0.8) unstable; urgency=medium

  * fix set BUILDDIR to SOURCEDIR/target (not to SOURCEDIR)
  * drop superfluous trailing slash in remap pattern
  * drop hardcoded cargo-wrapper flag --link-from-system
  * support RUSTFLAGS overriding CARGO_HOME settings
  * unconditionally remap registry in CARGO_HOME settings
  * remap non-registry crates via RUSTFLAGS
  * use CARGO_PROFILE,
    or "release" or "dev" based on DEB_BUILD_OPTS=noopt
  * fix set target triple also for cargo subcommands check and run

 -- Jonas Smedegaard <dr@jones.dk>  Fri, 23 Aug 2024 15:39:26 +0200

dh-rust (0.0.7) unstable; urgency=medium

  * fix fatal typo in dh-rust-built-using
  * tighten shell scripts:
    + drop superfluous quoting
    + fail with our error message, by ignoring dpkg-query error
    + avoid ls and double while loop
    + canonicalize working directory only once

 -- Jonas Smedegaard <dr@jones.dk>  Fri, 02 Aug 2024 22:37:42 +0200

dh-rust (0.0.6) unstable; urgency=medium

  * update TODOs, referencing related bugreports
  * tighten shell scripts: fix most shellcheck warnings
  * fix support for option --sourcedirectory
  * simplify creating dummy checksum file

 -- Jonas Smedegaard <dr@jones.dk>  Tue, 30 Jul 2024 23:04:51 +0200

dh-rust (0.0.5) unstable; urgency=medium

  * fix comma-separate Uploaders
  * fix declare used Dh_Lib function get_buildoption

 -- Jonas Smedegaard <dr@jones.dk>  Fri, 12 Jul 2024 08:30:27 +0200

dh-rust (0.0.4) unstable; urgency=medium

  * revert built-using signature to use prefix dh-cargo:

 -- Jonas Smedegaard <dr@jones.dk>  Fri, 12 Jul 2024 01:39:12 +0200

dh-rust (0.0.3) unstable; urgency=medium

  * have dh-sequence-rust enable rust buildsystem

 -- Jonas Smedegaard <dr@jones.dk>  Thu, 11 Jul 2024 21:06:48 +0200

dh-rust (0.0.2) unstable; urgency=medium

  * revive pre-fork licensing;
    thanks to Jeremy Bícha, Fabian Grünbichler
    and Johannes Schauer Marin Rodrigues
    (see bug#1076153)

 -- Jonas Smedegaard <dr@jones.dk>  Thu, 11 Jul 2024 20:14:10 +0200

dh-rust (0.0.1) unstable; urgency=medium

  * initial release,
    derived from dh-cargo v31 and cargo 0.66.0+ds2-1;
    closes: bug#1076153
  * resolve crate name and version from Cargo.toml
  * support debhelper options --sourcedirectory --builddirectory
  * support debhelper option --no-package
  * validate package names against Cargo.toml entries
  * generate cargo-checksum during install
  * support --remap-path-prefix option sets in RUSTFLAGS
  * pass cargo --remap-path-prefix option sets in RUSTFLAGS
  * support workspace (i.e. multi-crate project)
  * bugfix: support documented shorter CARGO_HOME path
  * support cargo option --path
  * allow overriding CARGO_HOME
  * support DEB_BUILD_OPTIONS=terse
  * use "cargo package" to install crate contents
  * feat: warn when cargo wrapper bails due to mismatching CARGO_HOME
  * modernize: add suffix .toml to config file,
    supported since cargo 1.39
  * omit installing COPYING* LICENSE* Cargo.toml.orig debian/patches
  * use debian/Cargo.lock or Cargo.lock (in that order) during build
    if Cargo.lock exists
  * use crates below debian/vendorlibs when available
  * tighten compile flags and support DEB_BUILD_OPTIONS=noopt
  * use dh_auto_build (not confusingly only dh_auto_test)
  * relicense as GPL-3+
  * explicitly declare used Dh_Lib functions
  * use JSON::PP function decode_json (not OO interface)
  * use Dh_Lib function qx_cmd (not bareword nor two-argument open)

 -- Jonas Smedegaard <dr@jones.dk>  Thu, 11 Jul 2024 18:18:16 +0200
