aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/crates-io.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 81001024ee..3589e8291a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1118,6 +1118,26 @@ rust-lang/rust integration.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-safemem
+ (package
+ (name "rust-safemem")
+ (version "0.3.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "safemem" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1l1ljkm4lpyryrv2ndaxi1f7z1f3v9bwy1rzl9f9mbhx04iq9c6j"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/abonander/safemem")
+ (synopsis "Safe wrappers for memory-accessing functions")
+ (description
+ "Safe wrappers for memory-accessing functions, like @code{std::ptr::copy()}.")
+ (license (list license:asl2.0
+ license:expat))))
+
(define-public rust-scoped-tls
(package
(name "rust-scoped-tls")