aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-15 10:34:59 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:49 +0200
commita0adfccbc23a18349ab1fce943d96dd3738253f6 (patch)
tree50904a1e3382bcc894028bb4103be6d6f2055ddb /gnu
parent9cb3f7ea456ef1b1971a43d5cab01c602eaa0081 (diff)
downloadguix-a0adfccbc23a18349ab1fce943d96dd3738253f6.tar
guix-a0adfccbc23a18349ab1fce943d96dd3738253f6.tar.gz
gnu: Add rust-httparse-1.3.
* gnu/packages/crates-io.scm (rust-httparse-1.3): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2762364c8d..d149e2cf1b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3776,6 +3776,30 @@ compile time.")
requests and responses.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-httparse-1.3
+ (package
+ (name "rust-httparse")
+ (version "1.3.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "httparse" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "10vsfx1b8drhif08fbi0ha9d3v1f3h80w42rxh0y3hrvzl64nwz8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-development-inputs
+ (("rust-pico-sys" ,rust-pico-sys-0.0))))
+ (home-page "https://github.com/seanmonstar/httparse")
+ (synopsis "Zero-copy HTTP/1.x parser")
+ (description
+ "This package provides a tiny, safe, speedy, zero-copy HTTP/1.x parser.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-humantime-1.2
(package
(name "rust-humantime")