summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZheng junjie <873216071@qq.com>2021-06-11 21:11:56 +0800
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-06-13 19:14:13 +0200
commitd70f78911d02b1f1aa793ec6a28a43c20e7f0c3c (patch)
tree70f6f3ea2ecaee95cb70d2f9c442ee03700bb8f2
parent7c65ae41973bb7652914593261c5734571de3732 (diff)
gnu: Add rust-smol-str-0.1.
* gnu/packages/crates-io.scm (rust-smol-str-0.1): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r--gnu/packages/crates-io.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1344823a94..c7bf87c343 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41903,6 +41903,36 @@ control on the fields.")
(description "This package provides a small and fast async runtime.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-smol-str-0.1
+ (package
+ (name "rust-smol-str")
+ (version "0.1.17")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "smol-str" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1srj7gd14cllfwh55jwmid425rz2idpvbw7ly08448r97b7gg83c"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs
+ (("rust-proptest" ,rust-proptest-0.10)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1))))
+ (home-page "https://github.com/rust-analyzer/smol_str")
+ (synopsis
+ "Small-string optimized string type with O(1) clone")
+ (description
+ "This package provides a small-string optimized string type with O(1)
+clone.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-snailquote-0.3
(package
(name "rust-snailquote")