[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
150/156: gnu: rust-serde-with-3: Update to 3.4.0.
From: |
guix-commits |
Subject: |
150/156: gnu: rust-serde-with-3: Update to 3.4.0. |
Date: |
Tue, 24 Oct 2023 08:53:11 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 699bf95242c6b0b060b5b2381b5c74e4ad08ee40
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 ece9e7bbfe..3fcb63b07d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -66721,23 +66721,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)
@@ -66756,7 +66767,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
- 134/156: gnu: Add rust-sval-serde-2., (continued)
- 134/156: gnu: Add rust-sval-serde-2., guix-commits, 2023/10/24
- 138/156: gnu: Add rust-sval-flatten-2., guix-commits, 2023/10/24
- 135/156: gnu: Add rust-sval-ref-2., guix-commits, 2023/10/24
- 137/156: gnu: Add rust-sval-fmt-2., guix-commits, 2023/10/24
- 141/156: gnu: Add rust-sval-buffer-2., guix-commits, 2023/10/24
- 146/156: gnu: rust-log-0.4: Update to 0.4.20., guix-commits, 2023/10/24
- 144/156: gnu: Add rust-value-bag-serde1-1., guix-commits, 2023/10/24
- 145/156: gnu: rust-value-bag-1: Update to 1.4.2., guix-commits, 2023/10/24
- 152/156: gnu: rust-base64-0.12: Cleanup package., guix-commits, 2023/10/24
- 154/156: gnu: rust-cache-padded-1: Update to 1.3.0., guix-commits, 2023/10/24
- 150/156: gnu: rust-serde-with-3: Update to 3.4.0.,
guix-commits <=
- 155/156: gnu: rust-nom-5: Update to 5.1.3., guix-commits, 2023/10/24