diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-04-01 20:58:13 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-07-19 00:46:41 +0300 |
commit | 46785772d0bca0b70712cc48d1213d4711a209a1 (patch) | |
tree | 3fe7a63b50e4ed291a306e417f90f665706b9c8e /gnu/packages/crates-io.scm | |
parent | bc22e8aac29d3dcec068ab0170a0982b3552605f (diff) | |
download | guix-46785772d0bca0b70712cc48d1213d4711a209a1.tar.gz |
gnu: rust-bson-2: Update to 2.9.0.
* gnu/packages/crates-io.scm (rust-bson-2): Update to 2.9.0. [arguments]: Don't skip the build. Skip the tests. [cargo-inputs]: Add rust-bitvec-1, rust-js-sys-0.3, rust-once-cell-1, rust-serde-with-1, rust-serde-with-3, rust-time-0.3, rust-uuid-1. Replace rust-ahash-0.7 with 0.8, rust-indexmap-1 with 2. [cargo-development-inputs]: Add rust-assert-matches-1, rust-chrono-0.4, rust-criterion-0.3, rust-getrandom-0.2, rust-pretty-assertions-0.6, rust-proptest-1, rust-serde-bytes-0.11. Change-Id: Ice8a1ba421296aee659300e35b4ea142c3d8e281
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 56 |
1 files changed, 34 insertions, 22 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c82e53f92a..97cbe9f2d1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -9179,33 +9179,45 @@ almost the same speed for encoding: about 3% slower when encoding 32 bytes. (define-public rust-bson-2 (package (name "rust-bson") - (version "2.0.1") + (version "2.9.0") (source - (origin - (method url-fetch) - (uri (crate-uri "bson" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0ff1xj1vgh2l6sl5gqhkgsfkbhh11jkwd5wf3h0f0mrbg1kd8n7z")))) + (origin + (method url-fetch) + (uri (crate-uri "bson" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08h2v3yqydx1df27zmkavf746495b0h5rckbd62ll5cw3j64c8ff")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-ahash" ,rust-ahash-0.7) - ("rust-base64" ,rust-base64-0.13) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-hex" ,rust-hex-0.4) - ("rust-indexmap" ,rust-indexmap-1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-rand" ,rust-rand-0.8) - ("rust-serde" ,rust-serde-1) - ("rust-serde-bytes" ,rust-serde-bytes-0.11) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-uuid" ,rust-uuid-0.8)))) + `(#:tests? #f ; file not found for module `tests` + #:cargo-inputs (("rust-ahash" ,rust-ahash-0.8) + ("rust-base64" ,rust-base64-0.13) + ("rust-bitvec" ,rust-bitvec-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-hex" ,rust-hex-0.4) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-js-sys" ,rust-js-sys-0.3) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-serde-bytes" ,rust-serde-bytes-0.11) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-with" ,rust-serde-with-1) + ("rust-serde-with" ,rust-serde-with-3) + ("rust-time" ,rust-time-0.3) + ("rust-uuid" ,rust-uuid-1) + ("rust-uuid" ,rust-uuid-0.8)) + #:cargo-development-inputs + (("rust-assert-matches" ,rust-assert-matches-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-getrandom" ,rust-getrandom-0.2) + ("rust-pretty-assertions" ,rust-pretty-assertions-0.6) + ("rust-proptest" ,rust-proptest-1) + ("rust-serde-bytes" ,rust-serde-bytes-0.11)))) (home-page "https://github.com/mongodb/bson-rust") (synopsis "Encoding and decoding support for BSON in Rust") - (description - "This crate provides encoding and decoding support for BSON.") + (description "This crate provides encoding and decoding support for BSON.") (license license:expat))) (define-public rust-bstr-1 |