gnu: rust-trust-dns-https-0.20: Update to 0.20.4.

* gnu/packages/crates-web.scm (rust-trust-dns-https-0.20): Update to
0.20.4.
[arguments]: Don't skip the build.  Add cargo-test-flags.
[cargo-development-inputs]: Add rust-env-logger-0.8, rust-futures-0.3.

Change-Id: If1010a3167bf6d1ea628cd7c9838792bdc1835b5
This commit is contained in:
Efraim Flashner 2024-12-04 18:43:36 +02:00
parent 94e54d8cfc
commit bb48ff0a69
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -6064,17 +6064,20 @@ also use those libraries.")
(define-public rust-trust-dns-https-0.20 (define-public rust-trust-dns-https-0.20
(package (package
(name "rust-trust-dns-https") (name "rust-trust-dns-https")
(version "0.20.0") (version "0.20.4")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (crate-uri "trust-dns-https" version)) (uri (crate-uri "trust-dns-https" version))
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "19f0l1illl69ycb97652rjrjppilz2pz7l9572lrjpkasffgcqr6")))) (base32 "0l6x06vpm0fgcrldvk23ma0rd2xvd70f55ffncy0cqjqxnvwgbg2"))))
(build-system cargo-build-system) (build-system cargo-build-system)
(arguments (arguments
`(#:skip-build? #t `(#:cargo-test-flags
'("--release" "--"
;; Requires the internet.
"--skip=https_client_stream::tests::test_https_google")
#:cargo-inputs #:cargo-inputs
(("rust-bytes" ,rust-bytes-1) (("rust-bytes" ,rust-bytes-1)
("rust-cfg-if" ,rust-cfg-if-1) ("rust-cfg-if" ,rust-cfg-if-1)
@ -6090,7 +6093,9 @@ also use those libraries.")
("rust-trust-dns-proto" ,rust-trust-dns-proto-0.20) ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.20)
("rust-trust-dns-rustls" ,rust-trust-dns-rustls-0.20) ("rust-trust-dns-rustls" ,rust-trust-dns-rustls-0.20)
("rust-webpki" ,rust-webpki-0.21) ("rust-webpki" ,rust-webpki-0.21)
("rust-webpki-roots" ,rust-webpki-roots-0.21)))) ("rust-webpki-roots" ,rust-webpki-roots-0.21))
#:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.8)
("rust-futures" ,rust-futures-0.3))))
(home-page "https://www.trust-dns.org/index.html") (home-page "https://www.trust-dns.org/index.html")
(synopsis "DNS over HTTPS extension for the Trust-DNS client") (synopsis "DNS over HTTPS extension for the Trust-DNS client")
(description (description