summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-10-09 16:48:28 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-10-18 11:36:26 +0300
commitfc6e26d07e25eae40821beeb67d0d618b7df4dc7 (patch)
tree3485c04ac32fa7110ca608aa179f91d5d6d4cb5b /gnu
parentbe5eb5e789faefc629745bcf41cee07d797a431c (diff)
downloadguix-fc6e26d07e25eae40821beeb67d0d618b7df4dc7.tar.gz
gnu: rust-tokio-core-0.1: Don't rely on deprecated features.
* gnu/packages/crates-io.scm (rust-tokio-core-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 f2d7f28716..10b600f61d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -72531,7 +72531,11 @@ writing asynchronous I/O backed applications.")
         (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "0wbgg59mxfvrhzv97y56nh3gmnmw3jj9dhgkmvz27410jjxzpvxf"))))
+         "0wbgg59mxfvrhzv97y56nh3gmnmw3jj9dhgkmvz27410jjxzpvxf"))
+       (snippet
+        #~(begin (use-modules (guix build utils))
+                 (substitute* "Cargo.toml"
+                   (("features = \\[\"tokio\"\\]") ""))))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs