aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-08-28 16:47:54 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-08-28 16:53:09 +0300
commit6da1f9c6deb3741ca7d6e9b758aeee1677b957a7 (patch)
tree762c4ec7fe6a0422ff594d4326d6307ef99e0b4c
parent2f19d329794816bfab63f24695d3bd3d37d6cac0 (diff)
downloadguix-6da1f9c6deb3741ca7d6e9b758aeee1677b957a7.tar
guix-6da1f9c6deb3741ca7d6e9b758aeee1677b957a7.tar.gz
gnu: Add rust-untrusted.
* gnu/packages/crates-io.scm (rust-untrusted): New variable.
-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 436a84712f..1b9127b147 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1832,6 +1832,26 @@ whitespace from a string.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-untrusted
+ (package
+ (name "rust-untrusted")
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "untrusted" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1kmfykcwif6ashkwg54gcnhxj03kpba2i9vc7z5rpr0xlgvrwdk0"))))
+ (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-wasi
(package
(name "rust-wasi")