diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-06-03 14:29:23 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-06-06 02:38:22 -0400 |
commit | 7ea0a2ec970e7cad88f42b7060025dc50eb19dfd (patch) | |
tree | b4de2f8ebe6885714de15fd6868fdb03af31fce0 | |
parent | be59ed491a78021fb1e7fdab32033c9b547a3b77 (diff) | |
download | guix-7ea0a2ec970e7cad88f42b7060025dc50eb19dfd.tar.gz |
gnu: Add rust-serde-ignored-0.1.
* gnu/packages/crates-io.scm (rust-serde-ignored-0.1): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d706c9b9cd..4ba032cae6 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -37761,6 +37761,33 @@ TOML/JSON/MessagePack strings and serializable values.") ("rust-serde-codegen-internals" ,rust-serde-codegen-internals-0.14) ("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 (package (name "rust-serde-json") |