guix-commits
[Top][All Lists]
Advanced

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

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


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

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

commit be5eb5e789faefc629745bcf41cee07d797a431c
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Oct 9 16:32:13 2023 +0300

    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.
---
 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 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)



reply via email to

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