@@ -20123,6 +20123,36 @@ (define-public rust-decimal-2
"Decimal floating point arithmetic for Rust.")
(license license:asl2.0)))
+(define-public rust-deepsize-0.2
+ (package
+ (name "rust-deepsize")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "deepsize" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0v5rn98i6j4jfpcm93mg8by3ddwhanvjiyd3pszzfsvgqdz9inqw"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.5)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-deepsize-derive" ,rust-deepsize-derive-0.1)
+ ("rust-hashbrown" ,rust-hashbrown-0.9)
+ ("rust-indexmap" ,rust-indexmap-1)
+ ("rust-slab" ,rust-slab-0.4)
+ ("rust-slotmap" ,rust-slotmap-0.4)
+ ("rust-smallvec" ,rust-smallvec-1))
+ #:cargo-development-inputs (("rust-deepsize-derive" ,rust-deepsize-derive-0.1))))
+ (home-page "https://github.com/Aeledfyr/deepsize/")
+ (synopsis
+ "Crate for measuring the total size of object on the stack and heap")
+ (description
+ "This package provides a crate for measuring the total size of object on the
+stack and heap")
+ (license license:expat)))
+
(define-public rust-defer-0.1
(package
(name "rust-defer")