summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2020-09-17 14:14:50 +0530
committerArun Isaac <arunisaac@systemreboot.net>2020-10-12 11:41:51 +0530
commit1949e24051b3afa49e87a698e001e0fa705efda7 (patch)
tree792e7baf23138fd69e95afa2e9317007895bac76
parente45472e6f27f3eff6ddcf08f5edf79b1762c776a (diff)
gnu: Add rust-ufmt-0.1.
* gnu/packages/crates-io.scm (rust-ufmt-0.1): New variable.
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5b8028280d..7accfa3c19 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27226,6 +27226,30 @@ with the Unicode character database.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-ufmt-0.1
+ (package
+ (name "rust-ufmt")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ufmt" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1844qwbmc4m69nfi6xmdcdf4fmjjvypi9rpfg3wgilvrxykwwzif"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)
+ ("rust-ufmt-macros" ,rust-ufmt-macros-0.1)
+ ("rust-ufmt-write" ,rust-ufmt-write-0.1))))
+ (home-page "https://crates.io/crates/ufmt")
+ (synopsis "Faster and panic-free alternative to @code{core::fmt}")
+ (description "This package provides a (6-40x) smaller, (2-9x) faster and
+panic-free alternative to @code{core::fmt}.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-ufmt-macros-0.1
(package
(name "rust-ufmt-macros")