[bug#76872,rust-team,9/9] gnu: rust-futures-0.3: Address 2024 Cargo deprecation/rename warning

Message ID 20250308165105.2398551-9-aaron.covrig.us@ieee.org
State New
Headers
Series Build fixes and minor updates |

Commit Message

Aaron Covrig March 8, 2025, 4:50 p.m. UTC
  * gnu/packages/crates-io.scm (rust-futures-0.3): Address 2024 Cargo
  deprecation/rename warning for `default_features`
---
 gnu/packages/crates-io.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
  

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b7f80c3560..26f4abf7b9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -28440,7 +28440,12 @@  (define-public rust-futures-0.3
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "0xh8ddbkm9jy8kc5gbvjp9a4b6rqqxvc8471yb2qaz5wm2qhgg35"))))
+         "0xh8ddbkm9jy8kc5gbvjp9a4b6rqqxvc8471yb2qaz5wm2qhgg35"))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin (substitute* "Cargo.toml"
+                  ;; Address 2024 deprecation/rename warning
+                  (("default_features") "default-features"))))))
     (build-system cargo-build-system)
     (arguments
      `(#:tests? #f      ; use of undeclared crate or module `futures_test`