From 33b71fd37144daa7eaf8e4d470d63162269f6b30 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 24 Oct 2023 09:00:13 +0300 Subject: [PATCH] gnu: rust-arc-swap-1: Update to 1.6.0. * gnu/packages/crates-io.scm (rust-arc-swap-1): Update to 1.6.0. [arguments]: Don't skip build. [cargo-inputs]: Add rust-serde-1. Remove rust-adaptive-barrier-0.1, rust-criterion-0.3. [cargo-development-inputs]: Add rust-adaptive-barrier-1, rust-criterion-0.4, rust-serde-derive-1, rust-serde-test-1. Replace rust-itertools-0.9 with 0.10, rust-parking-lot-0.11 with 0.12, rust-proptest-0.10 with 1. Change-Id: I4572fd1c6df261702ba7dc95cff83a68c57c8e02 --- gnu/packages/crates-io.scm | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index cd6518539b..1f28b5be4e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3870,26 +3870,29 @@ coverage-guided, mutation-based fuzzers.") (define-public rust-arc-swap-1 (package (name "rust-arc-swap") - (version "1.2.0") + (version "1.6.0") (source (origin (method url-fetch) (uri (crate-uri "arc-swap" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0wwdvayqa07grw4ljvb6plbw0wdg78jcdg3hwnlq2yqljlrxdmyl")))) + (base32 "19n9j146bpxs9phyh48gmlh9jjsdijr9p9br04qms0g9ypfsvp5x")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-adaptive-barrier" ,rust-adaptive-barrier-0.1) - ("rust-criterion" ,rust-criterion-0.3) + `(#:cargo-inputs + (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-adaptive-barrier" ,rust-adaptive-barrier-1) + ("rust-criterion" ,rust-criterion-0.4) ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) - ("rust-itertools" ,rust-itertools-0.9) + ("rust-itertools" ,rust-itertools-0.10) ("rust-num-cpus" ,rust-num-cpus-1) ("rust-once-cell" ,rust-once-cell-1) - ("rust-parking-lot" ,rust-parking-lot-0.11) - ("rust-proptest" ,rust-proptest-0.10)))) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-proptest" ,rust-proptest-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-test" ,rust-serde-test-1)))) (home-page "https://github.com/vorner/arc-swap") (synopsis "Atomically swappable Arc") (description "This package provides an atomically swappable Arc.")