[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#75212] [PATCH rust-team 2/7] gnu: Add rust-alloc-counter-0.0.4.
From: |
Herman Rimm |
Subject: |
[bug#75212] [PATCH rust-team 2/7] gnu: Add rust-alloc-counter-0.0.4. |
Date: |
Mon, 30 Dec 2024 20:47:47 +0100 |
* gnu/packages/crates-io.scm (rust-alloc-counter-0.0.4): Add variable.
Change-Id: I4459b8ed29afb4a0091eb7fce07e45f663cb7642
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 112276fe191..6ee05ca09a6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1258,6 +1258,33 @@ (define-public rust-aligned-vec-0.5
(description "This package provides an aligned vector and box containers.")
(license license:expat)))
+(define-public rust-alloc-counter-0.0.4
+ (package
+ (name "rust-alloc-counter")
+ (version "0.0.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "alloc_counter" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1agxzprqi37bcy9hh3clbsl3n0awbb34vrlv4rp5afib8w53m31s"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags '("--" "--skip=count_3" "--skip=count_alloc")
+ #:cargo-inputs
+ (("rust-alloc-counter-macro" ,rust-alloc-counter-macro-0.0.2)
+ ("rust-pin-utils" ,rust-pin-utils-0.1))
+ #:cargo-development-inputs
+ (("rust-futures-executor" ,rust-futures-executor-0.3))))
+ (home-page "https://gitlab.com/sio4/code/alloc-counter")
+ (synopsis "Count allocations, reallocations, deallocations")
+ (description
+ "This package provides a counter for allocations, reallocations,
+deallocations. It can also allow, deny, or forbid allocations on an
+expression or function basis.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-alloc-counter-macro-0.0.2
(package
(name "rust-alloc-counter-macro")
--
2.45.2
- [bug#75212] [PATCH rust-team 1/7] gnu: Add rust-alloc-counter-macro-0.0.2., Herman Rimm, 2024/12/30
- [bug#75212] [PATCH rust-team 2/7] gnu: Add rust-alloc-counter-0.0.4.,
Herman Rimm <=
- [bug#75212] [PATCH rust-team 4/7] gnu: Add rust-mmap-0.1., Herman Rimm, 2024/12/30
- [bug#75212] [PATCH rust-team 3/7] gnu: Add rust-libc-0.1., Herman Rimm, 2024/12/30
- [bug#75212] [PATCH rust-team 5/7] gnu: Add rust-x86-0.47., Herman Rimm, 2024/12/30
- [bug#75212] [PATCH rust-team 7/7] gnu: rust-simd-json-0.13: Remove snippet., Herman Rimm, 2024/12/30
- [bug#75212] [PATCH rust-team 6/7] gnu: Add rust-perfcnt-0.8., Herman Rimm, 2024/12/30