gnu: Add rust-safemem.
* gnu/packages/crates-io.scm (rust-safemem): New variable.
This commit is contained in:
parent
d791d309c6
commit
b3038b3826
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue