diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-22 18:49:15 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-01-06 18:29:32 +0100 |
commit | ea4b4b4bc18be071e6df61812e67edd9e94a85d9 (patch) | |
tree | e9eb505f0a961b023e87b889032bbe25b99ba511 /gnu/packages/crates-io.scm | |
parent | 16acd9a4c4b7db6802f20e883d9afbac620613f4 (diff) | |
download | guix-ea4b4b4bc18be071e6df61812e67edd9e94a85d9.tar.gz |
gnu: Add rust-actix-service-1.
* gnu/packages/crates-io.scm (rust-actix-service-1): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7b3824b204..917cb793e8 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -169,6 +169,33 @@ protocols.") (description "This package provides Actix runtime.") (license (list license:expat license:asl2.0)))) +(define-public rust-actix-service-1 + (package + (name "rust-actix-service") + (version "1.0.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-service" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1fw2b1cpxrpqk778mpvxv0cazj0pwjyb6khzs4syhnqvb1fl6lh0")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-futures-util" ,rust-futures-util-0.3) + ("rust-pin-project" ,rust-pin-project-0.4)) + #:cargo-development-inputs + (("rust-actix-rt" ,rust-actix-rt-1) + ("rust-criterion" ,rust-criterion-0.3)))) + (home-page "https://actix.rs") + (synopsis + "Service trait and combinators for asynchronous request/response") + (description + "This package provides a service trait and combinators for representing +asynchronous request/response operations.") + (license (list license:expat license:asl2.0)))) + (define-public rust-actix-threadpool-0.3 (package (name "rust-actix-threadpool") |