[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
149/436: gnu: rust-serde-with-3: Update to 3.4.0.
From: |
guix-commits |
Subject: |
149/436: gnu: rust-serde-with-3: Update to 3.4.0. |
Date: |
Sun, 5 Nov 2023 05:28:35 -0500 (EST) |
efraim pushed a commit to branch rust-team
in repository guix.
commit a2f9a07f9c657cdfe37d057fe179066ed55e1c5b
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 24 10:29:44 2023 +0300
gnu: rust-serde-with-3: Update to 3.4.0.
* gnu/packages/crates-io.scm (rust-serde-with-3): Update to 3.4.0.
[source]: Add snippet to allow newer versions of dependencies.
[arguments]: Don't skip tests. Add cargo-test-flags to skip one
specific test.
[cargo-inputs]: Add rust-document-features-0.2, rust-hashbrown-0.14,
rust-indexmap-2.
[cargo-development-inputs]: Add rust-xml-rs-0.8.
Change-Id: Id053c86179998e4355d52de49040fa93f305cf61
---
gnu/packages/crates-io.scm | 20 ++++++++++++++++----
1 file changed, 16 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9b8e7ded73..6ecba674eb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -66736,23 +66736,34 @@ for later processing.")
(define-public rust-serde-with-3
(package
(name "rust-serde-with")
- (version "3.0.0")
+ (version "3.4.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "serde-with" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "04w5v0siychbb7l3anx57crvv9m3w866ckwjhkq5nf1wdsmdh0lz"))))
+ (base32 "08sw83b6hfwzylr0waf4mc29h6fxnb02g7vkwbkjjyhvrin27kb4"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin (substitute* "Cargo.toml"
+ (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
+ (string-append "\"^" version)))))))
(build-system cargo-build-system)
(arguments
- `(#:tests? #f ; could not find `Deserializer` in `serde_test`
+ `(#:cargo-test-flags
+ '("--release" "--"
+ ;; Test fails in release tarball.
+ "--skip=test_serde_with_macros_dependency")
#:cargo-inputs
(("rust-base64" ,rust-base64-0.21)
("rust-chrono" ,rust-chrono-0.4)
("rust-doc-comment" ,rust-doc-comment-0.3)
+ ("rust-document-features" ,rust-document-features-0.2)
+ ("rust-hashbrown" ,rust-hashbrown-0.14)
("rust-hex" ,rust-hex-0.4)
("rust-indexmap" ,rust-indexmap-1)
+ ("rust-indexmap" ,rust-indexmap-2)
("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1)
("rust-serde-with-macros" ,rust-serde-with-macros-3)
@@ -66771,7 +66782,8 @@ for later processing.")
("rust-serde-json" ,rust-serde-json-1)
("rust-serde-test" ,rust-serde-test-1)
("rust-serde-yaml" ,rust-serde-yaml-0.9)
- ("rust-version-sync" ,rust-version-sync-0.9))))
+ ("rust-version-sync" ,rust-version-sync-0.9)
+ ("rust-xml-rs" ,rust-xml-rs-0.8))))
(home-page "https://github.com/jonasbb/serde_with/")
(synopsis "Custom de/serialization functions for Rust's serde")
(description "This package provides custom de/serialization functions for
- 226/436: gnu: rust-string-cache-0.8: Update to 0.8.7., (continued)
- 226/436: gnu: rust-string-cache-0.8: Update to 0.8.7., guix-commits, 2023/11/05
- 231/436: gnu: rust-toml-datetime-0.6: Update to 0.6.5., guix-commits, 2023/11/05
- 234/436: gnu: rust-toml-test-harness-0.4: Update to 0.4.8., guix-commits, 2023/11/05
- 242/436: gnu: Add rust-ansi-parser-0.8., guix-commits, 2023/11/05
- 243/436: gnu: rust-bindgen-0.51: Fix build., guix-commits, 2023/11/05
- 244/436: gnu: Add rust-color-eyre-0.6., guix-commits, 2023/11/05
- 272/436: gnu: Remove rust-src-1.64., guix-commits, 2023/11/05
- 139/436: gnu: Add rust-sval-derive-macros-2., guix-commits, 2023/11/05
- 142/436: gnu: Add rust-value-bag-sval2-1., guix-commits, 2023/11/05
- 140/436: gnu: Add rust-sval-buffer-2., guix-commits, 2023/11/05
- 149/436: gnu: rust-serde-with-3: Update to 3.4.0.,
guix-commits <=
- 188/436: gnu: rust-git2-0.9: Update to 0.9.2., guix-commits, 2023/11/05
- 192/436: gnu: rust-tokio-sync-0.2: Skip tests., guix-commits, 2023/11/05
- 195/436: gnu: rust-tokio-openssl-0.6: Update to 0.6.3., guix-commits, 2023/11/05
- 202/436: gnu: rust-byteorder-1: Update to 1.5.0., guix-commits, 2023/11/05
- 201/436: gnu: Add rust-anstyle-wincon-3., guix-commits, 2023/11/05
- 200/436: gnu: Add rust-anstream-0.6., guix-commits, 2023/11/05
- 199/436: gnu: Add rust-android-tzdata-0.1., guix-commits, 2023/11/05
- 204/436: gnu: rust-chrono-0.4: Update to 0.4.31., guix-commits, 2023/11/05
- 208/436: gnu: Add rust-clap-lex-0.6., guix-commits, 2023/11/05
- 211/436: gnu: rust-hdrhistogram-7: Fix build., guix-commits, 2023/11/05