mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-30 16:12:58 -05:00
gnu: Add rust-serde-ignored-0.1.
* gnu/packages/crates-io.scm (rust-serde-ignored-0.1): New variable.
This commit is contained in:
parent
be59ed491a
commit
7ea0a2ec97
1 changed files with 27 additions and 0 deletions
|
@ -37761,6 +37761,33 @@ (define-public rust-serde-derive-0.9
|
||||||
("rust-serde-codegen-internals" ,rust-serde-codegen-internals-0.14)
|
("rust-serde-codegen-internals" ,rust-serde-codegen-internals-0.14)
|
||||||
("rust-syn" ,rust-syn-0.11))))))
|
("rust-syn" ,rust-syn-0.11))))))
|
||||||
|
|
||||||
|
(define-public rust-serde-ignored-0.1
|
||||||
|
(package
|
||||||
|
(name "rust-serde-ignored")
|
||||||
|
(version "0.1.2")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "serde_ignored" version))
|
||||||
|
(file-name
|
||||||
|
(string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0bzz3546g3p01hgwh6jh0gyqdwc28xcp3pir4al2wbsgs4wpsb0w"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-inputs
|
||||||
|
(("rust-serde" ,rust-serde-1))
|
||||||
|
#:cargo-development-inputs
|
||||||
|
(("rust-serde-derive" ,rust-serde-derive-1)
|
||||||
|
("rust-serde-json" ,rust-serde-json-1))))
|
||||||
|
(home-page "https://github.com/dtolnay/serde-ignored")
|
||||||
|
(synopsis "Find ignored keys when deserializing data")
|
||||||
|
(description "Find out about keys that are ignored when deserializing
|
||||||
|
data. This crate provides a wrapper that works with any existing Serde
|
||||||
|
@code{Deserializer} and invokes a callback on every ignored field.")
|
||||||
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
(define-public rust-serde-json-1
|
(define-public rust-serde-json-1
|
||||||
(package
|
(package
|
||||||
(name "rust-serde-json")
|
(name "rust-serde-json")
|
||||||
|
|
Loading…
Reference in a new issue