aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-04-03 10:26:36 +0300
committerEfraim Flashner <efraim@flashner.co.il>2022-04-03 14:07:44 +0300
commitc4031f909f0d67fa56887add01388b55e23a5a7c (patch)
tree9643ff87406349aaa78fb90461eead2f24020088 /gnu/packages
parenta83408344125cc9918ec46d7a8344388454550c6 (diff)
downloadguix-c4031f909f0d67fa56887add01388b55e23a5a7c.tar.gz
guix-c4031f909f0d67fa56887add01388b55e23a5a7c.zip
gnu: Add rust-kstring-1.
* gnu/packages/crates-io.scm (rust-kstring-1): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 43f10994f5..d03504f600 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30510,6 +30510,32 @@ kernel32.")
(description "This package provides a kqueue interface for BSDs.")
(license license:expat)))
+(define-public rust-kstring-1
+ (package
+ (name "rust-kstring")
+ (version "1.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "kstring" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1r4n9fa5scikqvl736nxghcfa6s3b07xz61w43hyzs2qb3wmd3nk"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t ; Uses unstable features.
+ #:cargo-inputs
+ (("rust-document-features" ,rust-document-features-0.2)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-static-assertions" ,rust-static-assertions-1))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-proptest" ,rust-proptest-1))))
+ (home-page "https://github.com/cobalt-org/kstring")
+ (synopsis "String optimized for map keys")
+ (description "Key String provides a Rust package optimized for map keys.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-kv-log-macro-1
(package
(name "rust-kv-log-macro")