guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

36/127: gnu: Add rust-untrusted-0.9.


From: guix-commits
Subject: 36/127: gnu: Add rust-untrusted-0.9.
Date: Tue, 26 Dec 2023 06:42:37 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit 18f99321dd241c6577316d342c472a239f338b4f
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Dec 24 10:10:44 2023 +0200

    gnu: Add rust-untrusted-0.9.
    
    * gnu/packages/crates-io.scm (rust-untrusted-0.9): New variable.
    (rust-untrusted-0.7): Inherit from rust-untrusted-0.9.
    
    Change-Id: I391733e11a9ae266f32a42411f7b809d173c1362
---
 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++--------
 1 file changed, 21 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dcbf4a643b..b1067aec1d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -87450,8 +87450,28 @@ with changes and updated applied to it.")
      "This crate enables unchecked unwrapping on Option and Result types.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-untrusted-0.9
+  (package
+    (name "rust-untrusted")
+    (version "0.9.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "untrusted" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1ha7ib98vkc538x0z60gfn0fc5whqdd85mb87dvisdcaifi6vjwf"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/briansmith/untrusted";)
+    (synopsis "Zero-allocation parsing of untrusted inputs in Rust")
+    (description
+     "Safe, fast, zero-panic, zero-crashing, zero-allocation parsing of
+untrusted inputs in Rust.")
+    (license license:isc)))
+
 (define-public rust-untrusted-0.7
   (package
+    (inherit rust-untrusted-0.9)
     (name "rust-untrusted")
     (version "0.7.1")
     (source
@@ -87461,14 +87481,7 @@ with changes and updated applied to it.")
         (file-name (string-append name "-" version ".tar.gz"))
         (sha256
          (base32
-          "0jkbqaj9d3v5a91pp3wp9mffvng1nhycx6sh4qkdd9qyr62ccmm1"))))
-    (build-system cargo-build-system)
-    (home-page "https://github.com/briansmith/untrusted";)
-    (synopsis "Zero-allocation parsing of untrusted inputs in Rust")
-    (description
-     "Safe, fast, zero-panic, zero-crashing, zero-allocation parsing of
-untrusted inputs in Rust.")
-    (license license:isc)))
+          "0jkbqaj9d3v5a91pp3wp9mffvng1nhycx6sh4qkdd9qyr62ccmm1"))))))
 
 (define-public rust-untrusted-0.6
   (package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]