diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-12-24 10:10:44 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:56:38 +0200 |
commit | 7879eba60204c84391d300c0376b4e80482e0b26 (patch) | |
tree | d0c4616f3965997b59afa4ccd2b5101be2101a7d /gnu/packages | |
parent | 373e20a9ba4ae6a1ac79b9778938cb74ce45730e (diff) |
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
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 29 |
1 files changed, 21 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 54bec93ebc..3b5bdc3ec1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -87611,8 +87611,28 @@ with changes and updated applied to it.") "This package provides a stable alternative to @code{CoerceUnsize}.") (license (list license:expat license:asl2.0 license:zlib)))) +(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 @@ -87622,14 +87642,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 |