diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 76c764cdd3..9e2eebad67 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -23760,8 +23760,28 @@ HTTP request or response body.") "This package provides a tiny, safe, speedy, zero-copy HTTP/1.x parser.") (license (list license:asl2.0 license:expat)))) +(define-public rust-httpdate-1 + (package + (name "rust-httpdate") + (version "1.0.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "httpdate" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08bln7b1ibdw26gl8h4dr6rlybvlkyhlha309xbh9ghxh9nf78f4")))) + (build-system cargo-build-system) + (arguments `(#:skip-build? #t)) + (home-page "https://github.com/pyfisch/httpdate") + (synopsis "HTTP date parsing and formatting") + (description + "This crates parses and formats HTTP datetime strings.") + (license (list license:expat license:asl2.0)))) + (define-public rust-httpdate-0.3 (package + (inherit rust-httpdate-1) (name "rust-httpdate") (version "0.3.2") (source @@ -23771,13 +23791,7 @@ HTTP request or response body.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0izbd3sf0625wm4rrfv85xa4xa8j4n1ldxhwlkgff4cm6rh4sjs9")))) - (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page "https://github.com/pyfisch/httpdate") - (synopsis "HTTP date parsing and formatting") - (description - "This crates parses and formats HTTP datetime strings.") - (license (list license:expat license:asl2.0)))) + (arguments `(#:skip-build? #t)))) (define-public rust-humansize-1 (package