mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-28 07:12:30 -05:00
gnu: Add rust-async-compat-0.2.
* gnu/packages/crates-io.scm (rust-async-compat-0.2): Add variable. Change-Id: Iaded7273d198b3efd112b4a84c775bc8445df1fe Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
8f5cb34ff3
commit
56bfaacf2f
1 changed files with 31 additions and 0 deletions
|
@ -4690,6 +4690,37 @@ (define-public rust-async-channel-1
|
|||
(("rust-easy-parallel" ,rust-easy-parallel-3)
|
||||
("rust-futures-lite" ,rust-futures-lite-1))))))
|
||||
|
||||
(define-public rust-async-compat-0.2
|
||||
(package
|
||||
(name "rust-async-compat")
|
||||
(version "0.2.3")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "async-compat" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "06s625ydwms36y4sn723mwq7s4bba2gmp9pq0y65s2gb3xy712pn"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs (("rust-futures-core" ,rust-futures-core-0.3)
|
||||
("rust-futures-io" ,rust-futures-io-0.3)
|
||||
("rust-once-cell" ,rust-once-cell-1)
|
||||
("rust-pin-project-lite" ,rust-pin-project-lite-0.2)
|
||||
("rust-tokio" ,rust-tokio-1))
|
||||
#:cargo-development-inputs (("rust-blocking" ,rust-blocking-1)
|
||||
("rust-futures" ,rust-futures-0.3)
|
||||
("rust-reqwest" ,rust-reqwest-0.11)
|
||||
("rust-tokio" ,rust-tokio-1)
|
||||
("rust-warp" ,rust-warp-0.3))))
|
||||
(native-inputs (list pkg-config))
|
||||
(inputs (list openssl))
|
||||
(home-page "https://github.com/smol-rs/async-compat")
|
||||
(synopsis "Compatibility adapter between tokio and futures")
|
||||
(description
|
||||
"This package provides compatibility adapter between tokio and futures.")
|
||||
(license (list license:asl2.0 license:expat))))
|
||||
|
||||
(define-public rust-async-compression-0.4
|
||||
(package
|
||||
(name "rust-async-compression")
|
||||
|
|
Loading…
Reference in a new issue