1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2019 Ivan Petkov <ivanppetkov@gmail.com>
3 ;;; Copyright © 2019 Efraim Flashner <efraim@flashner.co.il>
5 ;;; This file is part of GNU Guix.
7 ;;; GNU Guix is free software; you can redistribute it and/or modify it
8 ;;; under the terms of the GNU General Public License as published by
9 ;;; the Free Software Foundation; either version 3 of the License, or (at
10 ;;; your option) any later version.
12 ;;; GNU Guix is distributed in the hope that it will be useful, but
13 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
14 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 ;;; GNU General Public License for more details.
17 ;;; You should have received a copy of the GNU General Public License
18 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
20 (define-module (gnu packages crates-io)
21 #:use-module (guix build-system cargo)
22 #:use-module (guix download)
23 #:use-module ((guix licenses) #:prefix license:)
24 #:use-module (guix packages))
27 ;;; Please: Try to add new module packages in alphabetic order.
30 (define-public rust-autocfg
37 (uri (crate-uri "autocfg" version))
38 (file-name (string-append name "-" version ".tar.gz"))
41 "0asl6fnc35yk5l2rxwhp25v128jgm45dp754h9z8x51b6n90w4r2"))))
42 (build-system cargo-build-system)
43 (home-page "https://github.com/cuviper/autocfg")
44 (synopsis "Automatic cfg for Rust compiler features")
45 (description "Rust library for build scripts to automatically configure
46 code based on compiler support. Code snippets are dynamically tested to see
47 if the @code{rustc} will accept them, rather than hard-coding specific version
49 (license (list license:asl2.0
52 (define-public rust-bencher
59 (uri (crate-uri "bencher" version))
60 (file-name (string-append name "-" version ".tar.gz"))
63 "1x8p2xblgqssay8cdykp5pkfc0np0jk5bs5cx4f5av097aav9zbx"))))
64 (build-system cargo-build-system)
65 (home-page "https://github.com/bluss/bencher/")
66 (synopsis "Port of the libtest benchmark runner to Rust stable")
67 (description "This package provides a port of the libtest (unstable Rust)
68 benchmark runner to Rust stable releases. Supports running benchmarks and
69 filtering based on the name. Benchmark execution works exactly the same way
70 and no more (caveat: black_box is still missing!).")
71 (license (list license:asl2.0
74 (define-public rust-bitflags
76 (name "rust-bitflags")
81 (uri (crate-uri "bitflags" version))
82 (file-name (string-append name "-" version ".tar.gz"))
85 "1zc1qb1hwsnl2d8rhzicsv9kqd5b2hwbrscrcfw5as4sfr35659x"))))
86 (build-system cargo-build-system)
87 (home-page "https://github.com/bitflags/bitflags")
88 (synopsis "Macro to generate structures which behave like bitflags")
89 (description "This package provides a macro to generate structures which
90 behave like a set of bitflags.")
91 (license (list license:asl2.0
94 (define-public rust-cfg-if
101 (uri (crate-uri "cfg-if" version))
102 (file-name (string-append name "-" version ".tar.gz"))
105 "0csygklgz3ybpr0670rkip49zh76m43ar3k7xgypkzbzrwycx1ml"))))
106 (build-system cargo-build-system)
107 (home-page "https://github.com/alexcrichton/cfg-if")
108 (synopsis "Define an item depending on parameters")
109 (description "This package provides a macro to ergonomically define an item
110 depending on a large number of #[cfg] parameters. Structured like an
111 @code{if-else} chain, the first matching branch is the item that gets emitted.")
112 (license (list license:asl2.0
115 (define-public rust-discard
117 (name "rust-discard")
122 (uri (crate-uri "discard" version))
123 (file-name (string-append name "-" version ".tar.gz"))
126 "1h67ni5bxvg95s91wgicily4ix7lcw7cq0a5gy9njrybaibhyb91"))))
127 (build-system cargo-build-system)
128 (home-page "https://github.com/Pauan/rust-discard")
129 (synopsis "Allow for intentionally leaking memory")
130 (description "There are situations where you need to intentionally leak some
131 memory but not other memory. This package provides a discard trait which allows
132 for intentionally leaking memory")
133 (license license:expat)))
135 (define-public rust-doc-comment
137 (name "rust-doc-comment")
142 (uri (crate-uri "doc-comment" version))
143 (file-name (string-append name "-" version ".tar.gz"))
146 "15rsqxgarfpb1yim9sbp9yfgj7p2dq6v51c6bq1a62paii9ylgcj"))))
147 (build-system cargo-build-system)
148 (home-page "https://github.com/GuillaumeGomez/doc-comment")
149 (synopsis "Macro to generate doc comments")
150 (description "This package provides a way to generate doc comments
152 (license license:expat)))
154 (define-public rust-dtoa
161 (uri (crate-uri "dtoa" version))
162 (file-name (string-append name "-" version ".tar.gz"))
165 "0phbm7i0dpn44gzi07683zxaicjap5064w62pidci4fhhciv8mza"))))
166 (build-system cargo-build-system)
167 (home-page "https://github.com/dtolnay/dtoa")
168 (synopsis "Fast functions for printing floating-point primitives")
169 (description "This crate provides fast functions for printing
170 floating-point primitives to an @code{io::Write}.")
171 (license (list license:asl2.0
174 (define-public rust-fallible-iterator
176 (name "rust-fallible-iterator")
181 (uri (crate-uri "fallible-iterator" version))
182 (file-name (string-append name "-" version ".tar.gz"))
185 "1xq759lsr8gqss7hva42azn3whgrbrs2sd9xpn92c5ickxm1fhs4"))))
186 (build-system cargo-build-system)
187 (home-page "https://github.com/sfackler/rust-fallible-iterator")
188 (synopsis "Fallible iterator traits")
189 (description "If the @code{std} or @code{alloc} features are enabled, this
190 crate provides implementations for @code{Box}, @code{Vec}, @code{BTreeMap}, and
191 @code{BTreeSet}. If the @code{std} feature is enabled, this crate additionally
192 provides implementations for @code{HashMap} and @code{HashSet}.")
193 (license (list license:asl2.0
196 (define-public rust-fnv
203 (uri (crate-uri "fnv" version))
204 (file-name (string-append name "-" version ".tar.gz"))
207 "1ww56bi1r5b8id3ns9j3qxbi7w5h005rzhiryy0zi9h97raqbb9g"))))
208 (build-system cargo-build-system)
209 (home-page "https://github.com/servo/rust-fnv")
210 (synopsis "implementation of the Fowler-Noll-Vo hash function")
211 (description "The @code{fnv} hash function is a custom @code{Hasher}
212 implementation that is more efficient for smaller hash keys.")
213 (license (list license:asl2.0
216 (define-public rust-fs-extra
218 (name "rust-fs-extra")
223 (uri (crate-uri "fs_extra" version))
224 (file-name (string-append name "-" version ".tar.gz"))
227 "0x6675wdhsx277k1k1235jwcv38naf20d8kwrk948ds26hh4lajz"))))
228 (build-system cargo-build-system)
229 (home-page "https://github.com/webdesus/fs_extra")
230 (synopsis "Extra filesystem methods")
231 (description "Expanding opportunities standard library @code{std::fs} and
232 @code{std::io}. Recursively copy folders with recept information about
233 process and much more.")
234 (license license:expat)))
236 (define-public rust-futures
238 (name "rust-futures")
243 (uri (crate-uri "futures" version))
244 (file-name (string-append name "-" version ".tar.gz"))
247 "0saq8ffjw1pwf1pzhw3kq1z7dfq6wpd8x93dnni6vbkc799kkp25"))))
248 (build-system cargo-build-system)
249 (home-page "https://github.com/rust-lang-nursery/futures-rs")
250 (synopsis "Implementation of zero-cost futures in Rust")
251 (description "An implementation of @code{futures} and @code{streams}
252 featuring zero allocations, composability, and iterator-like interfaces.")
253 (license (list license:asl2.0
256 (define-public rust-hex
263 (uri (crate-uri "hex" version))
264 (file-name (string-append name "-" version ".tar.gz"))
267 "0xsdcjiik5j750j67zk42qdnmm4ahirk3gmkmcqgq7qls2jjcl40"))))
268 (build-system cargo-build-system)
269 (home-page "https://github.com/KokaKiwi/rust-hex")
270 (synopsis "Encode and decode data to/from hexadecimals")
271 (description "This crate allows for encoding and decoding data into/from
272 hexadecimal representation.")
273 (license (list license:asl2.0
276 (define-public rust-itoa
283 (uri (crate-uri "itoa" version))
284 (file-name (string-append name "-" version ".tar.gz"))
287 "0zvg2d9qv3avhf3d8ggglh6fdyw8kkwqg3r4622ly5yhxnvnc4jh"))))
288 (build-system cargo-build-system)
289 (home-page "https://github.com/dtolnay/itoa")
290 (synopsis "Fast functions for printing integer primitives")
291 (description "This crate provides fast functions for printing integer
292 primitives to an @code{io::Write}.")
293 (license (list license:asl2.0
296 (define-public rust-json
303 (uri (crate-uri "json" version))
304 (file-name (string-append name "-" version ".tar.gz"))
307 "1hj8c6xj5c2aqqszi8naaflmcdbya1i9byyjrq4iybxjb4q91mq1"))))
308 (build-system cargo-build-system)
309 (home-page "https://github.com/maciejhirsz/json-rust")
310 (synopsis "JSON implementation in Rust")
311 (description "This crate provides a JSON implementation in Rust, reducing
312 friction with idiomatic Rust structs to ease interopability.")
313 (license (list license:asl2.0
316 (define-public rust-maplit
323 (uri (crate-uri "maplit" version))
324 (file-name (string-append name "-" version ".tar.gz"))
327 "0hsczmvd6zkqgzqdjp5hfyg7f339n68w83n4pxvnsszrzssbdjq8"))))
328 (build-system cargo-build-system)
329 (home-page "https://github.com/bluss/maplit")
330 (synopsis "Collection of Map macros")
331 (description "This crate provides a collection of @code{literal} macros for
332 @code{HashMap}, @code{HashSet}, @code{BTreeMap}, and @code{BTreeSet.}")
333 (license (list license:asl2.0
336 (define-public rust-matches
338 (name "rust-matches")
343 (uri (crate-uri "matches" version))
344 (file-name (string-append name "-" version ".tar.gz"))
347 "020axl4q7rk9vz90phs7f8jas4imxal9y9kxl4z4v7a6719mrz3z"))))
348 (build-system cargo-build-system)
349 (home-page "https://github.com/SimonSapin/rust-std-candidates")
350 (synopsis "Macro to evaluate whether an expression matches a pattern.")
351 (description "This package provides a macro to evaluate, as a boolean,
352 whether an expression matches a pattern.")
353 (license license:expat)))
355 (define-public rust-md5
362 (uri (crate-uri "md5" version))
363 (file-name (string-append name "-" version ".tar.gz"))
366 "17b2xm4h4cvxsdjsf3kdrzqv2za60kak961xzi5kmw6g6djcssvy"))))
367 (build-system cargo-build-system)
368 (home-page "https://github.com/stainless-steel/md5")
369 (synopsis "MD5 hash function in Rust")
370 (description "The package provides the MD5 hash function.")
371 (license (list license:asl2.0
374 (define-public rust-peeking-take-while
376 (name "rust-peeking-take-while")
381 (uri (crate-uri "peeking_take_while" version))
382 (file-name (string-append name "-" version ".tar.gz"))
385 "16bhqr6rdyrp12zv381cxaaqqd0pwysvm1q8h2ygihvypvfprc8r"))))
386 (build-system cargo-build-system)
387 (home-page "https://github.com/fitzgen/peeking_take_while")
388 (synopsis "Provides the peeking_take_while iterator adaptor method")
390 "Like @code{Iterator::take_while}, but calls the predicate on a peeked
391 value. This allows you to use @code{Iterator::by_ref} and
392 @code{Iterator::take_while} together, and still get the first value for which
393 the @code{take_while} predicate returned false after dropping the @code{by_ref}.")
394 (license (list license:asl2.0
397 (define-public rust-percent-encoding
399 (name "rust-percent-encoding")
404 (uri (crate-uri "percent-encoding" version))
405 (file-name (string-append name "-" version ".tar.gz"))
408 "0m6rkp3iy11la04p6z3492rns6n693pvmx585dvfmzzlzak2hkxs"))))
409 (build-system cargo-build-system)
410 (home-page "https://github.com/servo/rust-url/")
411 (synopsis "Percent encoding and decoding")
412 (description "This crate provides percent encoding and decoding.")
413 (license (list license:asl2.0
416 (define-public rust-pin-utils
418 (name "rust-pin-utils")
419 (version "0.1.0-alpha.4")
423 (uri (crate-uri "pin-utils" version))
424 (file-name (string-append name "-" version ".tar.gz"))
427 "11xmyx00n4m37d546by2rxb8ryxs12v55cc172i3yak1rqccd52q"))))
428 (build-system cargo-build-system)
429 (home-page "https://github.com/rust-lang-nursery/pin-utils")
430 (synopsis "Utilities for pinning")
431 (description "This crate provides utilities for pinning values on the stack.")
432 (license (list license:asl2.0
435 (define-public rust-plain
442 (uri (crate-uri "plain" version))
443 (file-name (string-append name "-" version ".tar.gz"))
446 "19n1xbxb4wa7w891268bzf6cbwq4qvdb86bik1z129qb0xnnnndl"))))
447 (build-system cargo-build-system)
448 (home-page "https://github.com/randomites/plain")
449 (synopsis "Rust library that allows reinterpreting data safely")
450 (description "This package provides a small Rust library that allows users
451 to reinterpret data of certain types safely.")
452 (license (list license:asl2.0
455 (define-public rust-pocket-resources
457 (name "rust-pocket-resources")
462 (uri (crate-uri "pocket-resources" version))
463 (file-name (string-append name "-" version ".tar.gz"))
466 "1n2i5vmi8fdbw89wm5nz1ws1z9f1qax911p6ksg4scmdg23z6df1"))))
467 (build-system cargo-build-system)
468 (home-page "https://github.com/tomaka/pocket-resources")
469 (synopsis "Include resources in your applications")
470 (description "This crate allows you to include resources in your
472 (license license:expat)))
474 (define-public rust-ppv-lite86
476 (name "rust-ppv-lite86")
481 (uri (crate-uri "ppv-lite86" version))
482 (file-name (string-append name "-" version ".tar.gz"))
485 "06snnv338w341nicfqba2jgln5dsla72ndkgrw7h1dfdb3vgkjz3"))))
486 (build-system cargo-build-system)
487 (home-page "https://github.com/cryptocorrosion/cryptocorrosion")
488 (synopsis "Implementation of the crypto-simd API for x86")
489 (description "This crate provides an implementation of the crypto-simd API
491 (license (list license:asl2.0
494 (define-public rust-proc-macro2
496 (name "rust-proc-macro2")
501 (uri (crate-uri "proc-macro2" version))
503 (string-append name "-" version ".tar.gz"))
506 "0nd71fl24sys066jrha6j7i34nfkjv44yzw8yww9742wmc8j0gfg"))))
507 (build-system cargo-build-system)
509 `(#:cargo-inputs (("rust-unicode-xid" ,rust-unicode-xid))
510 #:cargo-development-inputs (("rust-quote" ,rust-quote))))
511 (home-page "https://github.com/alexcrichton/proc-macro2")
512 (synopsis "Stable implementation of the upcoming new `proc_macro` API")
513 (description "This package provides a stable implementation of the upcoming new
514 `proc_macro` API. Comes with an option, off by default, to also reimplement itself
515 in terms of the upstream unstable API.")
517 (license (list license:asl2.0 license:expat))))
519 (define-public rust-quick-error
521 (name "rust-quick-error")
526 (uri (crate-uri "quick-error" version))
527 (file-name (string-append name "-" version ".tar.gz"))
530 "1w6kgwwv7p7zr0yyg5rb315lkk24bimywklwx7fsvsbwi10bjx4j"))))
531 (build-system cargo-build-system)
532 (home-page "http://github.com/tailhook/quick-error")
533 (synopsis "Macro which makes error types pleasant to write")
534 (description "This crate provides a macro which makes error types pleasant
536 (license (list license:asl2.0
539 (define-public rust-quote
546 (uri (crate-uri "quote" version))
548 (string-append name "-" version ".tar.gz"))
551 "1nw0klza45hf127kfyrpxsxd5jw2l6h21qxalil3hkr7bnf7kx7s"))))
552 (build-system cargo-build-system)
554 `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2))))
555 (home-page "https://github.com/dtolnay/quote")
556 (synopsis "Quasi-quoting macro quote!(...)")
557 (description "Quasi-quoting macro quote!(...)")
559 (license (list license:asl2.0 license:expat))))
561 (define-public rust-rustc-std-workspace-core
563 (name "rust-rustc-std-workspace-core")
568 (uri (crate-uri "rustc-std-workspace-core" version))
569 (file-name (string-append name "-" version ".tar.gz"))
572 "1309xhwyai9xpz128xrfjqkmnkvgjwddznmj7brbd8i8f58zamhr"))))
573 (build-system cargo-build-system)
574 (home-page "https://crates.io/crates/rustc-std-workspace-core")
575 (synopsis "Explicitly empty crate for rust-lang/rust integration")
576 (description "This crate provides an explicitly empty crate for
577 rust-lang/rust integration.")
578 (license (list license:asl2.0
581 (define-public rust-scoped-tls
583 (name "rust-scoped-tls")
588 (uri (crate-uri "scoped-tls" version))
589 (file-name (string-append name "-" version ".tar.gz"))
592 "1hj8lifzvivdb1z02lfnzkshpvk85nkgzxsy2hc0zky9wf894spa"))))
593 (build-system cargo-build-system)
594 (home-page "https://github.com/alexcrichton/scoped-tls")
595 (synopsis "Rust library providing the old standard library's scoped_thread_local")
596 (description "This crate provides a library implementation of the standard
597 library's old @code{scoped_thread_local!} macro for providing scoped access to
598 @dfn{thread local storage} (TLS) so any type can be stored into TLS.")
599 (license (list license:asl2.0
602 (define-public rust-scopeguard
604 (name "rust-scopeguard")
609 (uri (crate-uri "scopeguard" version))
610 (file-name (string-append name "-" version ".tar.gz"))
613 "03aay84r1f6w87ckbpj6cc4rnsxkxcfs13n5ynxjia0qkgjiabml"))))
614 (build-system cargo-build-system)
615 (home-page "https://github.com/bluss/scopeguard")
616 (synopsis "Scope guard which will run a closure even out of scope")
617 (description "This package provides a RAII scope guard that will run a
618 given closure when it goes out of scope, even if the code between panics
619 (assuming unwinding panic). Defines the macros @code{defer!},
620 @code{defer_on_unwind!}, @code{defer_on_success!} as shorthands for guards
621 with one of the implemented strategies.")
622 (license (list license:asl2.0
625 (define-public rust-semver-parser
627 (name "rust-semver-parser")
632 (uri (crate-uri "semver-parser" version))
633 (file-name (string-append name "-" version ".tar.gz"))
636 "1ahqhvgpzhcsd28id7xnrjv4419i9yyalhm7d7zi430qx0hi2vml"))))
637 (build-system cargo-build-system)
638 (home-page "https://github.com/steveklabnik/semver-parser")
639 (synopsis "Parsing of the semver spec")
640 (description "This package provides for parsing of the semver spec.")
641 (license (list license:asl2.0
644 (define-public rust-shlex
651 (uri (crate-uri "shlex" version))
652 (file-name (string-append name "-" version ".tar.gz"))
655 "1lmv6san7g8dv6jdfp14m7bdczq9ss7j7bgsfqyqjc3jnjfippvz"))))
656 (build-system cargo-build-system)
657 (home-page "https://github.com/comex/rust-shlex")
658 (synopsis "Split a string into shell words, like Python's shlex")
659 (description "This crate provides a method to split a string into shell
660 words, like Python's shlex.")
661 (license (list license:asl2.0
664 (define-public rust-slab
671 (uri (crate-uri "slab" version))
672 (file-name (string-append name "-" version ".tar.gz"))
675 "1y59xsa27jk84sxzswjk60xcjf8b4fm5960jwpznrrcmasyva4f1"))))
676 (build-system cargo-build-system)
677 (home-page "https://github.com/carllerche/slab")
678 (synopsis "Pre-allocated storage for a uniform data type")
679 (description "This create provides a pre-allocated storage for a uniform
681 (license license:expat)))
683 (define-public rust-spin
690 (uri (crate-uri "spin" version))
691 (file-name (string-append name "-" version ".tar.gz"))
694 "0m9clchsj0rf13bggsgvbv9haiy0f6rhvnvkpvkk8720a5pkydj4"))))
695 (build-system cargo-build-system)
696 (home-page "https://github.com/mvdnes/spin-rs.git")
697 (synopsis "Synchronization primitives based on spinning")
698 (description "This crate provides synchronization primitives based on
699 spinning. They may contain data, are usable without @code{std},and static
700 initializers are available.")
701 (license license:expat)))
703 (define-public rust-stdweb-internal-runtime
705 (name "rust-stdweb-internal-runtime")
710 (uri (crate-uri "stdweb-internal-runtime" version))
711 (file-name (string-append name "-" version ".tar.gz"))
714 "1nhpyra7glbwcpakhpj5a3d7h7kx1ynif473nzshmk226m91f8ym"))))
715 (build-system cargo-build-system)
716 (home-page "https://github.com/koute/stdweb")
717 (synopsis "Internal runtime for the @code{stdweb} crate")
718 (description "This crate provides internal runtime for the @code{stdweb}
720 (license (list license:asl2.0
723 (define-public rust-strsim
730 (uri (crate-uri "strsim" version))
731 (file-name (string-append name "-" version ".tar.gz"))
734 "1xphwhf86yxxmcpvm4mikj8ls41f6nf7gqyjm98b74mfk81h6b03"))))
735 (build-system cargo-build-system)
736 (home-page "https://github.com/dguo/strsim-rs")
737 (synopsis "Rust implementations of string similarity metrics")
738 (description "This crate includes implementations of string similarity
739 metrics. It includes Hamming, Levenshtein, OSA, Damerau-Levenshtein, Jaro,
741 (license license:expat)))
743 (define-public rust-synstructure-test-traits
745 (name "rust-synstructure-test-traits")
750 (uri (crate-uri "synstructure_test_traits" version))
751 (file-name (string-append name "-" version ".tar.gz"))
754 "1b3fs2b9kc1gy9dilaxqjbdl4z0mlrbbxjzkprdx953rif1c3q66"))))
755 (build-system cargo-build-system)
756 (home-page "https://crates.io/crates/synstructure_test_traits")
757 (synopsis "Helper test traits for synstructure doctests")
759 "This package provides helper test traits for synstructure doctests.")
760 (license license:expat)))
762 (define-public rust-typenum
764 (name "rust-typenum")
769 (uri (crate-uri "typenum" version))
770 (file-name (string-append name "-" version ".tar.gz"))
773 "0sc1jirllfhdi52z1xv9yqzxzpk6v7vadd13n7wvs1wnjipn6bb1"))))
774 (build-system cargo-build-system)
775 (home-page "https://github.com/paholg/typenum")
776 (synopsis "Rust library for type-level numbers evaluated at compile time")
777 (description "Typenum is a Rust library for type-level numbers evaluated at
778 compile time. It currently supports bits, unsigned integers, and signed
779 integers. It also provides a type-level array of type-level numbers, but its
780 implementation is incomplete.")
781 (license (list license:asl2.0
784 (define-public rust-ucd-util
786 (name "rust-ucd-util")
791 (uri (crate-uri "ucd-util" version))
792 (file-name (string-append name "-" version ".tar.gz"))
795 "0x088q5z0m09a2jqcfgsnq955y8syn1mgn35cl78qinkxm4kp6zs"))))
796 (build-system cargo-build-system)
797 (home-page "https://github.com/BurntSushi/ucd-generate")
798 (synopsis "library for working with the Unicode character database")
799 (description "This package provides a small utility library for working
800 with the Unicode character database.")
801 (license (list license:asl2.0
804 (define-public rust-unicode-width
806 (name "rust-unicode-width")
811 (uri (crate-uri "unicode-width" version))
812 (file-name (string-append name "-" version ".tar.gz"))
815 "09k5lipygardwy0660jhls08fsgknrazzivmn804gps53hiqc8w8"))))
816 (build-system cargo-build-system)
817 (home-page "https://github.com/unicode-rs/unicode-width")
818 (synopsis "Determine displayed width according to Unicode rules")
819 (description "This crate allows you to determine displayed width of
820 @code{char} and @code{str} types according to Unicode Standard Annex #11 rules.")
821 (license (list license:asl2.0
824 (define-public rust-unicode-xid
826 (name "rust-unicode-xid")
831 (uri (crate-uri "unicode-xid" version))
833 (string-append name "-" version ".tar.gz"))
836 "1z57lqh4s18rr4x0j4fw4fmp9hf9346h0kmdgqsqx0fhjr3k0wpw"))))
837 (build-system cargo-build-system)
839 "https://github.com/unicode-rs/unicode-xid")
840 (synopsis "Determine Unicode XID related properties")
841 (description "Determine whether characters have the XID_Start
842 or XID_Continue properties according to Unicode Standard Annex #31.")
844 (license (list license:asl2.0 license:expat))))
846 (define-public rust-unindent
848 (name "rust-unindent")
853 (uri (crate-uri "unindent" version))
854 (file-name (string-append name "-" version ".tar.gz"))
857 "1x21ilf78aqcq9xzb9b7i628wm10rhk0jp0chlv06rkc690l8jw3"))))
858 (build-system cargo-build-system)
859 (home-page "https://github.com/dtolnay/indoc")
860 (synopsis "Remove a column of leading whitespace from a string")
861 (description "This crate allows you to remove a column of leading
862 whitespace from a string.")
863 (license (list license:asl2.0
866 (define-public rust-wasm-bindgen-shared
868 (name "rust-wasm-bindgen-shared")
873 (uri (crate-uri "wasm-bindgen-shared" version))
874 (file-name (string-append name "-" version ".tar.gz"))
877 "08rnfhjyk0f6liv8n4rdsvhx7r02glkhcbj2lp9lcbkbfpad9hnr"))))
878 (build-system cargo-build-system)
879 (home-page "https://rustwasm.github.io/wasm-bindgen/")
880 (synopsis "Shared support between wasm-bindgen and wasm-bindgen cli")
881 (description "This package provides shared support between
882 @code{wasm-bindgen} and @code{wasm-bindgen} cli, an internal dependency.")
883 (license (list license:asl2.0