From 4f95fd68dd6b20373a03366a388aad5fe4a24972 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 24 Jan 2024 10:50:28 +0200 Subject: gnu: rust-httparse-1: Move to (gnu packages crates-web). * gnu/packages/crates-io.scm (rust-httparse-1): Move from here ... * gnu/packages/crates-web.scm: ... to here. Change-Id: I941a397f506a25179e74167a3e4c463a342e935b --- gnu/packages/crates-web.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'gnu/packages/crates-web.scm') diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index b921598f8a..313294f67d 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -2087,6 +2087,26 @@ (define-public rust-httparse-1 "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.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "httpdate" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1aa9rd2sac0zhjqh24c9xvir96g188zldkx0hr6dnnlx5904cfyz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5)))) + (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-hyper-0.14 (package (name "rust-hyper") -- cgit v1.2.3