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.
This commit is contained in:
Efraim Flashner 2023-10-09 16:32:13 +03:00
parent 0bba6e46ad
commit be5eb5e789
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -72428,7 +72428,11 @@ (define-public rust-tokio-0.1
(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)