gnu: Add rust-smol-0.1.

* gnu/packages/crates-io.scm (rust-smol-0.1): New variable.
This commit is contained in:
Nicolas Goaziou 2020-12-21 01:44:53 +01:00
parent c6e8a56c28
commit e6b2be5ed7
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -30604,6 +30604,46 @@ (define-public rust-smallvec-0.6
#:cargo-development-inputs
(("rust-bincode" ,rust-bincode-1))))))
(define-public rust-smol-0.1
(package
(name "rust-smol")
(version "0.1.18")
(source
(origin
(method url-fetch)
(uri (crate-uri "smol" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1mdflwzgw1jxwrjffqn09lb4hn6d076s1ka8lb9mgnildqybn332"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-test-flags
'("--release" "--" "--skip=task::Task<Result<T, E>>")
#:cargo-inputs
(("rust-async-task" ,rust-async-task-3)
("rust-blocking" ,rust-blocking-0.4)
("rust-concurrent-queue" ,rust-concurrent-queue-1)
("rust-fastrand" ,rust-fastrand-1)
("rust-futures-io" ,rust-futures-io-0.3)
("rust-futures-util" ,rust-futures-util-0.3)
("rust-libc" ,rust-libc-0.2)
("rust-once-cell" ,rust-once-cell-1)
("rust-scoped-tls" ,rust-scoped-tls-1)
("rust-slab" ,rust-slab-0.4)
("rust-socket2" ,rust-socket2-0.3)
("rust-tokio" ,rust-tokio-0.2)
("rust-wepoll-sys-stjepang" ,rust-wepoll-sys-stjepang-1)
("rust-winapi" ,rust-winapi-0.3))
#:cargo-development-inputs
(("rust-criterion" ,rust-criterion-0.3)
("rust-futures" ,rust-futures-0.3)
("rust-piper" ,rust-piper-0.1)
("rust-tempfile" ,rust-tempfile-3))))
(home-page "https://github.com/stjepang/smol")
(synopsis "Small and fast async runtime")
(description "This package provides a small and fast async runtime.")
(license (list license:asl2.0 license:expat))))
(define-public rust-socket2-0.3
(package
(name "rust-socket2")