summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-22 17:49:52 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-05 21:14:16 +0100
commit1352555d85c0ac6428f39a9f57cc5066ed4c506d (patch)
tree89575a85304d9d28a0266c8c42f86407bc531e02
parentc00874ea108d08a8c98d7a311c058936bfe73422 (diff)
gnu: Add rust-async-native-tls-0.3.
* gnu/packages/crates-io.scm (rust-async-native-tls-0.3): New variable.
-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 aba4aa6e20..d99b438add 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1558,6 +1558,33 @@ primitives:
@end itemize")
(license (list license:asl2.0 license:expat))))
+(define-public rust-async-native-tls-0.3
+ (package
+ (name "rust-async-native-tls")
+ (version "0.3.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "async-native-tls" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0cwv4vbrvcbv58b51y1azfbszzgzhrzxx92q5nl6hk6kkf97m7ly"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #true ;XXX: build when rust-async-std-1 is packaged
+ #:cargo-inputs
+ (;;("rust-async-std" ,rust-async-std-1)
+ ("rust-native-tls" ,rust-native-tls-0.2)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-tokio" ,rust-tokio-0.2)
+ ("rust-url" ,rust-url-2))
+ #:cargo-development-inputs
+ (("rust-threadpool" ,rust-threadpool-1.7))))
+ (home-page "https://docs.rs/crate/async-native-tls/")
+ (synopsis "Native TLS using futures")
+ (description "Native TLS using futures")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-async-net-1
(package
(name "rust-async-net")