guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

249/276: gnu: rust-tokio-core-0.1: Don't rely on deprecated features.


From: guix-commits
Subject: 249/276: gnu: rust-tokio-core-0.1: Don't rely on deprecated features.
Date: Wed, 18 Oct 2023 04:50:27 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit fc6e26d07e25eae40821beeb67d0d618b7df4dc7
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Oct 9 16:48:28 2023 +0300

    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.
---
 gnu/packages/crates-io.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]