summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-10-09 16:32:13 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-10-18 11:36:26 +0300
commitbe5eb5e789faefc629745bcf41cee07d797a431c (patch)
tree76dea0c110adbde2edb483dc5e940bc0335021fe /gnu
parent0bba6e46adf717e0ba08bfaaa9b4397ccccef154 (diff)
downloadguix-be5eb5e789faefc629745bcf41cee07d797a431c.tar.gz
gnu: rust-tokio-0.1: Don't rely on deprecated features.
* gnu/packages/crates-io.scm (rust-tokio-0.1)[source]: Add snippet to
remove 'tokio' feature from dependencies.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cb4b41ad4a..f2d7f28716 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -72428,7 +72428,11 @@ writing asynchronous I/O backed applications.")
        (uri (crate-uri "tokio" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1xhaadfmm6m37f79xv5020gc3np9wqza3bq95ymp522qpfsw02as"))))
+        (base32 "1xhaadfmm6m37f79xv5020gc3np9wqza3bq95ymp522qpfsw02as"))
+       (snippet
+        #~(begin (use-modules (guix build utils))
+                 (substitute* "Cargo.toml"
+                   (("features = \\[\"tokio\"\\]") ""))))))
     (arguments
      `(#:cargo-inputs
        (("rust-bytes" ,rust-bytes-0.4)