gnu: Add rust-safemem.

* gnu/packages/crates-io.scm (rust-safemem): New variable.
This commit is contained in:
Efraim Flashner 2019-08-28 16:20:13 +03:00
parent d791d309c6
commit b3038b3826
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 20 additions and 0 deletions

View File

@ -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")