GNU bug report logs -
#70146
[PATCH rust-team 000/147] tree-sitter: Update to 0.22.2.
Previous Next
Full log
Message #302 received at 70146 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/crates-io.scm (rust-maybe-owned-0.3): New variable.
Change-Id: Ifb9737d55e15ddf5ef3a5f2e46cc91f0274dfd92
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index df5d634191..296c98a78d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37697,6 +37697,29 @@ (define-public rust-maybe-async-0.2
async code in Rust.")
(license license:expat)))
+(define-public rust-maybe-owned-0.3
+ (package
+ (name "rust-maybe-owned")
+ (version "0.3.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "maybe-owned" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1d3sqiv59i06k73x6p7mf294zgdfb2qkky127ipfnjj9mr9wgb2g"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-serde" ,rust-serde-1))))
+ (home-page "https://github.com/rustonaut/maybe-owned")
+ (synopsis "Alternative implementation of Rust's @code{Cow} type")
+ (description "This package provides an alternative approach of the implementation
+of the Rust's @code{Cow} type: @code{MaybeOwned} and @code{MaybeOwnedMut} but
+implementing the traits @code{From<T>} and @code{From<&'a T>} and does not require
+@code{ToOwned}.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-maybe-rayon-0.1
(package
(name "rust-maybe-rayon")
--
2.41.0
This bug report was last modified 39 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.