diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2022-07-06 12:23:17 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2022-07-06 14:00:21 +0200 |
commit | 6a246e151b3f850dc140d07032776929f6e57654 (patch) | |
tree | cfd00c0c41b2ce6ca9bb6f6bf64e567f6310ba50 | |
parent | 54e48e37d32ac41cac97279ba4e35adbb70d606c (diff) | |
download | guix-6a246e151b3f850dc140d07032776929f6e57654.tar.gz |
gnu: Add rust-kstring-2.
* gnu/packages/crates-io.scm (rust-kstring-2): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 01aaefd7d8..875eaefd23 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -30501,6 +30501,32 @@ kernel32.") (description "This package provides a kqueue interface for BSDs.") (license license:expat))) +(define-public rust-kstring-2 + (package + (name "rust-kstring") + (version "2.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "kstring" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0isp7kmk4q0qxpcd877q77ykgb3ryfbmj18djmnwv8c210sncc7c")))) + (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-kstring-1 (package (name "rust-kstring") |