aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-06-15 13:01:13 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-06-16 12:47:43 +0200
commitb1796ccf971181b8907a827c07e44103956476ef (patch)
tree2eec2ac53fe39e4235457cfa66d964d960286c4d /gnu/packages/crates-io.scm
parent44c3bd8dc986c526322615b94ce915e7d1402d0d (diff)
downloadguix-b1796ccf971181b8907a827c07e44103956476ef.tar.gz
guix-b1796ccf971181b8907a827c07e44103956476ef.zip
gnu: Add rust-integer-encoding-1.
* gnu/packages/crates-io.scm (rust-integer-encoding-1): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 02c5ae820c..34679182db 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -21499,6 +21499,31 @@ data efficiently.")
that works on WASM too.")
(license license:bsd-3)))
+(define-public rust-integer-encoding-1
+ (package
+ (name "rust-integer-encoding")
+ (version "1.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "integer-encoding" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1c032xhif5d6a8nc4cak60g5ylwd6p9569122m5hm67brx2l5yhb"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-async-trait" ,rust-async-trait-0.1)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-tokio" ,rust-tokio-0.2))))
+ (home-page "https://github.com/dermesser/integer-encoding-rs")
+ (synopsis "Encoding and decoding integers to and from bytestrings")
+ (description
+ "This crate provides encoding and decoding of integers to and from
+bytestring representations.")
+ (license license:expat)))
+
(define-public rust-interpolate-name-0.2
(package
(name "rust-interpolate-name")