aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2020-09-20 12:06:35 +0530
committerArun Isaac <arunisaac@systemreboot.net>2020-10-12 11:42:01 +0530
commit4a40a6e6f4d8cffac0135356b255fa991c963b28 (patch)
tree1b2fa93b911ebc5da3f7bc11138777020ae857c3
parentf99063f4ab3ef68a96a407258fa0b236893f1ca8 (diff)
downloadguix-4a40a6e6f4d8cffac0135356b255fa991c963b28.tar.gz
guix-4a40a6e6f4d8cffac0135356b255fa991c963b28.zip
gnu: Add rust-tokio-tls-0.3.
* gnu/packages/crates-io.scm (rust-tokio-tls-0.3): New variable.
-rw-r--r--gnu/packages/crates-io.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 954a2b89d2..352cc6d528 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -28012,6 +28012,39 @@ pool.")
(description "Timer facilities for Tokio.")
(license license:expat)))
+(define-public rust-tokio-tls-0.3
+ (package
+ (name "rust-tokio-tls")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tokio-tls" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0hv375949532p32d0w6bm2f6d3r0d00mcdzqjjqlzcmkszyg8w4s"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-native-tls" ,rust-native-tls-0.2)
+ ("rust-tokio" ,rust-tokio-0.2))
+ #:cargo-development-inputs
+ (("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-env-logger" ,rust-env-logger-0.6)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-openssl" ,rust-openssl-0.10)
+ ("rust-schannel" ,rust-schannel-0.1)
+ ("rust-security-framework" ,rust-security-framework-0.2)
+ ("rust-tokio" ,rust-tokio-0.2)
+ ("rust-tokio-util" ,rust-tokio-util-0.3)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://tokio.rs")
+ (synopsis "TLS/SSL streams for Tokio")
+ (description "An implementation of TLS/SSL streams for Tokio giving an
+implementation of TLS for nonblocking I/O streams.")
+ (license license:expat)))
+
(define-public rust-tokio-trace-core-0.2
(package
(name "rust-tokio-trace-core")