summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-22 18:49:15 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-06 18:29:32 +0100
commitea4b4b4bc18be071e6df61812e67edd9e94a85d9 (patch)
treee9eb505f0a961b023e87b889032bbe25b99ba511 /gnu/packages
parent16acd9a4c4b7db6802f20e883d9afbac620613f4 (diff)
gnu: Add rust-actix-service-1.
* gnu/packages/crates-io.scm (rust-actix-service-1): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm27
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")