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>
4 ;;; Copyright © 2019 Nicolas Goaziou <mail@nicolasgoaziou.fr>
5 ;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
7 ;;; This file is part of GNU Guix.
9 ;;; GNU Guix is free software; you can redistribute it and/or modify it
10 ;;; under the terms of the GNU General Public License as published by
11 ;;; the Free Software Foundation; either version 3 of the License, or (at
12 ;;; your option) any later version.
14 ;;; GNU Guix is distributed in the hope that it will be useful, but
15 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
16 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 ;;; GNU General Public License for more details.
19 ;;; You should have received a copy of the GNU General Public License
20 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
22 (define-module (gnu packages crates-io)
23 #:use-module (guix build-system cargo)
24 #:use-module (guix download)
25 #:use-module ((guix licenses) #:prefix license:)
26 #:use-module (guix packages)
27 #:use-module (gnu packages pkg-config))
30 ;;; Please: Try to add new module packages in alphabetic order.
33 (define-public rust-antidote
35 (name "rust-antidote")
40 (uri (crate-uri "antidote" version))
41 (file-name (string-append name "-" version ".tar.gz"))
44 "19g2sw2qa2ibnh4x7j1snk46593jgx6y7rnvva496ynq61af5z9l"))))
45 (build-system cargo-build-system)
46 (home-page "https://github.com/sfackler/rust-antidote")
47 (synopsis "Poison-free Mutex and RwLock types")
49 "These types expose identical APIs to the standard library @code{Mutex} and
50 @code{RwLock} except that they do not return @code{PoisonError}s.")
51 (license (list license:asl2.0
54 (define-public rust-atty
61 (uri (crate-uri "atty" version))
62 (file-name (string-append name "-" version ".tar.gz"))
65 "140sswp1bwqwc4zk80bxkbnfb3g936hgrb77g9g0k1zcld3wc0qq"))))
66 (build-system cargo-build-system)
69 (("rust-libc" ,rust-libc)
70 ("rust-winapi" ,rust-winapi))
71 #:tests? #f)) ; tests fail in our sandbox
72 (home-page "https://github.com/softprops/atty")
73 (synopsis "A simple interface for querying atty")
75 "This package provides a simple interface for querying atty.")
76 (license license:expat)))
78 (define-public rust-autocfg
85 (uri (crate-uri "autocfg" version))
86 (file-name (string-append name "-" version ".tar.gz"))
89 "0asl6fnc35yk5l2rxwhp25v128jgm45dp754h9z8x51b6n90w4r2"))))
90 (build-system cargo-build-system)
91 (home-page "https://github.com/cuviper/autocfg")
92 (synopsis "Automatic cfg for Rust compiler features")
93 (description "Rust library for build scripts to automatically configure
94 code based on compiler support. Code snippets are dynamically tested to see
95 if the @code{rustc} will accept them, rather than hard-coding specific version
97 (license (list license:asl2.0
100 (define-public rust-bencher
102 (name "rust-bencher")
107 (uri (crate-uri "bencher" version))
108 (file-name (string-append name "-" version ".tar.gz"))
111 "1x8p2xblgqssay8cdykp5pkfc0np0jk5bs5cx4f5av097aav9zbx"))))
112 (build-system cargo-build-system)
113 (home-page "https://github.com/bluss/bencher/")
114 (synopsis "Port of the libtest benchmark runner to Rust stable")
115 (description "This package provides a port of the libtest (unstable Rust)
116 benchmark runner to Rust stable releases. Supports running benchmarks and
117 filtering based on the name. Benchmark execution works exactly the same way
118 and no more (caveat: black_box is still missing!).")
119 (license (list license:asl2.0
122 (define-public rust-bitflags
124 (name "rust-bitflags")
129 (uri (crate-uri "bitflags" version))
130 (file-name (string-append name "-" version ".tar.gz"))
133 "1zc1qb1hwsnl2d8rhzicsv9kqd5b2hwbrscrcfw5as4sfr35659x"))))
134 (build-system cargo-build-system)
135 (home-page "https://github.com/bitflags/bitflags")
136 (synopsis "Macro to generate structures which behave like bitflags")
137 (description "This package provides a macro to generate structures which
138 behave like a set of bitflags.")
139 (license (list license:asl2.0
142 (define-public rust-blas-sys
144 (name "rust-blas-sys")
149 (uri (crate-uri "blas-sys" version))
150 (file-name (string-append name "-" version ".tar.gz"))
153 "0h14zjycwc76v15h8qll9z1xiryvmpvsb5gam97pqpdjrrwv5c8k"))))
154 (build-system cargo-build-system)
156 `(#:cargo-inputs (("rust-libc" ,rust-libc))))
157 (home-page "https://github.com/blas-lapack-rs/blas-sys")
158 (synopsis "Bindings to BLAS (Fortran)")
160 "Ths package provides bindings to BLAS (Fortran).")
161 (license (list license:asl2.0
164 (define-public rust-cblas-sys
166 (name "rust-cblas-sys")
171 (uri (crate-uri "cblas-sys" version))
172 (file-name (string-append name "-" version ".tar.gz"))
175 "0rgsn3klhhh09d8qf3b87zl4rwk93l2g0qzh9hhb0lff5kcfrzmn"))))
176 (build-system cargo-build-system)
178 `(#:cargo-inputs (("rust-libc" ,rust-libc))))
179 (home-page "https://github.com/blas-lapack-rs/cblas-sys")
180 (synopsis "Bindings to CBLAS (C)")
182 "The package provides bindings to CBLAS (C).")
183 (license (list license:asl2.0
186 (define-public rust-cfg-if
193 (uri (crate-uri "cfg-if" version))
194 (file-name (string-append name "-" version ".tar.gz"))
197 "0csygklgz3ybpr0670rkip49zh76m43ar3k7xgypkzbzrwycx1ml"))))
198 (build-system cargo-build-system)
199 (home-page "https://github.com/alexcrichton/cfg-if")
200 (synopsis "Define an item depending on parameters")
201 (description "This package provides a macro to ergonomically define an item
202 depending on a large number of #[cfg] parameters. Structured like an
203 @code{if-else} chain, the first matching branch is the item that gets emitted.")
204 (license (list license:asl2.0
207 (define-public rust-clicolors-control
209 (name "rust-clicolors-control")
214 (uri (crate-uri "clicolors-control" version))
215 (file-name (string-append name "-" version ".tar.gz"))
218 "1y80cgarxhrd1bz5yjm81r444v6flvy36aaxrrsac0yhfd6gvavk"))))
219 (build-system cargo-build-system)
222 (("rust-atty" ,rust-atty)
223 ("rust-lazy-static" ,rust-lazy-static)
224 ("rust-libc" ,rust-libc)
225 ("rust-winapi" ,rust-winapi))))
226 (home-page "https://github.com/mitsuhiko/clicolors-control")
227 (synopsis "Common utility library to control CLI colorization")
229 "This package provides a common utility library to control CLI
231 (license license:expat)))
233 (define-public rust-cloudabi
235 (name "rust-cloudabi")
240 (uri (crate-uri "cloudabi" version))
241 (file-name (string-append name "-" version ".tar.gz"))
244 "0kxcg83jlihy0phnd2g8c2c303px3l2p3pkjz357ll6llnd5pz6x"))))
245 (build-system cargo-build-system)
248 (("rust-bitflags" ,rust-bitflags))))
249 (home-page "https://nuxi.nl/cloudabi/")
250 (synopsis "Low level interface to CloudABI")
252 "Low level interface to CloudABI. Contains all syscalls and related types.")
253 (license license:bsd-2)))
255 (define-public rust-constant-time-eq
257 (name "rust-constant-time-eq")
262 (uri (crate-uri "constant_time_eq" version))
263 (file-name (string-append name "-" version ".tar.gz"))
266 "083icpr9xb72rrdxw3p4068dcspn6ai22jy7rhl2a8grfz448nlr"))))
267 (build-system cargo-build-system)
268 (home-page "https://crates.io/crates/constant_time_eq")
270 "Compares two equal-sized byte strings in constant time")
272 "This package compares two equal-sized byte strings in constant time.
273 It is inspired by the Linux kernel's @code{crypto_memneq}.")
274 (license license:cc0)))
276 (define-public rust-core-foundation-sys
278 (name "rust-core-foundation-sys")
283 (uri (crate-uri "core-foundation-sys" version))
284 (file-name (string-append name "-" version ".tar.gz"))
287 "0fzsw1j9g1x598yhwklg59l15hwzc0pyvs01w9fg2kin4598mjp7"))))
288 (build-system cargo-build-system)
289 (home-page "https://github.com/servo/core-foundation-rs")
290 (synopsis "Bindings to Core Foundation for OS X")
292 "Bindings to Core Foundation for OS X.")
293 (license (list license:asl2.0
296 (define-public rust-data-encoding
298 (name "rust-data-encoding")
303 (uri (crate-uri "data-encoding" version))
304 (file-name (string-append name "-" version ".tar.gz"))
307 "15xd6afhsjl08285piwczrafmckpp8i29padj8v12xhahshprx7l"))))
308 (build-system cargo-build-system)
309 (home-page "https://github.com/ia0/data-encoding")
310 (synopsis "Efficient and customizable data-encoding functions")
312 "This library provides encodings for many different common cases, including
313 hexadecimal, bas32, and base64.")
314 (license license:expat)))
316 (define-public rust-defmac
323 (uri (crate-uri "defmac" version))
324 (file-name (string-append name "-" version ".tar.gz"))
327 "01ff3jdmcc5waffkwllndnx5hsn414r7x1rq4ib73n7awsyzxkxv"))))
328 (build-system cargo-build-system)
329 (home-page "https://github.com/bluss/defmac")
330 (synopsis "Macro to define lambda-like macros inline")
331 (description "A macro to define lambda-like macros inline.")
332 (license (list license:asl2.0
335 (define-public rust-defmac-0.1
337 (inherit rust-defmac)
343 (uri (crate-uri "defmac" version))
344 (file-name (string-append name "-" version ".tar.gz"))
347 "17giv0n0n1r64z0dahfvkjy3ys517jxyhs8sd9lmgvcljpjyryxa"))))))
349 (define-public rust-discard
351 (name "rust-discard")
356 (uri (crate-uri "discard" version))
357 (file-name (string-append name "-" version ".tar.gz"))
360 "1h67ni5bxvg95s91wgicily4ix7lcw7cq0a5gy9njrybaibhyb91"))))
361 (build-system cargo-build-system)
362 (home-page "https://github.com/Pauan/rust-discard")
363 (synopsis "Allow for intentionally leaking memory")
364 (description "There are situations where you need to intentionally leak some
365 memory but not other memory. This package provides a discard trait which allows
366 for intentionally leaking memory")
367 (license license:expat)))
369 (define-public rust-doc-comment
371 (name "rust-doc-comment")
376 (uri (crate-uri "doc-comment" version))
377 (file-name (string-append name "-" version ".tar.gz"))
380 "15rsqxgarfpb1yim9sbp9yfgj7p2dq6v51c6bq1a62paii9ylgcj"))))
381 (build-system cargo-build-system)
382 (home-page "https://github.com/GuillaumeGomez/doc-comment")
383 (synopsis "Macro to generate doc comments")
384 (description "This package provides a way to generate doc comments
386 (license license:expat)))
388 (define-public rust-dtoa
395 (uri (crate-uri "dtoa" version))
396 (file-name (string-append name "-" version ".tar.gz"))
399 "0phbm7i0dpn44gzi07683zxaicjap5064w62pidci4fhhciv8mza"))))
400 (build-system cargo-build-system)
401 (home-page "https://github.com/dtolnay/dtoa")
402 (synopsis "Fast functions for printing floating-point primitives")
403 (description "This crate provides fast functions for printing
404 floating-point primitives to an @code{io::Write}.")
405 (license (list license:asl2.0
408 (define-public rust-fallible-iterator
410 (name "rust-fallible-iterator")
415 (uri (crate-uri "fallible-iterator" version))
416 (file-name (string-append name "-" version ".tar.gz"))
419 "1xq759lsr8gqss7hva42azn3whgrbrs2sd9xpn92c5ickxm1fhs4"))))
420 (build-system cargo-build-system)
421 (home-page "https://github.com/sfackler/rust-fallible-iterator")
422 (synopsis "Fallible iterator traits")
423 (description "If the @code{std} or @code{alloc} features are enabled, this
424 crate provides implementations for @code{Box}, @code{Vec}, @code{BTreeMap}, and
425 @code{BTreeSet}. If the @code{std} feature is enabled, this crate additionally
426 provides implementations for @code{HashMap} and @code{HashSet}.")
427 (license (list license:asl2.0
430 (define-public rust-findshlibs
432 (name "rust-findshlibs")
437 (uri (crate-uri "findshlibs" version))
438 (file-name (string-append name "-" version ".tar.gz"))
441 "1n2vagn0q5yim32hxkwi1cjgp3yn1dm45p7z8nw6lapywihhs9mi"))))
442 (build-system cargo-build-system)
445 (("rust-lazy-static" ,rust-lazy-static)
446 ("rust-libc" ,rust-libc))))
447 (home-page "https://github.com/gimli-rs/findshlibs")
448 (synopsis "Find the set of shared libraries loaded in the current process")
450 "Find the set of shared libraries loaded in the current process with a
451 cross platform API.")
452 (license (list license:asl2.0
455 (define-public rust-fixedbitset
457 (name "rust-fixedbitset")
462 (uri (crate-uri "fixedbitset" version))
463 (file-name (string-append name "-" version ".tar.gz"))
466 "0czam11mi80dbyhf4rd4lz0ihcf7vkfchrdcrn45wbs0h40dxm46"))))
467 (build-system cargo-build-system)
468 (home-page "https://github.com/bluss/fixedbitset")
469 (synopsis "FixedBitSet is a simple bitset collection")
470 (description "FixedBitSet is a simple bitset collection.")
471 (license (list license:asl2.0
474 (define-public rust-fnv
481 (uri (crate-uri "fnv" version))
482 (file-name (string-append name "-" version ".tar.gz"))
485 "1ww56bi1r5b8id3ns9j3qxbi7w5h005rzhiryy0zi9h97raqbb9g"))))
486 (build-system cargo-build-system)
487 (home-page "https://github.com/servo/rust-fnv")
488 (synopsis "implementation of the Fowler-Noll-Vo hash function")
489 (description "The @code{fnv} hash function is a custom @code{Hasher}
490 implementation that is more efficient for smaller hash keys.")
491 (license (list license:asl2.0
494 (define-public rust-foreign-types-shared
496 (name "rust-foreign-types-shared")
501 (uri (crate-uri "foreign-types-shared" version))
502 (file-name (string-append name "-" version ".tar.gz"))
505 "0kanxlif1vp0ffh2r9l610jqbkmb3183yqykxq1z5w1vay2rn7y6"))))
506 (build-system cargo-build-system)
507 (home-page "https://github.com/sfackler/foreign-types")
508 (synopsis "An internal crate used by foreign-types")
510 "An internal crate used by foreign-types.")
511 (license (list license:asl2.0
514 (define-public rust-fs-extra
516 (name "rust-fs-extra")
521 (uri (crate-uri "fs_extra" version))
522 (file-name (string-append name "-" version ".tar.gz"))
525 "0x6675wdhsx277k1k1235jwcv38naf20d8kwrk948ds26hh4lajz"))))
526 (build-system cargo-build-system)
527 (home-page "https://github.com/webdesus/fs_extra")
528 (synopsis "Extra filesystem methods")
529 (description "Expanding opportunities standard library @code{std::fs} and
530 @code{std::io}. Recursively copy folders with recept information about
531 process and much more.")
532 (license license:expat)))
534 (define-public rust-fuchsia-cprng
536 (name "rust-fuchsia-cprng")
541 (uri (crate-uri "fuchsia-cprng" version))
542 (file-name (string-append name "-" version ".tar.gz"))
545 "1fnkqrbz7ixxzsb04bsz9p0zzazanma8znfdqjvh39n14vapfvx0"))))
546 (build-system cargo-build-system)
548 `(#:tests? #f)) ; tests require zircon
549 (home-page "https://fuchsia.googlesource.com/fuchsia/+/master/garnet/public/rust/fuchsia-cprng")
550 (synopsis "Fuchsia cryptographically secure pseudorandom number generator")
551 (description "Rust crate for the Fuchsia cryptographically secure
552 pseudorandom number generator")
553 (license license:bsd-3)))
555 (define-public rust-fuchsia-zircon
557 (name "rust-fuchsia-zircon")
562 (uri (crate-uri "fuchsia-zircon" version))
563 (file-name (string-append name "-" version ".tar.gz"))
566 "10jxc5ks1x06gpd0xg51kcjrxr35nj6qhx2zlc5n7bmskv3675rf"))))
567 (build-system cargo-build-system)
570 (("rust-bitflags" ,rust-bitflags)
571 ("rust-fuchsia-zircon-sys" ,rust-fuchsia-zircon-sys))
572 #:tests? #f)) ; tests require zircon
573 (home-page "https://fuchsia.googlesource.com/garnet/")
574 (synopsis "Rust bindings for the Zircon kernel")
575 (description "Rust bindings for the Zircon kernel.")
576 (license license:bsd-3)))
578 (define-public rust-fuchsia-zircon-sys
580 (name "rust-fuchsia-zircon-sys")
585 (uri (crate-uri "fuchsia-zircon-sys" version))
586 (file-name (string-append name "-" version ".tar.gz"))
589 "19zp2085qsyq2bh1gvcxq1lb8w6v6jj9kbdkhpdjrl95fypakjix"))))
590 (build-system cargo-build-system)
592 `(#:tests? #f)) ; tests require zircon
593 (home-page "https://fuchsia.googlesource.com/garnet/")
594 (synopsis "Low-level Rust bindings for the Zircon kernel")
595 (description "Low-level Rust bindings for the Zircon kernel.")
596 (license license:bsd-3)))
598 (define-public rust-futures
600 (name "rust-futures")
605 (uri (crate-uri "futures" version))
606 (file-name (string-append name "-" version ".tar.gz"))
609 "0saq8ffjw1pwf1pzhw3kq1z7dfq6wpd8x93dnni6vbkc799kkp25"))))
610 (build-system cargo-build-system)
611 (home-page "https://github.com/rust-lang-nursery/futures-rs")
612 (synopsis "Implementation of zero-cost futures in Rust")
613 (description "An implementation of @code{futures} and @code{streams}
614 featuring zero allocations, composability, and iterator-like interfaces.")
615 (license (list license:asl2.0
618 (define-public rust-futures-cpupool
620 (name "rust-futures-cpupool")
625 (uri (crate-uri "futures-cpupool" version))
626 (file-name (string-append name "-" version ".tar.gz"))
629 "1r32456gpblzfvnkf60545v8acqk7gh5zhyhi1jn669k9gicv45b"))))
630 (build-system cargo-build-system)
633 (("rust-futures" ,rust-futures)
634 ("rust-num-cpus" ,rust-num-cpus))))
635 (home-page "https://github.com/alexcrichton/futures-rs")
636 (synopsis "Implementation of thread pools which hand out futures")
638 "An implementation of thread pools which hand out futures to the results of
639 the computation on the threads themselves.")
640 (license (list license:asl2.0
643 (define-public rust-futures-io-preview
645 (name "rust-futures-io-preview")
646 (version "0.3.0-alpha.17")
650 (uri (crate-uri "futures-io-preview" version))
651 (file-name (string-append name "-" version ".tar.gz"))
654 "0fhvwhdb8ywjjbfng0ra1r8yyc9yzpyxg9sv3spb3f7w0lk40bh8"))))
655 (build-system cargo-build-system)
656 (home-page "https://rust-lang-nursery.github.io/futures-rs/")
657 (synopsis "Async read and write traits for the futures library")
658 (description "This crate provides the @code{AsyncRead} and
659 @code{AsyncWrite} traits for the @code{futures-rs} library.")
660 (license (list license:asl2.0
663 (define-public rust-heapsize
665 (name "rust-heapsize")
670 (uri (crate-uri "heapsize" version))
671 (file-name (string-append name "-" version ".tar.gz"))
674 "0q94q9ppqjgrw71swiyia4hgby2cz6dldp7ij57nkvhd6zmfcy8n"))))
675 (build-system cargo-build-system)
677 `(#:cargo-inputs (("rust-winapi" ,rust-winapi))
678 ;; Tests assume rust is built with jemalloc.
679 ;; https://github.com/servo/heapsize/issues/74
680 #:cargo-test-flags '("--features" "flexible-tests")))
681 (home-page "https://github.com/servo/heapsize")
682 (synopsis "Measure the total runtime size of an object on the heap")
684 "Infrastructure for measuring the total runtime size of an object on the
686 (license (list license:asl2.0
689 (define-public rust-heapsize-0.3
691 (inherit rust-heapsize)
692 (name "rust-heapsize")
697 (uri (crate-uri "heapsize" version))
698 (file-name (string-append name "-" version ".tar.gz"))
701 "0dmwc37vgsdjzk10443dj4f23439i9gch28jcwzmry3chrwx8v2m"))))
703 `(#:cargo-inputs (("rust-kernel32-sys" ,rust-kernel32-sys))
704 #:tests? #f)))) ;; No flexible-tests feature flags on this release.
706 ;; This package makes use of removed features
707 (define-public rust-heapsize-plugin
709 (name "rust-heapsize-plugin")
714 (uri (crate-uri "heapsize_plugin" version))
715 (file-name (string-append name "-" version ".tar.gz"))
718 "1i72isf699q9jl167g2kg4xd6h3cd05rc79zaph58aqjy0g0m9y9"))))
719 (build-system cargo-build-system)
721 `(#:cargo-development-inputs (("rust-heapsize" ,rust-heapsize-0.3))
723 (modify-phases %standard-phases
724 (add-after 'unpack 'fix-Cargo-toml
726 (substitute* "Cargo.toml"
727 (("path = \"..\", ") ""))
729 (home-page "https://github.com/servo/heapsize")
730 (synopsis "Measure runtime size of an object on the heap")
732 "This package automatically generates infrastructure for measuring the
733 total runtime size of an object on the heap")
734 (properties `((hidden? . #t)))
735 (license license:mpl2.0)))
737 (define-public rust-hex
744 (uri (crate-uri "hex" version))
745 (file-name (string-append name "-" version ".tar.gz"))
748 "0xsdcjiik5j750j67zk42qdnmm4ahirk3gmkmcqgq7qls2jjcl40"))))
749 (build-system cargo-build-system)
750 (home-page "https://github.com/KokaKiwi/rust-hex")
751 (synopsis "Encode and decode data to/from hexadecimals")
752 (description "This crate allows for encoding and decoding data into/from
753 hexadecimal representation.")
754 (license (list license:asl2.0
757 (define-public rust-hostname
759 (name "rust-hostname")
764 (uri (crate-uri "hostname" version))
765 (file-name (string-append name "-" version ".tar.gz"))
768 "0kprf862qaa7lwdms6aw7f3275h0j2rwhs9nz5784pm8hdmb9ki1"))))
769 (build-system cargo-build-system)
772 (("rust-libc" ,rust-libc)
773 ("rust-winutil" ,rust-winutil))))
774 (home-page "https://github.com/fengcen/hostname")
775 (synopsis "Get hostname for Rust")
777 "Get hostname for Rust.")
778 (license license:expat)))
780 (define-public rust-iovec
787 (uri (crate-uri "iovec" version))
788 (file-name (string-append name "-" version ".tar.gz"))
791 "025vi072m22299z3fg73qid188z2iip7k41ba6v5v5yhwwby9rnv"))))
792 (build-system cargo-build-system)
795 (("rust-libc" ,rust-libc)
796 ("rust-winapi" ,rust-winapi-0.2))))
797 (home-page "https://github.com/carllerche/iovec")
798 (synopsis "Portable buffer type for scatter/gather I/O operations")
800 "Portable buffer type for scatter/gather I/O operations.")
801 (license (list license:asl2.0
804 (define-public rust-itoa
811 (uri (crate-uri "itoa" version))
812 (file-name (string-append name "-" version ".tar.gz"))
815 "0zvg2d9qv3avhf3d8ggglh6fdyw8kkwqg3r4622ly5yhxnvnc4jh"))))
816 (build-system cargo-build-system)
817 (home-page "https://github.com/dtolnay/itoa")
818 (synopsis "Fast functions for printing integer primitives")
819 (description "This crate provides fast functions for printing integer
820 primitives to an @code{io::Write}.")
821 (license (list license:asl2.0
824 (define-public rust-json
831 (uri (crate-uri "json" version))
832 (file-name (string-append name "-" version ".tar.gz"))
835 "1hj8c6xj5c2aqqszi8naaflmcdbya1i9byyjrq4iybxjb4q91mq1"))))
836 (build-system cargo-build-system)
837 (home-page "https://github.com/maciejhirsz/json-rust")
838 (synopsis "JSON implementation in Rust")
839 (description "This crate provides a JSON implementation in Rust, reducing
840 friction with idiomatic Rust structs to ease interopability.")
841 (license (list license:asl2.0
844 (define-public rust-kernel32-sys
846 (name "rust-kernel32-sys")
851 (uri (crate-uri "kernel32-sys" version))
852 (file-name (string-append name "-" version ".tar.gz"))
855 "1389av0601a9yz8dvx5zha9vmkd6ik7ax0idpb032d28555n41vm"))))
856 (build-system cargo-build-system)
859 (("rust-winapi" ,rust-winapi-0.2)
860 ("rust-winapi-build" ,rust-winapi-build))
862 (modify-phases %standard-phases
863 (add-after 'unpack 'fix-Cargo-toml
865 (substitute* "Cargo.toml"
866 ((", path =.* }") "}\n"))
868 (home-page "https://github.com/retep998/winapi-rs")
869 (synopsis "Function definitions for the Windows API library kernel32")
870 (description "Contains function definitions for the Windows API library
872 (license license:expat)))
874 (define-public rust-language-tags
876 (name "rust-language-tags")
881 (uri (crate-uri "language-tags" version))
882 (file-name (string-append name "-" version ".tar.gz"))
885 "16hrjdpa827carq5x4b8zhas24d8kg4s16m6nmmn1kb7cr5qh7d9"))))
886 (build-system cargo-build-system)
889 (("rust-heapsize" ,rust-heapsize-0.3))
890 #:cargo-development-inputs
891 (("rust-heapsize-plugin" ,rust-heapsize-plugin))))
892 (home-page "https://github.com/pyfisch/rust-language-tags")
893 (synopsis "Language tags for Rust")
895 "Language tags can be used identify human languages, scripts e.g. Latin
896 script, countries and other regions. They are commonly used in HTML and HTTP
897 @code{Content-Language} and @code{Accept-Language} header fields. This package
898 currently supports parsing (fully conformant parser), formatting and comparing
900 (license license:expat)))
902 (define-public rust-lazy-static
904 (name "rust-lazy-static")
909 (uri (crate-uri "lazy_static" version))
910 (file-name (string-append name "-" version ".tar.gz"))
913 "052ac27w189hrf1j3hz7sga46rp84zl2hqnzyihxv78mgzr2jmxw"))))
914 (build-system cargo-build-system)
916 `(#:cargo-inputs (("rust-spin" ,rust-spin))))
917 (home-page "https://github.com/rust-lang-nursery/lazy-static.rs")
918 (synopsis "Macro for declaring lazily evaluated statics in Rust")
920 "This package provides a macro for declaring lazily evaluated statics in
921 Rust. Using this macro, it is possible to have @code{static}s that require code
922 to be executed at runtime in order to be initialized. This includes anything
923 requiring heap allocations, like vectors or hash maps, as well as anything that
924 requires non-const function calls to be computed.")
925 (license (list license:asl2.0
928 (define-public rust-libc
935 (uri (crate-uri "libc" version))
937 (string-append name "-" version ".tar.gz"))
940 "1fh69kpjg8hqff36kdczx7sax98gk4qs4ws1dwvjz0rgip0d5z1l"))))
941 (build-system cargo-build-system)
944 (("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core))))
945 (home-page "https://github.com/rust-lang/libc")
946 (synopsis "Raw FFI bindings to platform libraries like libc")
948 "libc provides all of the definitions necessary to easily
949 interoperate with C code (or \"C-like\" code) on each of the platforms
950 that Rust supports. This includes type definitions (e.g., c_int),
951 constants (e.g., EINVAL) as well as function headers (e.g., malloc).
953 This crate exports all underlying platform types, functions, and
954 constants under the crate root, so all items are accessible as
955 @samp{libc::foo}. The types and values of all the exported APIs match
956 the platform that libc is compiled for.")
957 (license (list license:expat
960 (define-public rust-maplit
967 (uri (crate-uri "maplit" version))
968 (file-name (string-append name "-" version ".tar.gz"))
971 "0hsczmvd6zkqgzqdjp5hfyg7f339n68w83n4pxvnsszrzssbdjq8"))))
972 (build-system cargo-build-system)
973 (home-page "https://github.com/bluss/maplit")
974 (synopsis "Collection of Map macros")
975 (description "This crate provides a collection of @code{literal} macros for
976 @code{HashMap}, @code{HashSet}, @code{BTreeMap}, and @code{BTreeSet.}")
977 (license (list license:asl2.0
980 (define-public rust-matches
982 (name "rust-matches")
987 (uri (crate-uri "matches" version))
988 (file-name (string-append name "-" version ".tar.gz"))
991 "020axl4q7rk9vz90phs7f8jas4imxal9y9kxl4z4v7a6719mrz3z"))))
992 (build-system cargo-build-system)
993 (home-page "https://github.com/SimonSapin/rust-std-candidates")
994 (synopsis "Macro to evaluate whether an expression matches a pattern.")
995 (description "This package provides a macro to evaluate, as a boolean,
996 whether an expression matches a pattern.")
997 (license license:expat)))
999 (define-public rust-md5
1006 (uri (crate-uri "md5" version))
1007 (file-name (string-append name "-" version ".tar.gz"))
1010 "17b2xm4h4cvxsdjsf3kdrzqv2za60kak961xzi5kmw6g6djcssvy"))))
1011 (build-system cargo-build-system)
1012 (home-page "https://github.com/stainless-steel/md5")
1013 (synopsis "MD5 hash function in Rust")
1014 (description "The package provides the MD5 hash function.")
1015 (license (list license:asl2.0
1018 (define-public rust-mime
1025 (uri (crate-uri "mime" version))
1026 (file-name (string-append name "-" version ".tar.gz"))
1029 "09clbyvdkwflp8anwjhqdib0sw8191gphcchdp80nc8ayhhwl9ry"))))
1030 (build-system cargo-build-system)
1033 (("rust-unicase" ,rust-unicase))))
1034 (home-page "https://github.com/hyperium/mime")
1035 (synopsis "Strongly Typed Mimes")
1037 "Support MIME (HTTP Media Types) as strong types in Rust.")
1038 (license (list license:asl2.0
1041 (define-public rust-modifier
1043 (name "rust-modifier")
1048 (uri (crate-uri "modifier" version))
1049 (file-name (string-append name "-" version ".tar.gz"))
1052 "0n3fmgli1nsskl0whrfzm1gk0rmwwl6pw1q4nb9sqqmn5h8wkxa1"))))
1053 (build-system cargo-build-system)
1054 (home-page "https://github.com/reem/rust-modifier")
1056 "Chaining APIs for both self -> Self and &mut self methods.")
1058 "Chaining APIs for both self -> Self and &mut self methods.")
1059 (license license:expat)))
1061 (define-public rust-net2
1068 (uri (crate-uri "net2" version))
1069 (file-name (string-append name "-" version ".tar.gz"))
1072 "126g3fgfxp06zimc1l9iyxnn9cif1hjsg7sd81nlls5nnyghsma2"))))
1073 (build-system cargo-build-system)
1076 (("rust-cfg-if" ,rust-cfg-if)
1077 ("rust-libc" ,rust-libc)
1078 ("rust-winapi" ,rust-winapi))))
1079 (home-page "https://github.com/rust-lang-nursery/net2-rs")
1080 (synopsis "Extensions to the standard library's networking types")
1082 "This library contains extensions to the standard library's networking
1083 types as proposed in RFC 1158.")
1084 (license (list license:asl2.0
1087 (define-public rust-nodrop
1089 (name "rust-nodrop")
1094 (uri (crate-uri "nodrop" version))
1095 (file-name (string-append name "-" version ".tar.gz"))
1098 "0if9ifn6rvar5jirx4b3qh4sl5kjkmcifycvzhxa9j3crkfng5ig"))))
1099 (build-system cargo-build-system)
1102 (("rust-nodrop-union" ,rust-nodrop-union))))
1103 (home-page "https://github.com/bluss/arrayvec")
1104 (synopsis "Wrapper type to inhibit drop (destructor)")
1105 (description "This package provides a wrapper type to inhibit drop
1106 (destructor). Use @code{std::mem::ManuallyDrop} instead!")
1107 (license (list license:asl2.0
1110 ;; This package requires features which are unavailable
1111 ;; on the stable releases of Rust.
1112 (define-public rust-nodrop-union
1114 (name "rust-nodrop-union")
1119 (uri (crate-uri "nodrop-union" version))
1120 (file-name (string-append name "-" version ".tar.gz"))
1123 "0jsnkdn9l8jlmb9h4wssi76sxnyxwnyi00p6y1p2gdq7c1gdw2b7"))))
1124 (build-system cargo-build-system)
1125 (home-page "https://github.com/bluss/arrayvec")
1126 (synopsis "Wrapper type to inhibit drop (destructor)")
1127 (description "This package provides a wrapper type to inhibit drop
1128 (destructor). Implementation crate for nodrop, the untagged unions
1129 implementation (which is unstable / requires nightly).")
1130 (properties '((hidden? . #t)))
1131 (license (list license:asl2.0
1134 (define-public rust-num-cpus
1136 (name "rust-num-cpus")
1141 (uri (crate-uri "num_cpus" version))
1142 (file-name (string-append name "-" version ".tar.gz"))
1145 "0wrj3zvj6h3q26sqj9zxpd59frjb54n7jhjwf307clq31ic47vxw"))))
1146 (build-system cargo-build-system)
1149 (("rust-libc" ,rust-libc))
1150 #:cargo-development-inputs
1151 (("rust-doc-comment" ,rust-doc-comment))))
1152 (home-page "https://github.com/seanmonstar/num_cpus")
1153 (synopsis "Get the number of CPUs on a machine")
1155 "Get the number of CPUs on a machine.")
1156 (license (list license:asl2.0
1159 (define-public rust-num-integer
1161 (name "rust-num-integer")
1166 (uri (crate-uri "num-integer" version))
1168 (string-append name "-" version ".tar.gz"))
1171 "02dwjjpfbi16c71fq689s4sw3ih52cvfzr5z5gs6qpr5z0g58pmq"))))
1172 (build-system cargo-build-system)
1175 (("rust-autocfg" ,rust-autocfg)
1176 ("rust-num-traits" ,rust-num-traits))))
1177 (home-page "https://github.com/rust-num/num-integer")
1178 (synopsis "Integer traits and functions")
1179 (description "Integer traits and functions.")
1181 (license (list license:asl2.0
1184 (define-public rust-num-iter
1186 (name "rust-num-iter")
1191 (uri (crate-uri "num-iter" version))
1192 (file-name (string-append name "-" version ".tar.gz"))
1195 "0bhk2qbr3261r6zvfc58lz4spfqjhvdripxgz5mks5rd85r55gbn"))))
1196 (build-system cargo-build-system)
1199 (("rust-num-integer" ,rust-num-integer)
1200 ("rust-num-traits" ,rust-num-traits))
1201 #:cargo-development-inputs
1202 (("rust-autocfg" ,rust-autocfg))))
1203 (home-page "https://github.com/rust-num/num-iter")
1204 (synopsis "External iterators for generic mathematics")
1206 "This crate provides external iterators for generic mathematics.")
1207 (license (list license:asl2.0
1210 (define-public rust-num-traits
1212 (name "rust-num-traits")
1217 (uri (crate-uri "num-traits" version))
1219 (string-append name "-" version ".tar.gz"))
1222 "0clvrm34rrqc8p6gq5ps5fcgws3kgq5knh7nlqxf2ayarwks9abb"))))
1223 (build-system cargo-build-system)
1226 (("rust-autocfg" ,rust-autocfg))))
1227 (home-page "https://github.com/rust-num/num-traits")
1228 (synopsis "Numeric traits for generic mathematics")
1229 (description "Numeric traits for generic mathematics.")
1231 (license (list license:asl2.0
1234 (define-public rust-owning-ref
1236 (name "rust-owning-ref")
1241 (uri (crate-uri "owning_ref" version))
1242 (file-name (string-append name "-" version ".tar.gz"))
1245 "04zgwy77lin8qz398s6g44467pd6kjhbrlqifkia5rkr47mbi929"))))
1246 (build-system cargo-build-system)
1249 (("rust-stable-deref-trait" ,rust-stable-deref-trait))))
1250 (home-page "https://github.com/Kimundi/owning-ref-rs")
1251 (synopsis "Create references that carry their owner with them")
1253 "This package provides a library for creating references that carry their
1254 owner with them. This can sometimes be useful because Rust borrowing rules
1255 normally prevent moving a type that has been borrowed from.")
1256 (license license:expat)))
1258 (define-public rust-peeking-take-while
1260 (name "rust-peeking-take-while")
1265 (uri (crate-uri "peeking_take_while" version))
1266 (file-name (string-append name "-" version ".tar.gz"))
1269 "16bhqr6rdyrp12zv381cxaaqqd0pwysvm1q8h2ygihvypvfprc8r"))))
1270 (build-system cargo-build-system)
1271 (home-page "https://github.com/fitzgen/peeking_take_while")
1272 (synopsis "Provides the peeking_take_while iterator adaptor method")
1274 "Like @code{Iterator::take_while}, but calls the predicate on a peeked
1275 value. This allows you to use @code{Iterator::by_ref} and
1276 @code{Iterator::take_while} together, and still get the first value for which
1277 the @code{take_while} predicate returned false after dropping the @code{by_ref}.")
1278 (license (list license:asl2.0
1281 (define-public rust-percent-encoding
1283 (name "rust-percent-encoding")
1288 (uri (crate-uri "percent-encoding" version))
1289 (file-name (string-append name "-" version ".tar.gz"))
1292 "0m6rkp3iy11la04p6z3492rns6n693pvmx585dvfmzzlzak2hkxs"))))
1293 (build-system cargo-build-system)
1294 (home-page "https://github.com/servo/rust-url/")
1295 (synopsis "Percent encoding and decoding")
1296 (description "This crate provides percent encoding and decoding.")
1297 (license (list license:asl2.0
1300 (define-public rust-permutohedron
1302 (name "rust-permutohedron")
1307 (uri (crate-uri "permutohedron" version))
1308 (file-name (string-append name "-" version ".tar.gz"))
1311 "0b1pzh48j86v46wxngch6k1kx9cdw3jr3lwa86gd6jd4bmxzz1xn"))))
1312 (build-system cargo-build-system)
1313 (home-page "https://github.com/bluss/permutohedron")
1314 (synopsis "Generate permutations of sequences")
1316 "Generate permutations of sequences. Either lexicographical order
1317 permutations, or a minimal swaps permutation sequence implemented using Heap's
1319 (license (list license:asl2.0
1322 (define-public rust-pin-utils
1324 (name "rust-pin-utils")
1325 (version "0.1.0-alpha.4")
1329 (uri (crate-uri "pin-utils" version))
1330 (file-name (string-append name "-" version ".tar.gz"))
1333 "11xmyx00n4m37d546by2rxb8ryxs12v55cc172i3yak1rqccd52q"))))
1334 (build-system cargo-build-system)
1335 (home-page "https://github.com/rust-lang-nursery/pin-utils")
1336 (synopsis "Utilities for pinning")
1337 (description "This crate provides utilities for pinning values on the stack.")
1338 (license (list license:asl2.0
1341 (define-public rust-pkg-config
1343 (name "rust-pkg-config")
1348 (uri (crate-uri "pkg-config" version))
1349 (file-name (string-append name "-" version ".tar.gz"))
1352 "135ia995lqzr0gxpk85h0bjxf82kj6hbxdx924sh9jdln6r8wvk7"))))
1353 (build-system cargo-build-system)
1355 `(#:cargo-development-inputs
1356 (("rust-lazy-static" ,rust-lazy-static))))
1358 `(("pkg-config" ,pkg-config)))
1359 (home-page "https://github.com/alexcrichton/pkg-config-rs")
1360 (synopsis "Library to run the pkg-config system tool")
1362 "A library to run the pkg-config system tool at build time in order to be
1363 used in Cargo build scripts.")
1364 (license (list license:asl2.0
1367 (define-public rust-plain
1374 (uri (crate-uri "plain" version))
1375 (file-name (string-append name "-" version ".tar.gz"))
1378 "19n1xbxb4wa7w891268bzf6cbwq4qvdb86bik1z129qb0xnnnndl"))))
1379 (build-system cargo-build-system)
1380 (home-page "https://github.com/randomites/plain")
1381 (synopsis "Rust library that allows reinterpreting data safely")
1382 (description "This package provides a small Rust library that allows users
1383 to reinterpret data of certain types safely.")
1384 (license (list license:asl2.0
1387 (define-public rust-plugin
1389 (name "rust-plugin")
1394 (uri (crate-uri "plugin" version))
1395 (file-name (string-append name "-" version ".tar.gz"))
1398 "1q7nghkpvxxr168y2jnzh3w7qc9vfrby9n7ygy3xpj0bj71hsshs"))))
1399 (build-system cargo-build-system)
1402 (("rust-typemap" ,rust-typemap))
1403 #:cargo-development-inputs
1404 (("rust-void" ,rust-void))))
1405 (home-page "https://github.com/reem/rust-plugin")
1406 (synopsis "Lazily evaluated, order-independent plugins for extensible types")
1408 "Lazily evaluated, order-independent plugins for extensible types.")
1409 (license license:expat)))
1411 (define-public rust-pocket-resources
1413 (name "rust-pocket-resources")
1418 (uri (crate-uri "pocket-resources" version))
1419 (file-name (string-append name "-" version ".tar.gz"))
1422 "1n2i5vmi8fdbw89wm5nz1ws1z9f1qax911p6ksg4scmdg23z6df1"))))
1423 (build-system cargo-build-system)
1424 (home-page "https://github.com/tomaka/pocket-resources")
1425 (synopsis "Include resources in your applications")
1426 (description "This crate allows you to include resources in your
1428 (license license:expat)))
1430 (define-public rust-ppv-lite86
1432 (name "rust-ppv-lite86")
1437 (uri (crate-uri "ppv-lite86" version))
1438 (file-name (string-append name "-" version ".tar.gz"))
1441 "06snnv338w341nicfqba2jgln5dsla72ndkgrw7h1dfdb3vgkjz3"))))
1442 (build-system cargo-build-system)
1443 (home-page "https://github.com/cryptocorrosion/cryptocorrosion")
1444 (synopsis "Implementation of the crypto-simd API for x86")
1445 (description "This crate provides an implementation of the crypto-simd API
1447 (license (list license:asl2.0
1450 (define-public rust-proc-macro2
1452 (name "rust-proc-macro2")
1457 (uri (crate-uri "proc-macro2" version))
1459 (string-append name "-" version ".tar.gz"))
1462 "0nd71fl24sys066jrha6j7i34nfkjv44yzw8yww9742wmc8j0gfg"))))
1463 (build-system cargo-build-system)
1465 `(#:cargo-inputs (("rust-unicode-xid" ,rust-unicode-xid-0.1))
1466 #:cargo-development-inputs (("rust-quote" ,rust-quote))))
1467 (home-page "https://github.com/alexcrichton/proc-macro2")
1468 (synopsis "Stable implementation of the upcoming new `proc_macro` API")
1469 (description "This package provides a stable implementation of the upcoming new
1470 `proc_macro` API. Comes with an option, off by default, to also reimplement itself
1471 in terms of the upstream unstable API.")
1473 (license (list license:asl2.0 license:expat))))
1475 (define-public rust-quick-error
1477 (name "rust-quick-error")
1482 (uri (crate-uri "quick-error" version))
1483 (file-name (string-append name "-" version ".tar.gz"))
1486 "1w6kgwwv7p7zr0yyg5rb315lkk24bimywklwx7fsvsbwi10bjx4j"))))
1487 (build-system cargo-build-system)
1488 (home-page "http://github.com/tailhook/quick-error")
1489 (synopsis "Macro which makes error types pleasant to write")
1490 (description "This crate provides a macro which makes error types pleasant
1492 (license (list license:asl2.0
1495 (define-public rust-quote
1502 (uri (crate-uri "quote" version))
1504 (string-append name "-" version ".tar.gz"))
1507 "1nw0klza45hf127kfyrpxsxd5jw2l6h21qxalil3hkr7bnf7kx7s"))))
1508 (build-system cargo-build-system)
1510 `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2))))
1511 (home-page "https://github.com/dtolnay/quote")
1512 (synopsis "Quasi-quoting macro quote!(...)")
1513 (description "Quasi-quoting macro quote!(...)")
1515 (license (list license:asl2.0 license:expat))))
1517 (define-public rust-rand
1524 (uri (crate-uri "rand" version))
1525 (file-name (string-append name "-" version ".tar.gz"))
1528 "1gfgnqfj2pyh27dcb720jpawskllwnbvxh816ddyykv269xz8ml3"))))
1529 (build-system cargo-build-system)
1532 (("rust-fuchsia-zircon" ,rust-fuchsia-zircon)
1533 ("rust-libc" ,rust-libc)
1534 ("rust-winapi" ,rust-winapi))))
1535 (home-page "https://crates.io/crates/rand")
1536 (synopsis "Random number generators and other randomness functionality")
1538 "Rand provides utilities to generate random numbers, to convert them to
1539 useful types and distributions, and some randomness-related algorithms.")
1540 (license (list license:asl2.0
1543 (define-public rust-rand-0.3
1551 (uri (crate-uri "rand" version))
1552 (file-name (string-append name "-" version ".tar.gz"))
1555 "0v679h38pjjqj5h4md7v2slsvj6686qgcn7p9fbw3h43iwnk1b34"))))
1558 (("rust-libc" ,rust-libc)
1559 ("rust-rand" ,rust-rand))))))
1561 (define-public rust-rawpointer
1563 (name "rust-rawpointer")
1568 (uri (crate-uri "rawpointer" version))
1569 (file-name (string-append name "-" version ".tar.gz"))
1572 "06ghpm9y7gacks78s3maakha07kbnwrxif5q37r2l7z1sali3b7b"))))
1573 (build-system cargo-build-system)
1574 (home-page "https://github.com/bluss/rawpointer/")
1575 (synopsis "Extra methods for raw pointers")
1576 (description "Extra methods for raw pointers. For example
1577 @code{.post_inc()} and @code{.pre_dec()} (c.f. @code{ptr++} and @code{--ptr})
1578 and @code{ptrdistance}.")
1579 (license (list license:asl2.0
1582 ;; This package requires features which are unavailable
1583 ;; on the stable releases of Rust.
1584 (define-public rust-redox-syscall ; guix upstreamable
1586 (name "rust-redox-syscall")
1591 (uri (crate-uri "redox_syscall" version))
1592 (file-name (string-append name "-" version ".tar.gz"))
1595 "110y7dyfm2vci4x5vk7gr0q551dvp31npl99fnsx2fb17wzwcf94"))))
1596 (build-system cargo-build-system)
1597 (home-page "https://gitlab.redox-os.org/redox-os/syscall")
1598 (synopsis "Rust library to access raw Redox system calls")
1599 (description "This package provides a Rust library to access raw Redox
1601 (properties '((hidden? . #t)))
1602 (license license:expat)))
1604 (define-public rust-regex-syntax
1606 (name "rust-regex-syntax")
1611 (uri (crate-uri "regex-syntax" version))
1612 (file-name (string-append name "-" version ".tar.gz"))
1615 "0p47lf38yj2g2fnmvnraccqlxwk35zr76hlnqi8yva932nzqam6d"))))
1616 (build-system cargo-build-system)
1619 (("rust-ucd-util" ,rust-ucd-util))))
1620 (home-page "https://github.com/rust-lang/regex")
1621 (synopsis "Regular expression parser")
1623 "This package provides a regular expression parser.")
1624 (license (list license:asl2.0
1627 (define-public rust-remove-dir-all
1629 (name "rust-remove-dir-all")
1634 (uri (crate-uri "remove_dir_all" version))
1635 (file-name (string-append name "-" version ".tar.gz"))
1638 "0bkrlyg26mgizpiy1yb2hhpgscxcag8r5fnckqsvk25608vzm0sa"))))
1639 (build-system cargo-build-system)
1642 (("rust-winapi" ,rust-winapi))
1643 #:cargo-development-inputs
1644 (("rust-doc-comment" ,rust-doc-comment))
1646 (modify-phases %standard-phases
1647 (add-after 'unpack 'fix-source
1648 ;; The test phase expects there to be a README.md in the root directory.
1650 (invoke "touch" "README.md"))))))
1651 (home-page "https://github.com/XAMPPRocky/remove_dir_all.git")
1652 (synopsis "Implementation of remove_dir_all for Windows")
1654 "This package provides a safe, reliable implementation of
1655 @code{remove_dir_all} for Windows")
1656 (license (list license:asl2.0
1659 (define-public rust-resolv-conf
1661 (name "rust-resolv-conf")
1666 (uri (crate-uri "resolv-conf" version))
1667 (file-name (string-append name "-" version ".tar.gz"))
1670 "1jvdsmksdf6yiipm3aqahyv8n1cjd7wqc8sa0p0gzsax3fmb8qxj"))))
1671 (build-system cargo-build-system)
1674 (("rust-quick-error" ,rust-quick-error)
1675 ("rust-hostname" ,rust-hostname))
1676 #:cargo-test-flags '("--release" "--lib" "--examples"))) ; doc tests fail
1677 (home-page "https://github.com/tailhook/resolv-conf")
1678 (synopsis "/etc/resolv.conf parser")
1680 "An /etc/resolv.conf parser crate for Rust.")
1681 (license (list license:asl2.0
1684 (define-public rust-rustc-std-workspace-core
1686 (name "rust-rustc-std-workspace-core")
1691 (uri (crate-uri "rustc-std-workspace-core" version))
1692 (file-name (string-append name "-" version ".tar.gz"))
1695 "1309xhwyai9xpz128xrfjqkmnkvgjwddznmj7brbd8i8f58zamhr"))))
1696 (build-system cargo-build-system)
1697 (home-page "https://crates.io/crates/rustc-std-workspace-core")
1698 (synopsis "Explicitly empty crate for rust-lang/rust integration")
1699 (description "This crate provides an explicitly empty crate for
1700 rust-lang/rust integration.")
1701 (license (list license:asl2.0
1704 (define-public rust-safemem
1706 (name "rust-safemem")
1711 (uri (crate-uri "safemem" version))
1712 (file-name (string-append name "-" version ".tar.gz"))
1715 "1l1ljkm4lpyryrv2ndaxi1f7z1f3v9bwy1rzl9f9mbhx04iq9c6j"))))
1716 (build-system cargo-build-system)
1717 (home-page "https://github.com/abonander/safemem")
1718 (synopsis "Safe wrappers for memory-accessing functions")
1720 "Safe wrappers for memory-accessing functions, like @code{std::ptr::copy()}.")
1721 (license (list license:asl2.0
1724 (define-public rust-same-file
1726 (name "rust-same-file")
1731 (uri (crate-uri "same-file" version))
1732 (file-name (string-append name "-" version ".tar.gz"))
1735 "08a4zy10pjindf2rah320s6shgswk13mqw7s61m8i1y1xpf8spjq"))))
1736 (build-system cargo-build-system)
1739 (("rust-winapi-util" ,rust-winapi-util))))
1740 (home-page "https://github.com/BurntSushi/same-file")
1741 (synopsis "Determine whether two file paths point to the same file")
1743 "This package provides a simple crate for determining whether two file
1744 paths point to the same file.")
1745 (license (list license:unlicense
1748 (define-public rust-schannel
1750 (name "rust-schannel")
1755 (uri (crate-uri "schannel" version))
1756 (file-name (string-append name "-" version ".tar.gz"))
1759 "0f9k4pm8yc3z0n1n8hazvnrvg52f0sfxjc91bhf3r76rb3rapxpj"))))
1760 (build-system cargo-build-system)
1763 (("rust-lazy-static" ,rust-lazy-static)
1764 ("rust-winapi" ,rust-winapi))))
1765 (home-page "https://github.com/steffengy/schannel-rs")
1766 (synopsis "Rust bindings to the Windows SChannel APIs")
1768 "Rust bindings to the Windows SChannel APIs providing TLS client and
1769 server functionality.")
1770 (license license:expat)))
1772 (define-public rust-scoped-threadpool
1774 (name "rust-scoped-threadpool")
1779 (uri (crate-uri "scoped_threadpool" version))
1780 (file-name (string-append name "-" version ".tar.gz"))
1783 "1a26d3lk40s9mrf4imhbik7caahmw2jryhhb6vqv6fplbbgzal8x"))))
1784 (build-system cargo-build-system)
1786 `(#:cargo-development-inputs
1787 (("rust-lazy-static" ,rust-lazy-static))))
1788 (home-page "https://github.com/Kimundi/scoped-threadpool-rs")
1789 (synopsis "library for scoped and cached threadpools")
1791 "This crate provides a stable, safe and scoped threadpool. It can be used
1792 to execute a number of short-lived jobs in parallel without the need to respawn
1793 the underlying threads. Jobs are runnable by borrowing the pool for a given
1794 scope, during which an arbitrary number of them can be executed. These jobs can
1795 access data of any lifetime outside of the pools scope, which allows working on
1796 non-'static references in parallel.")
1797 (license (list license:asl2.0
1800 (define-public rust-scoped-tls
1802 (name "rust-scoped-tls")
1807 (uri (crate-uri "scoped-tls" version))
1808 (file-name (string-append name "-" version ".tar.gz"))
1811 "1hj8lifzvivdb1z02lfnzkshpvk85nkgzxsy2hc0zky9wf894spa"))))
1812 (build-system cargo-build-system)
1813 (home-page "https://github.com/alexcrichton/scoped-tls")
1814 (synopsis "Rust library providing the old standard library's scoped_thread_local")
1815 (description "This crate provides a library implementation of the standard
1816 library's old @code{scoped_thread_local!} macro for providing scoped access to
1817 @dfn{thread local storage} (TLS) so any type can be stored into TLS.")
1818 (license (list license:asl2.0
1821 (define-public rust-scoped-tls-0.1
1823 (inherit rust-scoped-tls)
1824 (name "rust-scoped-tls")
1829 (uri (crate-uri "scoped-tls" version))
1830 (file-name (string-append name "-" version ".tar.gz"))
1833 "0a2bn9d2mb07c6l16sadijy4p540g498zddfxyiq4rsqpwrglbrk"))))))
1835 (define-public rust-scopeguard
1837 (name "rust-scopeguard")
1842 (uri (crate-uri "scopeguard" version))
1843 (file-name (string-append name "-" version ".tar.gz"))
1846 "03aay84r1f6w87ckbpj6cc4rnsxkxcfs13n5ynxjia0qkgjiabml"))))
1847 (build-system cargo-build-system)
1848 (home-page "https://github.com/bluss/scopeguard")
1849 (synopsis "Scope guard which will run a closure even out of scope")
1850 (description "This package provides a RAII scope guard that will run a
1851 given closure when it goes out of scope, even if the code between panics
1852 (assuming unwinding panic). Defines the macros @code{defer!},
1853 @code{defer_on_unwind!}, @code{defer_on_success!} as shorthands for guards
1854 with one of the implemented strategies.")
1855 (license (list license:asl2.0
1858 (define-public rust-scopeguard-0.3
1860 (inherit rust-scopeguard)
1861 (name "rust-scopeguard")
1866 (uri (crate-uri "scopeguard" version))
1868 (string-append name "-" version ".tar.gz"))
1871 "09sy9wbqp409pkwmqni40qmwa99ldqpl48pp95m1xw8sc19qy9cl"))))))
1873 (define-public rust-security-framework-sys
1875 (name "rust-security-framework-sys")
1880 (uri (crate-uri "security-framework-sys" version))
1881 (file-name (string-append name "-" version ".tar.gz"))
1884 "0mlsakq9kmqyc0fg2hcbgm6rjk55mb0rhjw2wid3hqdzkjcghdln"))))
1885 (build-system cargo-build-system)
1888 (("rust-core-foundation-sys"
1889 ,rust-core-foundation-sys))))
1890 (home-page "https://lib.rs/crates/security-framework-sys")
1891 (synopsis "Apple `Security.framework` low-level FFI bindings")
1893 "Apple `Security.framework` low-level FFI bindings.")
1894 (license (list license:asl2.0
1897 (define-public rust-semver-parser
1899 (name "rust-semver-parser")
1904 (uri (crate-uri "semver-parser" version))
1905 (file-name (string-append name "-" version ".tar.gz"))
1908 "1ahqhvgpzhcsd28id7xnrjv4419i9yyalhm7d7zi430qx0hi2vml"))))
1909 (build-system cargo-build-system)
1910 (home-page "https://github.com/steveklabnik/semver-parser")
1911 (synopsis "Parsing of the semver spec")
1912 (description "This package provides for parsing of the semver spec.")
1913 (license (list license:asl2.0
1916 (define-public rust-shlex
1923 (uri (crate-uri "shlex" version))
1924 (file-name (string-append name "-" version ".tar.gz"))
1927 "1lmv6san7g8dv6jdfp14m7bdczq9ss7j7bgsfqyqjc3jnjfippvz"))))
1928 (build-system cargo-build-system)
1929 (home-page "https://github.com/comex/rust-shlex")
1930 (synopsis "Split a string into shell words, like Python's shlex")
1931 (description "This crate provides a method to split a string into shell
1932 words, like Python's shlex.")
1933 (license (list license:asl2.0
1936 (define-public rust-slab
1943 (uri (crate-uri "slab" version))
1944 (file-name (string-append name "-" version ".tar.gz"))
1947 "1y59xsa27jk84sxzswjk60xcjf8b4fm5960jwpznrrcmasyva4f1"))))
1948 (build-system cargo-build-system)
1949 (home-page "https://github.com/carllerche/slab")
1950 (synopsis "Pre-allocated storage for a uniform data type")
1951 (description "This create provides a pre-allocated storage for a uniform
1953 (license license:expat)))
1955 (define-public rust-spin
1962 (uri (crate-uri "spin" version))
1963 (file-name (string-append name "-" version ".tar.gz"))
1966 "0m9clchsj0rf13bggsgvbv9haiy0f6rhvnvkpvkk8720a5pkydj4"))))
1967 (build-system cargo-build-system)
1968 (home-page "https://github.com/mvdnes/spin-rs.git")
1969 (synopsis "Synchronization primitives based on spinning")
1970 (description "This crate provides synchronization primitives based on
1971 spinning. They may contain data, are usable without @code{std},and static
1972 initializers are available.")
1973 (license license:expat)))
1975 (define-public rust-stable-deref-trait
1977 (name "rust-stable-deref-trait")
1982 (uri (crate-uri "stable_deref_trait" version))
1983 (file-name (string-append name "-" version ".tar.gz"))
1986 "1j2lkgakksmz4vc5hfawcch2ipiskrhjs1sih0f3br7s7rys58fv"))))
1987 (build-system cargo-build-system)
1988 (home-page "https://github.com/storyyeller/stable_deref_trait0")
1989 (synopsis "Defines an unsafe marker trait, StableDeref")
1991 "This crate defines an unsafe marker trait, StableDeref, for container
1992 types which deref to a fixed address which is valid even when the containing
1993 type is moved. For example, Box, Vec, Rc, Arc and String implement this trait.
1994 Additionally, it defines CloneStableDeref for types like Rc where clones deref
1995 to the same address.")
1996 (license (list license:asl2.0
1999 (define-public rust-stdweb-internal-runtime
2001 (name "rust-stdweb-internal-runtime")
2006 (uri (crate-uri "stdweb-internal-runtime" version))
2007 (file-name (string-append name "-" version ".tar.gz"))
2010 "1nhpyra7glbwcpakhpj5a3d7h7kx1ynif473nzshmk226m91f8ym"))))
2011 (build-system cargo-build-system)
2012 (home-page "https://github.com/koute/stdweb")
2013 (synopsis "Internal runtime for the @code{stdweb} crate")
2014 (description "This crate provides internal runtime for the @code{stdweb}
2016 (license (list license:asl2.0
2019 (define-public rust-stdweb-internal-test-macro
2021 (name "rust-stdweb-internal-test-macro")
2026 (uri (crate-uri "stdweb-internal-test-macro" version))
2027 (file-name (string-append name "-" version ".tar.gz"))
2030 "12rrm7p77xnm3xacgn3rgniiyyjb4gq7902wpbljsvbx045z69l2"))))
2031 (build-system cargo-build-system)
2034 (("rust-proc-macro2" ,rust-proc-macro2)
2035 ("rust-quote" ,rust-quote))))
2036 (home-page "https://github.com/koute/stdweb")
2037 (synopsis "Internal crate of the `stdweb` crate")
2039 "Internal crate of the @code{stdweb} crate.")
2040 (license (list license:asl2.0
2043 (define-public rust-streaming-stats
2045 (name "rust-streaming-stats")
2050 (uri (crate-uri "streaming-stats" version))
2051 (file-name (string-append name "-" version ".tar.gz"))
2054 "0l7xz4g6709s80zqpvlhrg0qhgz64r94cwhmfsg8xhabgznbp2px"))))
2055 (build-system cargo-build-system)
2058 (("rust-num-traits" ,rust-num-traits))))
2059 (home-page "https://github.com/BurntSushi/rust-stats")
2060 (synopsis "Compute basic statistics on streams")
2062 "Experimental crate for computing basic statistics on streams.")
2063 (license (list license:unlicense
2066 (define-public rust-strsim
2068 (name "rust-strsim")
2073 (uri (crate-uri "strsim" version))
2074 (file-name (string-append name "-" version ".tar.gz"))
2077 "1xphwhf86yxxmcpvm4mikj8ls41f6nf7gqyjm98b74mfk81h6b03"))))
2078 (build-system cargo-build-system)
2079 (home-page "https://github.com/dguo/strsim-rs")
2080 (synopsis "Rust implementations of string similarity metrics")
2081 (description "This crate includes implementations of string similarity
2082 metrics. It includes Hamming, Levenshtein, OSA, Damerau-Levenshtein, Jaro,
2084 (license license:expat)))
2086 (define-public rust-synstructure-test-traits
2088 (name "rust-synstructure-test-traits")
2093 (uri (crate-uri "synstructure_test_traits" version))
2094 (file-name (string-append name "-" version ".tar.gz"))
2097 "1b3fs2b9kc1gy9dilaxqjbdl4z0mlrbbxjzkprdx953rif1c3q66"))))
2098 (build-system cargo-build-system)
2099 (home-page "https://crates.io/crates/synstructure_test_traits")
2100 (synopsis "Helper test traits for synstructure doctests")
2102 "This package provides helper test traits for synstructure doctests.")
2103 (license license:expat)))
2105 (define-public rust-tempdir
2107 (name "rust-tempdir")
2112 (uri (crate-uri "tempdir" version))
2113 (file-name (string-append name "-" version ".tar.gz"))
2116 "1n5n86zxpgd85y0mswrp5cfdisizq2rv3la906g6ipyc03xvbwhm"))))
2117 (build-system cargo-build-system)
2120 (("rust-rand" ,rust-rand)
2121 ("rust-remove-dir-all" ,rust-remove-dir-all))))
2123 "https://github.com/rust-lang/tempdir")
2124 (synopsis "Temporary directory management for Rust")
2126 "This package provides a library for managing a temporary directory and
2127 deleting all contents when it's dropped.")
2128 (license (list license:asl2.0
2131 (define-public rust-termcolor
2133 (name "rust-termcolor")
2138 (uri (crate-uri "termcolor" version))
2139 (file-name (string-append name "-" version ".tar.gz"))
2142 "0vjfsn1a8zvqhnrbygrz1id6yckwv1dncw3w4zj65qdx0f00kmln"))))
2143 (build-system cargo-build-system)
2146 (("rust-wincolor" ,rust-wincolor))))
2147 (home-page "https://github.com/BurntSushi/termcolor")
2148 (synopsis "Library for writing colored text to a terminal")
2149 (description "This package provides a simple cross platform library for
2150 writing colored text to a terminal.")
2151 (license (list license:unlicense
2154 (define-public rust-termios
2156 (name "rust-termios")
2161 (uri (crate-uri "termios" version))
2162 (file-name (string-append name "-" version ".tar.gz"))
2165 "09any1p4jp4bphvb5ikagnvwjc3xn2djchy96nkpa782xb2j1dkj"))))
2166 (build-system cargo-build-system)
2168 `(#:cargo-inputs (("rust-libc" ,rust-libc))))
2169 (home-page "https://github.com/dcuddeback/termios-rs")
2170 (synopsis "Safe bindings for the termios library")
2172 "The termios crate provides safe bindings for the Rust programming language
2173 to the terminal I/O interface implemented by Unix operating systems. The safe
2174 bindings are a small wrapper around the raw C functions, which converts integer
2175 return values to @code{std::io::Result} to indicate success or failure.")
2176 (license license:expat)))
2178 (define-public rust-thread-id
2180 (name "rust-thread-id")
2185 (uri (crate-uri "thread-id" version))
2186 (file-name (string-append name "-" version ".tar.gz"))
2189 "1h90v19fjz3x9b25ywh68z5yf2zsmm6h5zb4rl302ckbsp4z9yy7"))))
2190 (build-system cargo-build-system)
2193 (("rust-libc" ,rust-libc)
2194 ("rust-redox-syscall" ,rust-redox-syscall)
2195 ("rust-winapi" ,rust-winapi))))
2196 (home-page "https://github.com/ruuda/thread-id")
2197 (synopsis "Get a unique ID for the current thread in Rust")
2199 "For diagnostics and debugging it can often be useful to get an ID that is
2200 different for every thread.")
2201 (license (list license:asl2.0
2204 (define-public rust-thread-local
2206 (name "rust-thread-local")
2211 (uri (crate-uri "thread_local" version))
2212 (file-name (string-append name "-" version ".tar.gz"))
2215 "06rzik99p8c5js8238yhc8rk6np543ylb1dy9nrw5v80j0r3xdf6"))))
2216 (build-system cargo-build-system)
2219 (("rust-lazy-static" ,rust-lazy-static))))
2220 (home-page "https://github.com/Amanieu/thread_local-rs")
2221 (synopsis "Per-object thread-local storage")
2222 (description "Per-object thread-local storage")
2223 (license (list license:asl2.0
2226 (define-public rust-threadpool
2228 (name "rust-threadpool")
2233 (uri (crate-uri "threadpool" version))
2234 (file-name (string-append name "-" version ".tar.gz"))
2237 "0rd89n1q7vy47w4c32cnynibffv9kj3jy3dwr0536n9lbw5ckw72"))))
2238 (build-system cargo-build-system)
2241 (("rust-num-cpus" ,rust-num-cpus))))
2242 (home-page "https://github.com/rust-threadpool/rust-threadpool")
2243 (synopsis "Thread pool for running jobs on a fixed set of worker threads")
2245 "This package provides a thread pool for running a number of jobs on a
2246 fixed set of worker threads.")
2247 (license (list license:asl2.0
2250 (define-public rust-tokio-mock-task
2252 (name "rust-tokio-mock-task")
2257 (uri (crate-uri "tokio-mock-task" version))
2258 (file-name (string-append name "-" version ".tar.gz"))
2261 "1y7q83qfk9ljjfvs82b453pmz9x1v3d6kr4x55j8mal01s6790dw"))))
2262 (build-system cargo-build-system)
2264 `(#:cargo-inputs (("rust-futures" ,rust-futures))))
2265 (home-page "https://github.com/carllerche/tokio-mock-task")
2266 (synopsis "Mock a Tokio task")
2267 (description "Mock a Tokio task")
2268 (license license:expat)))
2270 (define-public rust-tracing-core
2272 (name "rust-tracing-core")
2277 (uri (crate-uri "tracing-core" version))
2278 (file-name (string-append name "-" version ".tar.gz"))
2281 "01fa73wzw2m5ybi3kkd52dgrw97mgc3i6inmhwys46ab28giwnxi"))))
2282 (build-system cargo-build-system)
2285 (("rust-lazy-static" ,rust-lazy-static))))
2286 (home-page "https://tokio.rs")
2287 (synopsis "Core primitives for application-level tracing")
2289 "Core primitives for application-level tracing.")
2290 (license (list license:asl2.0
2293 (define-public rust-traitobject
2295 (name "rust-traitobject")
2300 (uri (crate-uri "traitobject" version))
2301 (file-name (string-append name "-" version ".tar.gz"))
2304 "0yb0n8822mr59j200fyr2fxgzzgqljyxflx9y8bdy3rlaqngilgg"))))
2305 (build-system cargo-build-system)
2306 (home-page "https://github.com/reem/rust-traitobject.git")
2307 (synopsis "Unsafe helpers for dealing with raw trait objects")
2308 (description "Unsafe helpers for dealing with raw trait objects.")
2309 (license (list license:asl2.0
2312 (define-public rust-try-from
2314 (name "rust-try-from")
2319 (uri (crate-uri "try_from" version))
2320 (file-name (string-append name "-" version ".tar.gz"))
2323 "12wdd4ja7047sd3rx70hv2056hyc8gcdllcx3a41g1rnw64kng98"))))
2324 (build-system cargo-build-system)
2327 (("rust-cfg-if" ,rust-cfg-if))))
2328 (home-page "https://github.com/derekjw/try_from")
2329 (synopsis "TryFrom and TryInto traits for failable conversions")
2331 "TryFrom and TryInto traits for failable conversions that return a Result.")
2332 (license license:expat)))
2334 (define-public rust-try-lock
2336 (name "rust-try-lock")
2341 (uri (crate-uri "try-lock" version))
2342 (file-name (string-append name "-" version ".tar.gz"))
2345 "10p36rx6pqi9d0zr876xa8vksx2m66ha45myakl50rn08dxyn176"))))
2346 (build-system cargo-build-system)
2347 (home-page "https://github.com/seanmonstar/try-lock")
2348 (synopsis "Lightweight atomic lock")
2350 "This package provides a lightweight atomic lock.")
2351 (license license:expat)))
2353 (define-public rust-typeable
2355 (name "rust-typeable")
2360 (uri (crate-uri "typeable" version))
2361 (file-name (string-append name "-" version ".tar.gz"))
2364 "11w8dywgnm32hb291izjvh4zjd037ccnkk77ahk63l913zwzc40l"))))
2365 (build-system cargo-build-system)
2366 (home-page "https://github.com/reem/rust-typeable")
2367 (synopsis "Exposes Typeable, for getting TypeIds at runtime")
2368 (description "Exposes Typeable, for getting TypeIds at runtime.")
2369 (license license:expat)))
2371 (define-public rust-typemap
2373 (name "rust-typemap")
2378 (uri (crate-uri "typemap" version))
2379 (file-name (string-append name "-" version ".tar.gz"))
2382 "1xm1gbvz9qisj1l6d36hrl9pw8imr8ngs6qyanjnsad3h0yfcfv5"))))
2383 (build-system cargo-build-system)
2386 (("rust-unsafe-any" ,rust-unsafe-any))))
2387 (home-page "https://github.com/reem/rust-typemap")
2388 (synopsis "Typesafe store for many value types")
2390 "A typesafe store for many value types.")
2391 (license license:expat)))
2393 (define-public rust-typenum
2395 (name "rust-typenum")
2400 (uri (crate-uri "typenum" version))
2401 (file-name (string-append name "-" version ".tar.gz"))
2404 "0sc1jirllfhdi52z1xv9yqzxzpk6v7vadd13n7wvs1wnjipn6bb1"))))
2405 (build-system cargo-build-system)
2406 (home-page "https://github.com/paholg/typenum")
2407 (synopsis "Rust library for type-level numbers evaluated at compile time")
2408 (description "Typenum is a Rust library for type-level numbers evaluated at
2409 compile time. It currently supports bits, unsigned integers, and signed
2410 integers. It also provides a type-level array of type-level numbers, but its
2411 implementation is incomplete.")
2412 (license (list license:asl2.0
2415 (define-public rust-ucd-trie
2417 (name "rust-ucd-trie")
2422 (uri (crate-uri "ucd-trie" version))
2423 (file-name (string-append name "-" version ".tar.gz"))
2426 "1hh6kyzh5xygwy96wfmsf8v8czlzhps2lgbcyhj1xzy1w1xys04g"))))
2427 (build-system cargo-build-system)
2429 `(#:cargo-development-inputs
2430 (("rust-lazy-static" ,rust-lazy-static))))
2431 (home-page "https://github.com/BurntSushi/ucd-generate")
2432 (synopsis "Trie for storing Unicode codepoint sets and maps")
2434 "This package provides a trie for storing Unicode codepoint sets and maps.")
2435 (license (list license:asl2.0
2438 (define-public rust-ucd-util
2440 (name "rust-ucd-util")
2445 (uri (crate-uri "ucd-util" version))
2446 (file-name (string-append name "-" version ".tar.gz"))
2449 "0x088q5z0m09a2jqcfgsnq955y8syn1mgn35cl78qinkxm4kp6zs"))))
2450 (build-system cargo-build-system)
2451 (home-page "https://github.com/BurntSushi/ucd-generate")
2452 (synopsis "library for working with the Unicode character database")
2453 (description "This package provides a small utility library for working
2454 with the Unicode character database.")
2455 (license (list license:asl2.0
2458 (define-public rust-unicase
2460 (name "rust-unicase")
2465 (uri (crate-uri "unicase" version))
2466 (file-name (string-append name "-" version ".tar.gz"))
2469 "1xmpmkakhhblq7dzab1kwyv925kv7fqjkjsxjspg6ix9n88makm8"))))
2470 (build-system cargo-build-system)
2472 `(#:cargo-inputs (("rust-version-check" ,rust-version-check-0.1))))
2473 (home-page "https://github.com/seanmonstar/unicase")
2474 (synopsis "Case-insensitive wrapper around strings")
2476 "A case-insensitive wrapper around strings.")
2477 (license (list license:asl2.0
2480 (define-public rust-unicode-width
2482 (name "rust-unicode-width")
2487 (uri (crate-uri "unicode-width" version))
2488 (file-name (string-append name "-" version ".tar.gz"))
2491 "09k5lipygardwy0660jhls08fsgknrazzivmn804gps53hiqc8w8"))))
2492 (build-system cargo-build-system)
2493 (home-page "https://github.com/unicode-rs/unicode-width")
2494 (synopsis "Determine displayed width according to Unicode rules")
2495 (description "This crate allows you to determine displayed width of
2496 @code{char} and @code{str} types according to Unicode Standard Annex #11 rules.")
2497 (license (list license:asl2.0
2500 (define-public rust-unicode-xid
2502 (name "rust-unicode-xid")
2507 (uri (crate-uri "unicode-xid" version))
2509 (string-append name "-" version ".tar.gz"))
2512 "0z09fn515xm7zyr0mmdyxa9mx2f7azcpv74pqmg611iralwpcvl2"))))
2513 (build-system cargo-build-system)
2515 "https://github.com/unicode-rs/unicode-xid")
2516 (synopsis "Determine Unicode XID related properties")
2517 (description "Determine whether characters have the XID_Start
2518 or XID_Continue properties according to Unicode Standard Annex #31.")
2520 (license (list license:asl2.0 license:expat))))
2522 (define-public rust-unicode-xid-0.1
2524 (inherit rust-unicode-xid)
2525 (name "rust-unicode-xid")
2530 (uri (crate-uri "unicode-xid" version))
2531 (file-name (string-append name "-" version ".tar.gz"))
2534 "1z57lqh4s18rr4x0j4fw4fmp9hf9346h0kmdgqsqx0fhjr3k0wpw"))))))
2536 (define-public rust-unindent
2538 (name "rust-unindent")
2543 (uri (crate-uri "unindent" version))
2544 (file-name (string-append name "-" version ".tar.gz"))
2547 "1x21ilf78aqcq9xzb9b7i628wm10rhk0jp0chlv06rkc690l8jw3"))))
2548 (build-system cargo-build-system)
2549 (home-page "https://github.com/dtolnay/indoc")
2550 (synopsis "Remove a column of leading whitespace from a string")
2551 (description "This crate allows you to remove a column of leading
2552 whitespace from a string.")
2553 (license (list license:asl2.0
2556 (define-public rust-unsafe-any
2558 (name "rust-unsafe-any")
2563 (uri (crate-uri "unsafe-any" version))
2564 (file-name (string-append name "-" version ".tar.gz"))
2567 "0zwwphsqkw5qaiqmjwngnfpv9ym85qcsyj7adip9qplzjzbn00zk"))))
2568 (build-system cargo-build-system)
2571 (("rust-traitobject" ,rust-traitobject))))
2572 (home-page "https://tokio.rs")
2573 (synopsis "Traits and implementations for unchecked downcasting")
2575 "Traits and implementations for unchecked downcasting.")
2576 (license license:expat)))
2578 (define-public rust-untrusted
2580 (name "rust-untrusted")
2585 (uri (crate-uri "untrusted" version))
2586 (file-name (string-append name "-" version ".tar.gz"))
2589 "1kmfykcwif6ashkwg54gcnhxj03kpba2i9vc7z5rpr0xlgvrwdk0"))))
2590 (build-system cargo-build-system)
2591 (home-page "https://github.com/briansmith/untrusted")
2592 (synopsis "Zero-allocation parsing of untrusted inputs in Rust")
2594 "Safe, fast, zero-panic, zero-crashing, zero-allocation parsing of
2595 untrusted inputs in Rust.")
2596 (license license:isc)))
2598 (define-public rust-version-check
2600 (name "rust-version-check")
2605 (uri (crate-uri "version_check" version))
2606 (file-name (string-append name "-" version ".tar.gz"))
2609 "1kikqlnggii1rvnxrbls55sc46lxvinz5k3giscgncjj4p87b1q7"))))
2610 (build-system cargo-build-system)
2611 (home-page "https://github.com/SergioBenitez/version_check")
2612 (synopsis "Check that the installed rustc meets some version requirements")
2614 "This tiny crate checks that the running or installed rustc meets some
2615 version requirements. The version is queried by calling the Rust compiler with
2616 @code{--version}. The path to the compiler is determined first via the
2617 @code{RUSTC} environment variable. If it is not set, then @code{rustc} is used.
2618 If that fails, no determination is made, and calls return None.")
2619 (license (list license:asl2.0
2622 (define-public rust-version-check-0.1
2624 (inherit rust-version-check)
2625 (name "rust-version-check")
2630 (uri (crate-uri "version_check" version))
2631 (file-name (string-append name "-" version ".tar.gz"))
2634 "1pf91pvj8n6akh7w6j5ypka6aqz08b3qpzgs0ak2kjf4frkiljwi"))))))
2636 (define-public rust-void
2643 (uri (crate-uri "void" version))
2644 (file-name (string-append name "-" version ".tar.gz"))
2647 "0zc8f0ksxvmhvgx4fdg0zyn6vdnbxd2xv9hfx4nhzg6kbs4f80ka"))))
2648 (build-system cargo-build-system)
2649 (home-page "https://github.com/reem/rust-void.git")
2650 (synopsis "Void type for use in statically impossible cases")
2652 "The uninhabited void type for use in statically impossible cases.")
2653 (license license:expat)))
2655 (define-public rust-walkdir
2657 (name "rust-walkdir")
2662 (uri (crate-uri "walkdir" version))
2663 (file-name (string-append name "-" version ".tar.gz"))
2666 "07ppalpvxkf8cnqr64np422792y4z5bs9m8b4nrflh5rm17wjn4n"))))
2667 (build-system cargo-build-system)
2670 (("rust-same-file" ,rust-same-file)
2671 ("rust-winapi" ,rust-winapi)
2672 ("rust-winapi-util" ,rust-winapi-util))
2673 #:cargo-development-inputs
2674 (("rust-doc-comment" ,rust-doc-comment))))
2675 (home-page "https://github.com/BurntSushi/walkdir")
2676 (synopsis "Recursively walk a directory")
2677 (description "Recursively walk a directory.")
2678 (license (list license:unlicense
2681 (define-public rust-wasi
2688 (uri (crate-uri "wasi" version))
2690 (string-append name "-" version ".tar.gz"))
2693 "1ir3pd4phdfml0cbziw9bqp7mnk0vfp9biy8bh25lln6raml4m7x"))))
2694 (build-system cargo-build-system)
2695 (home-page "https://github.com/CraneStation/rust-wasi")
2696 (synopsis "Experimental WASI API bindings for Rust")
2697 (description "This package contains experimental WASI API bindings
2699 (license license:asl2.0)))
2701 (define-public rust-wasm-bindgen-shared
2703 (name "rust-wasm-bindgen-shared")
2708 (uri (crate-uri "wasm-bindgen-shared" version))
2709 (file-name (string-append name "-" version ".tar.gz"))
2712 "08rnfhjyk0f6liv8n4rdsvhx7r02glkhcbj2lp9lcbkbfpad9hnr"))))
2713 (build-system cargo-build-system)
2714 (home-page "https://rustwasm.github.io/wasm-bindgen/")
2715 (synopsis "Shared support between wasm-bindgen and wasm-bindgen cli")
2716 (description "This package provides shared support between
2717 @code{wasm-bindgen} and @code{wasm-bindgen} cli, an internal dependency.")
2718 (license (list license:asl2.0
2721 (define-public rust-wasm-bindgen-test-macro
2723 (name "rust-wasm-bindgen-test-macro")
2728 (uri (crate-uri "wasm-bindgen-test-macro" version))
2729 (file-name (string-append name "-" version ".tar.gz"))
2732 "0n28mr6vncf1k1qr2b5bvfxq4jvqkjdzq0z0ab6w2f5d6v8q3q3l"))))
2733 (build-system cargo-build-system)
2736 (("rust-proc-macro2" ,rust-proc-macro2)
2737 ("rust-quote" ,rust-quote))))
2738 (home-page "https://github.com/rustwasm/wasm-bindgen")
2739 (synopsis "Internal testing macro for wasm-bindgen")
2741 "This library contains the internal testing macro for wasm-bindgen.")
2742 (license (list license:asl2.0
2745 (define-public rust-widestring
2747 (name "rust-widestring")
2752 (uri (crate-uri "widestring" version))
2753 (file-name (string-append name "-" version ".tar.gz"))
2756 "1dhx6dndjsz1y7c9w06922412kdxyrrkqblvggm76mh8z17hxz7g"))))
2757 (build-system cargo-build-system)
2759 `(#:cargo-development-inputs
2760 (("rust-winapi" ,rust-winapi))))
2761 (home-page "https://github.com/starkat99/widestring-rs")
2762 (synopsis "Wide string Rust FFI library")
2764 "A wide string Rust FFI library for converting to and from wide strings,
2765 such as those often used in Windows API or other FFI libaries. Both UTF-16 and
2766 UTF-32 types are provided, including support for malformed encoding.")
2767 (license (list license:asl2.0
2770 (define-public rust-winapi
2772 (name "rust-winapi")
2777 (uri (crate-uri "winapi" version))
2778 (file-name (string-append name "-" version ".tar.gz"))
2781 "1ii9j9lzrhwri0902652awifzx9fpayimbp6hfhhc296xcg0k4w0"))))
2782 (build-system cargo-build-system)
2785 (("rust-winapi-i686-pc-windows-gnu"
2786 ,rust-winapi-i686-pc-windows-gnu)
2787 ("rust-winapi-x86-64-pc-windows-gnu"
2788 ,rust-winapi-x86-64-pc-windows-gnu))))
2789 (home-page "https://github.com/retep998/winapi-rs")
2790 (synopsis "Raw FFI bindings for all of Windows API.")
2792 "Raw FFI bindings for all of Windows API.")
2793 (license (list license:asl2.0
2796 (define-public rust-winapi-0.2
2798 (inherit rust-winapi)
2799 (name "rust-winapi")
2804 (uri (crate-uri "winapi" version))
2805 (file-name (string-append name "-" version ".tar.gz"))
2808 "0yh816lh6lf56dpsgxy189c2ai1z3j8mw9si6izqb6wsjkbcjz8n"))))
2809 ;; We do not want to package 48 -sys crates for a package we do not want.
2810 ;; They are all dev dependencies, so we skip building and testing.
2814 (modify-phases %standard-phases
2815 (delete 'build))))))
2817 (define-public rust-winapi-build
2819 (name "rust-winapi-build")
2824 (uri (crate-uri "winapi-build" version))
2825 (file-name (string-append name "-" version ".tar.gz"))
2828 "1g4rqsgjky0a7530qajn2bbfcrl2v0zb39idgdws9b1l7gp5wc9d"))))
2829 (build-system cargo-build-system)
2830 (home-page "https://github.com/retep998/winapi-rs")
2831 (synopsis "Common code for build.rs in WinAPI -sys crates")
2833 "Common code for build.rs in WinAPI -sys crates.")
2834 (license license:expat)))
2836 (define-public rust-winapi-i686-pc-windows-gnu
2838 (name "rust-winapi-i686-pc-windows-gnu")
2843 (uri (crate-uri "winapi-i686-pc-windows-gnu" version))
2844 (file-name (string-append name "-" version ".tar.gz"))
2847 "1dmpa6mvcvzz16zg6d5vrfy4bxgg541wxrcip7cnshi06v38ffxc"))))
2848 (build-system cargo-build-system)
2849 (home-page "https://github.com/retep998/winapi-rs")
2850 (synopsis "Import libraries for the i686-pc-windows-gnu target")
2851 (description "This crate provides import libraries for the
2852 i686-pc-windows-gnu target. Please don't use this crate directly, depend on
2853 @code{winapi} instead.")
2854 (license (list license:asl2.0
2857 (define-public rust-winapi-util
2859 (name "rust-winapi-util")
2864 (uri (crate-uri "winapi-util" version))
2865 (file-name (string-append name "-" version ".tar.gz"))
2868 "1j839dc6y8vszvrsb7yk0qvs0w6asnahxzbyans37vnsw6vbls3i"))))
2869 (build-system cargo-build-system)
2871 `(#:cargo-inputs (("rust-winapi" ,rust-winapi))))
2872 (home-page "https://github.com/BurntSushi/winapi-util")
2873 (synopsis "Dumping ground for high level safe wrappers over winapi")
2875 "This package provides a dumping ground for high level safe wrappers over
2877 (license (list license:unlicense
2880 (define-public rust-winapi-x86-64-pc-windows-gnu
2882 (name "rust-winapi-x86-64-pc-windows-gnu")
2887 (uri (crate-uri "winapi-x86_64-pc-windows-gnu" version))
2888 (file-name (string-append name "-" version ".tar.gz"))
2891 "0gqq64czqb64kskjryj8isp62m2sgvx25yyj3kpc2myh85w24bki"))))
2892 (build-system cargo-build-system)
2893 (home-page "https://github.com/retep998/winapi-rs")
2894 (synopsis "Import libraries for the x86_64-pc-windows-gnu target")
2895 (description "This package provides import libraries for the
2896 x86_64-pc-windows-gnu target. Please don't use this crate directly, depend on
2897 @code{winapi} instead.")
2898 (license (list license:asl2.0
2901 (define-public rust-wincolor
2903 (name "rust-wincolor")
2908 (uri (crate-uri "wincolor" version))
2909 (file-name (string-append name "-" version ".tar.gz"))
2912 "1agaf3hcav113i86912ajnw6jxcy4rvkrgyf8gdj8kc031mh3xcn"))))
2913 (build-system cargo-build-system)
2916 (("rust-winapi" ,rust-winapi)
2917 ("rust-winapi-util" ,rust-winapi-util))))
2918 (home-page "https://github.com/BurntSushi/termcolor/tree/master/wincolor")
2919 (synopsis "Windows API for controlling text color in a Windows console")
2921 "This package provides a simple Windows specific API for controlling text
2922 color in a Windows console.")
2923 (license (list license:unlicense
2926 (define-public rust-winutil
2928 (name "rust-winutil")
2933 (uri (crate-uri "winutil" version))
2934 (file-name (string-append name "-" version ".tar.gz"))
2937 "0vkyl3fbbf05n5ph5yz8sfaccrk9x3qsr25560w6w68ldf5i7bvx"))))
2938 (build-system cargo-build-system)
2941 (("rust-winapi" ,rust-winapi))
2942 ;; This unmaintained crate cannot find winapi when built directly.
2945 (modify-phases %standard-phases
2947 (home-page "https://bitbucket.org/DaveLancaster/winutil")
2948 (synopsis "Library wrapping a handful of useful winapi functions")
2950 "A simple library wrapping a handful of useful winapi functions.")
2951 (license license:expat)))
2953 (define-public rust-ws2-32-sys
2955 (name "rust-ws2-32-sys")
2960 (uri (crate-uri "ws2_32-sys" version))
2961 (file-name (string-append name "-" version ".tar.gz"))
2964 "0ppscg5qfqaw0gzwv2a4nhn5bn01ff9iwn6ysqnzm4n8s3myz76m"))))
2965 (build-system cargo-build-system)
2968 (("rust-winapi" ,rust-winapi-0.2)
2969 ("rust-winapi-build" ,rust-winapi-build))
2971 (modify-phases %standard-phases
2972 (add-after 'unpack 'fix-Cargo-toml
2974 (substitute* "Cargo.toml"
2975 ((", path =.* }") "}\n"))
2977 (home-page "https://github.com/retep998/winapi-rs")
2978 (synopsis "Function definitions for the Windows API library ws2_32")
2980 "Contains function definitions for the Windows API library ws2_32.")
2981 (license license:expat)))
2983 (define-public rust-xdg
2990 (uri (crate-uri "xdg" version))
2991 (file-name (string-append name "-" version ".tar.gz"))
2994 "0mws8a0fr3cqk5nh7aq9lmkmhzghvasqy4mhw6nnza06l4d6i2fh"))))
2995 (build-system cargo-build-system)
2996 (home-page "https://github.com/whitequark/rust-xdg")
2997 (synopsis "Store and retrieve files according to XDG specification")
2999 "This package provides a library for storing and retrieving files according
3000 to XDG Base Directory specification")
3001 (license (list license:asl2.0