summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-01-22 16:46:49 +0100
committerMarius Bakke <marius@gnu.org>2022-01-23 19:59:08 +0100
commitb44d9101e131ad57e9caf673da7f176e4fdc51fe (patch)
tree3e46881d7fc4c7603464174861033557f0bb786e /gnu
parent6bfcda00a5c09f0f98927fa35ab3c5a5b5585325 (diff)
gnu: Add rust-aliasable-deref-trait.
* gnu/packages/crates-io.scm (rust-aliasable-deref-trait-0.2): New variable.
Diffstat (limited to 'gnu')
-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 c468dd04c9..8abb28d143 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2538,6 +2538,26 @@ code that is generic with regard to the algebraic entity types.")
@code{alga} crate.")
(license license:asl2.0)))
+(define-public rust-aliasable-deref-trait-0.2
+ (package
+ (name "rust-aliasable-deref-trait")
+ (version "0.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "aliasable_deref_trait" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0abzqsxd09jxl01brzjnwk8zg7k8zma76gzq87385q8fqm710jxb"))))
+ (build-system cargo-build-system)
+ (arguments '(#:skip-build? #t))
+ (home-page "https://github.com/avitex/rust-aliasable-deref-trait")
+ (synopsis "Marker trait for aliasable pointers")
+ (description
+ "This package provides a marker trait for types that deref to an
+address that is aliasable when coerced to a raw pointer")
+ (license license:expat)))
+
(define-public rust-alloc-no-stdlib-2
(package
(name "rust-alloc-no-stdlib")