diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-12-21 09:24:22 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:56:30 +0200 |
commit | 9af822337c1dbe5c60a5880037568293622d145d (patch) | |
tree | 6e8aafec7c5374f7ae2f66665eaf83988a93c072 | |
parent | 2ab298aefe64272f9be941166be7dd0e7302346e (diff) |
gnu: Add rust-trust-dns-resolver-0.23.
* gnu/packages/crates-io.scm (rust-trust-dns-resolver-0.23): New
variable.
(rust-trust-dns-resolver-0.22): Inherit from
rust-trust-dns-resolver-0.23.
Change-Id: If9a5c111585bdb17a192b44a795c44cac3580eb4
-rw-r--r-- | gnu/packages/crates-io.scm | 60 |
1 files changed, 49 insertions, 11 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 891b7f9562..ae55811bb5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -84232,8 +84232,56 @@ DNS protocol library for all Trust-DNS projects.") (("rust-env-logger" ,rust-env-logger-0.6) ("rust-tokio" ,rust-tokio-0.1)))))) +(define-public rust-trust-dns-resolver-0.23 + (package + (name "rust-trust-dns-resolver") + (version "0.23.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "trust-dns-resolver" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1rhbwg7v93yvl3p64skwhkx2zfh2abrx35g3fcy8nwgimz1yd8qh")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Tests require network access + #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-ipconfig" ,rust-ipconfig-0.3) + ("rust-lru-cache" ,rust-lru-cache-0.1) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-rand" ,rust-rand-0.8) + ("rust-resolv-conf" ,rust-resolv-conf-0.7) + ("rust-rustls" ,rust-rustls-0.21) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1) + ("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.24) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.23) + ("rust-webpki-roots" ,rust-webpki-roots-0.25)) + #:cargo-development-inputs + (("rust-futures-executor" ,rust-futures-executor-0.3) + ("rust-tokio" ,rust-tokio-1) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) + (home-page "https://trust-dns.org/") + (synopsis "Safe and secure DNS library") + (description + "Trust-DNS is a safe and secure DNS library. This Resolver library uses +the Client library to perform all DNS queries. The Resolver is intended to be +a high-level library for any DNS record resolution see Resolver and +AsyncResolver for supported resolution types. The Client can be used for +other queries.") + (license (list license:expat license:asl2.0)))) + (define-public rust-trust-dns-resolver-0.22 (package + (inherit rust-trust-dns-resolver-0.23) (name "rust-trust-dns-resolver") (version "0.22.0") (source @@ -84243,7 +84291,6 @@ DNS protocol library for all Trust-DNS projects.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1zkw5fx7dwiy4ymn7ywmsb3qhf69mnqdw9mcpyps3c7gvjj1mwmg")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included. #:cargo-inputs @@ -84267,16 +84314,7 @@ DNS protocol library for all Trust-DNS projects.") ("rust-webpki-roots" ,rust-webpki-roots-0.22)) #:cargo-development-inputs (("rust-futures-executor" ,rust-futures-executor-0.3) - ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) - (home-page "http://www.trust-dns.org/index.html") - (synopsis "Safe and secure DNS library") - (description - "Trust-DNS is a safe and secure DNS library. This Resolver library uses -the Client library to perform all DNS queries. The Resolver is intended to be -a high-level library for any DNS record resolution see Resolver and -AsyncResolver for supported resolution types. The Client can be used for -other queries.") - (license (list license:expat license:asl2.0)))) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))))) (define-public rust-trust-dns-resolver-0.20 (package |