summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1b2a284161..eeab528ced 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -56532,6 +56532,32 @@ extensions.")
(description "This package provides a diff library for Rust.")
(license license:asl2.0)))
+(define-public rust-similar-asserts-1
+ (package
+ (name "rust-similar-asserts")
+ (version "1.2.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "similar-asserts" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1789db0fm85p4zvy44b2jwdjgw6h2b51bi133kak2l1pl8qzbjb4"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-console" ,rust-console-0.15)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-similar" ,rust-similar-2))
+ #:cargo-development-inputs
+ (("rust-serde" ,rust-serde-1))))
+ (home-page "https://github.com/mitsuhiko/similar-asserts")
+ (synopsis "Asserts macros with colorized diff output")
+ (description
+ "This crate provides @code{assert_eq!}-like macros with colorized
+diff output.")
+ (license license:asl2.0)))
+
(define-public rust-simplelog-0.11
(package
(name "rust-simplelog")