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

Message ID 20250319234237.1906210-10-aaron.covrig.us@ieee.org
State New
Headers
Series Correct broken character set |

Commit Message

Aaron Covrig March 19, 2025, 11:41 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 76333a28bd..e901cad6a3 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`