summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorAlexandru-Sergiu Marton <brown121407@posteo.ro>2021-02-14 20:57:29 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-15 13:20:58 +0100
commit7fc85a8d4639f377adb6d10373d6ddeba831bdbf (patch)
tree0ddf522c7dc5ffe9826fbb5054c4db663fc03591 /gnu/packages/crates-io.scm
parent8637004a11e4f72d8a6af5818449627fe3c85f95 (diff)
gnu: Add rust-tokio-rustls-0.22.
* gnu/packages/crates-io.scm (rust-tokio-rustls-0.22): New variable. (rust-tokio-rustls-0.14): Inherit from above. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm35
1 files changed, 28 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2e2d1ecc6b..6202326a34 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -42294,8 +42294,35 @@ servers.")
"Event loop that drives Tokio I/O resources.")
(license license:expat)))
+(define-public rust-tokio-rustls-0.22
+ (package
+ (name "rust-tokio-rustls")
+ (version "0.22.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tokio-rustls" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1dp1s2kai081f3fn9gjq92x2lw7lm7iqpcsl02cg2zg5fbg48s5w"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-rustls" ,rust-rustls-0.19)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-webpki" ,rust-webpki-0.21))))
+ (home-page "https://github.com/tokio-rs/tls")
+ (synopsis "Asynchronous TLS/SSL streams for Tokio")
+ (description
+ "This package provides asynchronous TLS/SSL streams for Tokio using
+Rustls.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-tokio-rustls-0.14
(package
+ (inherit rust-tokio-rustls-0.22)
(name "rust-tokio-rustls")
(version "0.14.1")
(source
@@ -42306,7 +42333,6 @@ servers.")
(sha256
(base32
"16l8kx3j7i3jxq36qs3hnmys6cd2zqcixc1n0kf3kymwanr32a71"))))
- (build-system cargo-build-system)
(arguments
`(;; These tests require network access.
#:cargo-test-flags '("--release" "--" "--skip=tls12" "--skip=modern")
@@ -42320,12 +42346,7 @@ servers.")
(("rust-futures-util" ,rust-futures-util-0.3)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-tokio" ,rust-tokio-0.2)
- ("rust-webpki-roots" ,rust-webpki-roots-0.20))))
- (home-page "https://github.com/tokio-rs/tls")
- (synopsis "Asynchronous TLS/SSL streams for Tokio")
- (description "This package provides asynchronous TLS/SSL streams for Tokio
-using Rustls.")
- (license (list license:expat license:asl2.0))))
+ ("rust-webpki-roots" ,rust-webpki-roots-0.20))))))
(define-public rust-tokio-rustls-0.13
(package