From 49f25c66984327c3b99782b87038102b706ad3d6 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 23 Dec 2024 14:18:36 +0200 Subject: [PATCH] gnu: rust-actix-tls-3: Update to 3.4.0. * gnu/packages/crates-web.scm (rust-actix-tls-3): Update to 3.4.0. [arguments]: Don't skip the tests. Add cargo-test-flags. [cargo-inputs]: Add rust-rustls-0.26. [cargo-development-inputs]: Add rust-actix-codec-0.5, rust-actix-rt-2, rust-actix-server-2, rust-bytes-1, rust-futures-util-0.3, rust-itertools-0.12, rust-pretty-env-logger-0.5, rust-rcgen-0.12, rust-rustls-pemfile-2, rust-tokio-rustls-0.26, rust-trust-dns-resolver-0.23. Change-Id: Id48ed6b0ad46680f9d7bf89e8b7c4e2e9e2028ca --- gnu/packages/crates-web.scm | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index c772aff843..c9f215d5dc 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -1297,23 +1297,25 @@ (define-public rust-actix-threadpool-0.1 (define-public rust-actix-tls-3 (package (name "rust-actix-tls") - (version "3.3.0") + (version "3.4.0") (source (origin (method url-fetch) (uri (crate-uri "actix-tls" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0pxyqpr5nangbl55gdc5zpc84viah7qhmpjw5v3pnirb5w5fdk6l")))) + (base32 "12ck682vls5py9hp4rsal7mv8iy770bzwd13pk6vxkb6v2c3hidc")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; use of undeclared crate or module `actix_server` + `(#:cargo-test-flags '("--" + "--skip=custom_resolver_connect" + "--skip=connect::resolve::Resolve") #:cargo-inputs (("rust-actix-rt" ,rust-actix-rt-2) ("rust-actix-service" ,rust-actix-service-2) ("rust-actix-utils" ,rust-actix-utils-3) ("rust-futures-core" ,rust-futures-core-0.3) - ("rust-http" ,rust-http-0.2) ("rust-http" ,rust-http-1) + ("rust-http" ,rust-http-0.2) ("rust-impl-more" ,rust-impl-more-0.1) ("rust-openssl" ,rust-openssl-0.10) ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) @@ -1326,13 +1328,26 @@ (define-public rust-actix-tls-3 ("rust-tokio-native-tls" ,rust-tokio-native-tls-0.3) ("rust-tokio-openssl" ,rust-tokio-openssl-0.6) ("rust-tokio-rustls" ,rust-tokio-rustls-0.25) - ("rust-tokio-rustls" ,rust-tokio-rustls-0.23) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.26) ("rust-tokio-rustls" ,rust-tokio-rustls-0.24) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.23) ("rust-tokio-util" ,rust-tokio-util-0.7) ("rust-tracing" ,rust-tracing-0.1) ("rust-webpki-roots" ,rust-webpki-roots-0.25) - ("rust-webpki-roots" ,rust-webpki-roots-0.22) - ("rust-webpki-roots" ,rust-webpki-roots-0.26)))) + ("rust-webpki-roots" ,rust-webpki-roots-0.26) + ("rust-webpki-roots" ,rust-webpki-roots-0.22)) + #:cargo-development-inputs + (("rust-actix-codec" ,rust-actix-codec-0.5) + ("rust-actix-rt" ,rust-actix-rt-2) + ("rust-actix-server" ,rust-actix-server-2) + ("rust-bytes" ,rust-bytes-1) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-itertools" ,rust-itertools-0.12) + ("rust-pretty-env-logger" ,rust-pretty-env-logger-0.5) + ("rust-rcgen" ,rust-rcgen-0.12) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-2) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.26) + ("rust-trust-dns-resolver" ,rust-trust-dns-resolver-0.23)))) (home-page "https://github.com/actix/actix-net") (synopsis "TLS acceptor services for Actix ecosystem") (description