me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-serde-qs-0.7.

* gnu/packages/crates-io.scm (rust-serde-qs-0.7): New variable.
master
Nicolas Goaziou 2020-12-24 11:56:34 +01:00
parent 6e83fcd186
commit 848cfe93d1
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 35 additions and 0 deletions

View File

@ -30651,6 +30651,41 @@ for the serde framework.")
"Macros to auto-generate implementations for the serde framework.")
(license (list license:expat license:asl2.0))))
(define-public rust-serde-qs-0.7
(package
(name "rust-serde-qs")
(version "0.7.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "serde_qs" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1jz6gpr02d393f8cwdxbgfl3jhx5svr1z5ilxhdh16slqvijvy2s"))))
(build-system cargo-build-system)
(arguments
;; XXX: The crate fails to't build with with the same error as
;; rust-actix-connect. Skip build for now.
`(#:skip-build? #true
#:cargo-inputs
(("rust-actix-web" ,rust-actix-web-2)
("rust-data-encoding" ,rust-data-encoding-2)
("rust-futures" ,rust-futures-0.3)
("rust-percent-encoding" ,rust-percent-encoding-2)
("rust-serde" ,rust-serde-1)
("rust-thiserror" ,rust-thiserror-1))
#:cargo-development-inputs
(("rust-csv" ,rust-csv-1.1)
("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7))))
(home-page "https://github.com/samscott89/serde_qs")
(synopsis "Querystrings for Serde")
(description
"This crate is a Rust library for serialising to and deserialising from
querystrings. This crate is designed to extend @code{serde_urlencoded} when
using nested parameters, similar to those used by @code{qs} for Node, and
commonly used by Ruby on Rails via Rack.")
(license (list license:expat license:asl2.0))))
(define-public rust-serde-stacker-0.1
(package
(name "rust-serde-stacker")