commit 734a7a1965c2afa6f5b64eddeb0e734dcc88b152
parent f3f3cc2d53d531395ea8f3272dec9ba6ef42cd52
Author: Florian Dold <dold@taler.net>
Date: Sun, 6 Sep 2026 17:53:48 +0200
debian: accept rustup for Rust build dependencies
Allow the rustup toolchain installed in the taler-deployment build
images to satisfy the cargo and rustc build dependencies. Keep the
packaged compiler alternative and the Rust 1.93 minimum enforced by
Cargo.toml.
Diffstat:
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/debian/control b/debian/control
@@ -6,12 +6,13 @@ Uploaders: Christian Grothoff <grothoff@gnu.org>, Florian Dold <dold@taler.net>
Rules-Requires-Root: no
Build-Depends:
debhelper-compat (= 13),
- cargo,
+ cargo | rustup,
# 1.93, not 1.85: taler-common/taler-api use std::fmt::from_fn, stabilised in
# 1.93 (let-chains, 1.88, and Vec::pop_if, 1.86, put the floor above trixie's
-# 1.85 already). Trixie ships 1.85, so on stable this comes from
-# trixie-backports; no rustup needed.
- rustc (>= 1.93)
+# 1.85 already). Use trixie-backports for the packaged compiler, or rustup
+# with a toolchain >= 1.93 as in the taler-deployment build images.
+# Cargo.toml enforces the compiler minimum for either toolchain source.
+ rustc (>= 1.93) | rustup
Standards-Version: 4.7.2
Vcs-Git: https://git.taler.net/taler-rust.git
Homepage: https://taler.net/
@@ -46,4 +47,4 @@ Depends: ${misc:Depends}, ${shlibs:Depends}
Recommends:
nginx | apache2 | httpd,
postgresql (>= 14.0)
-Description: GNU Taler APNs relay
-\ No newline at end of file
+Description: GNU Taler APNs relay