dh-rust (0.0.10) unstable; urgency=medium * fix call to dh-rust-built-using -- Jonas Smedegaard 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 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 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 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 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 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 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 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 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 Thu, 11 Jul 2024 18:18:16 +0200