gnu: Add rust-quick-xml-0.27.

* gnu/packages/crates-io.scm (rust-quick-xml-0.27): New variable.
(rust-quick-xml-0.22): Inherit from rust-quick-xml-0.27.
This commit is contained in:
Efraim Flashner 2023-08-02 19:58:56 +03:00
parent 2460d877f3
commit 0fb34e050b
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -50486,8 +50486,42 @@ (define-public rust-quick-error-1
(base32
"1q6za3v78hsspisc197bg3g7rpc989qycy8ypr8ap8igv10ikl51"))))))
(define-public rust-quick-xml-0.27
(package
(name "rust-quick-xml")
(version "0.27.1")
(source (origin
(method url-fetch)
(uri (crate-uri "quick-xml" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0hacs71afvppq6d7x6b8d4liv0rcqhsf9mrcyrb8lxnxazq57h7z"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-document-features" ,rust-document-features-0.2)
("rust-encoding-rs" ,rust-encoding-rs-0.8)
("rust-memchr" ,rust-memchr-2)
("rust-serde" ,rust-serde-1)
("rust-tokio" ,rust-tokio-1))
#:cargo-development-inputs
(("rust-criterion" ,rust-criterion-0.4)
("rust-pretty-assertions" ,rust-pretty-assertions-1)
("rust-regex" ,rust-regex-1)
("rust-serde" ,rust-serde-1)
("rust-serde-value" ,rust-serde-value-0.7)
("rust-tokio" ,rust-tokio-1)
("rust-tokio-test" ,rust-tokio-test-0.4))))
(home-page "https://github.com/tafia/quick-xml")
(synopsis "High performance xml reader and writer")
(description
"This package provides a high performance XML reader and writer.")
(license license:expat)))
(define-public rust-quick-xml-0.22
(package
(inherit rust-quick-xml-0.27)
(name "rust-quick-xml")
(version "0.22.0")
(source
@ -50497,7 +50531,6 @@ (define-public rust-quick-xml-0.22
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0ssk30ymrd1724g36qjnnql225i6p31jm09cb46sval2hd6g2cw5"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@ -50507,12 +50540,7 @@ (define-public rust-quick-xml-0.22
#:cargo-development-inputs
(("rust-regex" ,rust-regex-1)
("rust-serde" ,rust-serde-1)
("rust-serde-value" ,rust-serde-value-0.7))))
(home-page "https://github.com/tafia/quick-xml")
(synopsis "High performance XML reader and writer")
(description
"This package provides a high performance XML reader and writer.")
(license license:expat)))
("rust-serde-value" ,rust-serde-value-0.7))))))
(define-public rust-quick-xml-0.21
(package