dh-cargo (33ubuntu3) resolute; urgency=medium

  * Add missing dh-cargo-vendor-test tarballs (LP #2144608)

 -- Richard Scott McNew <scott.mcnew@canonical.com>  Mon, 16 Mar 2026 16:14:00 -0600

dh-cargo (33ubuntu2) resolute; urgency=medium

  * Set execute permissions on dh-cargo-vendored-sources script (LP #2143834)

 -- Richard Scott McNew <scott.mcnew@canonical.com>  Tue, 10 Mar 2026 07:37:59 -0600

dh-cargo (33ubuntu1) resolute; urgency=medium

  * Merge with Debian; remaining changes:
    - cargo.pm: set LTO flags according to the debhelper flags
    - Add support for using vendored sources, including checking the validity of
      XS-Vendored-Sources-Rust field via the new dh-cargo-vendored-sources
      script, and shipping the Cargo.lock file if available.
    - dh-cargo-vendored-sources: properly checks non-standard crate layouts.
      Now if the crate does not have a standard layout, `cargo` will be used
      to help determine where the source files should be. (LP #2112550).
    - Add option to output expected XS-Vendored-Sources-Rust (LP #2115573).
      - dh-cargo-vendored-sources: Add output-expected option
      - d/tests: Add autopkgtest for output-expected option

 -- Matthias Klose <doko@ubuntu.com>  Mon, 09 Mar 2026 09:21:36 +0100

dh-cargo (33) unstable; urgency=medium

  [ наб ]
  * Remove spurious env

  [ Fabian Grünbichler ]
  * dh-cargo: honor -N to skip packages
  * dh-cargo: move `target/` ignoring to get_sources()
  * dh-cargo: honor -X when auto-installing librust-X-dev
  * dh-cargo: install: move copying of unmodified sources to build (Closes: #1121839)
  * dh-cargo: improve error messages
  * dh-cargo: use first non-lib :any package as bin package
  * dh-cargo:pick up version from d/control if set

  * dh-cargo-built-using: make target dir overridable
  * dh-cargo-built-using: handle absolute CARGO_REGISTRY
  * dh-cargo-buiit-using: allow specifying src directory
  * Closes: #1123013

  [ James McCoy ]
  * Change Maintainer address to alioth-lists.debian.net

 -- Fabian Grünbichler <debian@fabian.gruenbichler.email>  Tue, 10 Feb 2026 17:56:35 +0100

dh-cargo (32ubuntu3) resolute; urgency=medium

  * No-change mass rebuild for Ubuntu 26.04 (LP: #2132257)

 -- Sebastien Bacher <seb128@debian.org>  Mon, 02 Feb 2026 21:30:00 +0100

dh-cargo (32ubuntu2) questing; urgency=medium

  * Add option to output expected XS-Vendored-Sources-Rust (LP: #2115573).
    - dh-cargo-vendored-sources: Add output-expected option
    - d/tests: Add autopkgtest for output-expected option

 -- Max Gilmour <max.gilmour@canonical.com>  Wed, 02 Jul 2025 10:27:12 -0700

dh-cargo (32ubuntu1) questing; urgency=medium

  * Merge with Debian unstable (LP: #2111991). Remaining changes:
    - cargo.pm: set LTO flags according to the debhelper flags
    - Add support for using vendored sources, including checking the validity of
      XS-Vendored-Sources-Rust field via the new dh-cargo-vendored-sources
      script, and shipping the Cargo.lock file if available.
    Squashed:
    * dh-cargo-vendored-sources:
      - Only list non-empty crates.
      - Accept top-level lib.rs (LP #2096268)
      - Improve opendir error messages to include directory name

  [ Zixing Liu ]
  * dh-cargo-vendored-sources: properly checks non-standard crate layouts.
    Now if the crate does not have a standard layout, `cargo` will be used
    to help determine where the source files should be. (LP: #2112550)

 -- Simon Chopin <schopin@ubuntu.com>  Thu, 05 Jun 2025 11:38:32 +0200

dh-cargo (32) unstable; urgency=medium

  [ Fabian Grünbichler ]
  * dh-cargo-built-using: fix cross-builds
  * dh-cargo-built-using: mark X-Cargo-Built-Using as deprecated

  [ Guillem Jover ]
  * dh-cargo-built-using: Use ?= operator for obsolete substvars (Closes: #1096103)

 -- Fabian Grünbichler <debian@fabian.gruenbichler.email>  Fri, 07 Mar 2025 10:26:02 +0100

dh-cargo (31ubuntu4) plucky; urgency=medium

  * dh-cargo-vendored-sources:
    - Accept top-level lib.rs (LP: #2096268)
    - Improve opendir error messages to include directory name

 -- Julian Andres Klode <juliank@ubuntu.com>  Thu, 23 Jan 2025 19:41:15 +0100

dh-cargo (31ubuntu3) plucky; urgency=medium

  * dh-cargo-vendored-sources: Only list non-empty crates.
    This makes it compatible with the approach used by cargo-vendor-filterer,
    which instead of removing crates, simply removes all files and creates
    an empty src/lib.rs. This removes the need to patch other crates to
    remove their dependencies on filtered crates.

 -- Julian Andres Klode <juliank@ubuntu.com>  Wed, 15 Jan 2025 12:07:43 +0100

dh-cargo (31ubuntu2) oracular; urgency=medium

  * cargo.pm: set LTO flags according to the dpkg build options.

 -- Zixing Liu <zixing.liu@canonical.com>  Mon, 03 Jun 2024 13:43:57 -0600

dh-cargo (31ubuntu1) noble; urgency=medium

  * Merge with Debian unstable. Remaining changes:
    - Add support for using vendored sources, including checking the validity of
      XS-Vendored-Sources-Rust field via the new dh-cargo-vendored-sources
      script, and shipping the Cargo.lock file if available.
  * Split out the dh-cargo-vendored-sources into its own package to be able
    to use it with non-default rustc (e.g. rustc-1.74)

 -- Simon Chopin <schopin@ubuntu.com>  Thu, 08 Feb 2024 16:27:41 +0100

dh-cargo (31) unstable; urgency=medium

  * Team upload.

  [ Alexander Kjäll ]
  * Generate Static-Built-Using substvar.  (Closes: #1053096)

 -- James McCoy <jamessan@debian.org>  Fri, 22 Dec 2023 21:09:29 -0500

# Older entries have been removed from this changelog.
# To read the complete changelog use `apt changelog dh-cargo-tools`.
