Subject: [bug#44492] [PATCH v2 12/52] gnu: Add rust-muldiv-0.2.

From: Leo Prikler <[email-masked]>
Date: Sun, 28 Feb 2021 20:33:27 +0100

* gnu/packages/crates-io.scm (rust-muldiv-0.2): New variable.
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index beb9234b47..162251457f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -23435,6 +23435,29 @@ checking.")
       "Chaining APIs for both self -> Self and &mut self methods.")
     (license license:expat)))
 
+(define-public rust-muldiv-0.2
+  (package
+    (name "rust-muldiv")
+    (version "0.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "muldiv" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "014jlry2l2ph56mp8knw65637hh49q7fmrraim2bx9vz0a638684"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-development-inputs
+       (("rust-quickcheck" ,rust-quickcheck-0.9))))
+    (home-page  "https://github.com/sdroege/rust-muldiv")
+    (synopsis "Perform combined multiplication and division")
+    (description "This package provides a trait for numeric types to perform
+combined multiplication and division with overflow protection.")
+    (license license:expat)))
+
 (define-public rust-multi-default-trait-impl-0.1
   (package
     (name "rust-multi-default-trait-impl")
-- 
2.30.1