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-adler32
40 (uri (crate-uri "adler32" version))
42 (string-append name "-" version ".tar.gz"))
45 "0p7fxlnks9l7p7rwfqi7aqgnk2bps5zc0rjiw00mdw19nnbjjlky"))))
46 (build-system cargo-build-system)
48 `(#:cargo-development-inputs (("rust-rand" ,rust-rand))))
49 (home-page "https://github.com/remram44/adler32-rs")
50 (synopsis "Implementation of the Adler32 rolling hash algorithm")
52 "This library is an implementation of the Adler32 rolling hash algorithm in
53 the Rust programming language.")
54 (license (list license:bsd-3
57 (define-public rust-antidote
59 (name "rust-antidote")
64 (uri (crate-uri "antidote" version))
65 (file-name (string-append name "-" version ".tar.gz"))
68 "19g2sw2qa2ibnh4x7j1snk46593jgx6y7rnvva496ynq61af5z9l"))))
69 (build-system cargo-build-system)
70 (home-page "https://github.com/sfackler/rust-antidote")
71 (synopsis "Poison-free Mutex and RwLock types")
73 "These types expose identical APIs to the standard library @code{Mutex} and
74 @code{RwLock} except that they do not return @code{PoisonError}s.")
75 (license (list license:asl2.0
78 (define-public rust-atty
85 (uri (crate-uri "atty" version))
86 (file-name (string-append name "-" version ".tar.gz"))
89 "140sswp1bwqwc4zk80bxkbnfb3g936hgrb77g9g0k1zcld3wc0qq"))))
90 (build-system cargo-build-system)
93 (("rust-libc" ,rust-libc)
94 ("rust-winapi" ,rust-winapi))
95 #:tests? #f)) ; tests fail in our sandbox
96 (home-page "https://github.com/softprops/atty")
97 (synopsis "A simple interface for querying atty")
99 "This package provides a simple interface for querying atty.")
100 (license license:expat)))
102 (define-public rust-autocfg
104 (name "rust-autocfg")
109 (uri (crate-uri "autocfg" version))
110 (file-name (string-append name "-" version ".tar.gz"))
113 "0asl6fnc35yk5l2rxwhp25v128jgm45dp754h9z8x51b6n90w4r2"))))
114 (build-system cargo-build-system)
115 (home-page "https://github.com/cuviper/autocfg")
116 (synopsis "Automatic cfg for Rust compiler features")
117 (description "Rust library for build scripts to automatically configure
118 code based on compiler support. Code snippets are dynamically tested to see
119 if the @code{rustc} will accept them, rather than hard-coding specific version
121 (license (list license:asl2.0
124 (define-public rust-base-x
131 (uri (crate-uri "base-x" version))
132 (file-name (string-append name "-" version ".tar.gz"))
135 "0hv4y5cdhv6bk0ghk2434clw8v4mmk5cc9lsh6qrpri92zlfmx3n"))))
136 (build-system cargo-build-system)
138 `(#:cargo-development-inputs
139 (("rust-bencher" ,rust-bencher)
140 ("rust-json" ,rust-json)
141 ("rust-rand" ,rust-rand-0.3))))
142 (home-page "https://github.com/OrKoN/base-x-rs")
143 (synopsis "Encode/decode any base")
144 (description "This library provides for encoding and decoding any base.")
145 (license license:expat)))
147 (define-public rust-bencher
149 (name "rust-bencher")
154 (uri (crate-uri "bencher" version))
155 (file-name (string-append name "-" version ".tar.gz"))
158 "1x8p2xblgqssay8cdykp5pkfc0np0jk5bs5cx4f5av097aav9zbx"))))
159 (build-system cargo-build-system)
160 (home-page "https://github.com/bluss/bencher/")
161 (synopsis "Port of the libtest benchmark runner to Rust stable")
162 (description "This package provides a port of the libtest (unstable Rust)
163 benchmark runner to Rust stable releases. Supports running benchmarks and
164 filtering based on the name. Benchmark execution works exactly the same way
165 and no more (caveat: black_box is still missing!).")
166 (license (list license:asl2.0
169 (define-public rust-bitflags
171 (name "rust-bitflags")
176 (uri (crate-uri "bitflags" version))
177 (file-name (string-append name "-" version ".tar.gz"))
180 "1zc1qb1hwsnl2d8rhzicsv9kqd5b2hwbrscrcfw5as4sfr35659x"))))
181 (build-system cargo-build-system)
182 (home-page "https://github.com/bitflags/bitflags")
183 (synopsis "Macro to generate structures which behave like bitflags")
184 (description "This package provides a macro to generate structures which
185 behave like a set of bitflags.")
186 (license (list license:asl2.0
189 (define-public rust-blas-sys
191 (name "rust-blas-sys")
196 (uri (crate-uri "blas-sys" version))
197 (file-name (string-append name "-" version ".tar.gz"))
200 "0h14zjycwc76v15h8qll9z1xiryvmpvsb5gam97pqpdjrrwv5c8k"))))
201 (build-system cargo-build-system)
203 `(#:cargo-inputs (("rust-libc" ,rust-libc))))
204 (home-page "https://github.com/blas-lapack-rs/blas-sys")
205 (synopsis "Bindings to BLAS (Fortran)")
207 "Ths package provides bindings to BLAS (Fortran).")
208 (license (list license:asl2.0
211 (define-public rust-cblas-sys
213 (name "rust-cblas-sys")
218 (uri (crate-uri "cblas-sys" version))
219 (file-name (string-append name "-" version ".tar.gz"))
222 "0rgsn3klhhh09d8qf3b87zl4rwk93l2g0qzh9hhb0lff5kcfrzmn"))))
223 (build-system cargo-build-system)
225 `(#:cargo-inputs (("rust-libc" ,rust-libc))))
226 (home-page "https://github.com/blas-lapack-rs/cblas-sys")
227 (synopsis "Bindings to CBLAS (C)")
229 "The package provides bindings to CBLAS (C).")
230 (license (list license:asl2.0
233 (define-public rust-cc
240 (uri (crate-uri "cc" version))
241 (file-name (string-append name "-" version ".tar.gz"))
244 "1zxzd559dbbf1iwdzmkj7czapzccs17kqqmsj9ayijpdix5rrbld"))))
245 (build-system cargo-build-system)
248 ;(("rust-rayon" ,rust-rayon))
249 #:cargo-development-inputs
250 (("rust-tempdir" ,rust-tempdir))
252 (modify-phases %standard-phases
253 (add-after 'unpack 'remove-optional-deps
255 (substitute* "Cargo.toml.orig"
256 ((".*optional.*") "\n")
257 ((".*features.*") "")
258 ((".*parallel.*") ""))
259 (delete-file "Cargo.toml")
260 (copy-file "Cargo.toml.orig" "Cargo.toml")
262 #:tests? #f)) ; Tests require cc-test from git repo.
263 (home-page "https://github.com/alexcrichton/cc-rs")
264 (synopsis "Invoke the native C compiler")
266 "This package provides a build-time dependency for Cargo build scripts to
267 assist in invoking the native C compiler to compile native C code into a static
268 archive to be linked into Rustcode.")
269 (license (list license:asl2.0
272 (define-public rust-cfg-if
279 (uri (crate-uri "cfg-if" version))
280 (file-name (string-append name "-" version ".tar.gz"))
283 "0csygklgz3ybpr0670rkip49zh76m43ar3k7xgypkzbzrwycx1ml"))))
284 (build-system cargo-build-system)
285 (home-page "https://github.com/alexcrichton/cfg-if")
286 (synopsis "Define an item depending on parameters")
287 (description "This package provides a macro to ergonomically define an item
288 depending on a large number of #[cfg] parameters. Structured like an
289 @code{if-else} chain, the first matching branch is the item that gets emitted.")
290 (license (list license:asl2.0
293 (define-public rust-clicolors-control
295 (name "rust-clicolors-control")
300 (uri (crate-uri "clicolors-control" version))
301 (file-name (string-append name "-" version ".tar.gz"))
304 "1y80cgarxhrd1bz5yjm81r444v6flvy36aaxrrsac0yhfd6gvavk"))))
305 (build-system cargo-build-system)
308 (("rust-atty" ,rust-atty)
309 ("rust-lazy-static" ,rust-lazy-static)
310 ("rust-libc" ,rust-libc)
311 ("rust-winapi" ,rust-winapi))))
312 (home-page "https://github.com/mitsuhiko/clicolors-control")
313 (synopsis "Common utility library to control CLI colorization")
315 "This package provides a common utility library to control CLI
317 (license license:expat)))
319 (define-public rust-cloudabi
321 (name "rust-cloudabi")
326 (uri (crate-uri "cloudabi" version))
327 (file-name (string-append name "-" version ".tar.gz"))
330 "0kxcg83jlihy0phnd2g8c2c303px3l2p3pkjz357ll6llnd5pz6x"))))
331 (build-system cargo-build-system)
334 (("rust-bitflags" ,rust-bitflags))))
335 (home-page "https://nuxi.nl/cloudabi/")
336 (synopsis "Low level interface to CloudABI")
338 "Low level interface to CloudABI. Contains all syscalls and related types.")
339 (license license:bsd-2)))
341 (define-public rust-cmake
348 (uri (crate-uri "cmake" version))
349 (file-name (string-append name "-" version ".tar.gz"))
352 "0qkwibkvx5xjazvv9v8gvdlpky2jhjxvcz014nrixgzqfyv2byw1"))))
353 (build-system cargo-build-system)
355 `(#:cargo-inputs (("rust-cc" ,rust-cc))))
356 (home-page "https://github.com/alexcrichton/cmake-rs")
357 (synopsis "Rust build dependency for running cmake")
359 "This package provides a build dependency for running @code{cmake} to build
360 a native library. The CMake executable is assumed to be @code{cmake} unless the
361 CMAKE environmental variable is set.")
362 (license (list license:asl2.0
365 ;; This package requires features which are unavailable
366 ;; on the stable releases of Rust.
367 (define-public rust-compiler-builtins
369 (name "rust-compiler-builtins")
374 (uri (crate-uri "compiler_builtins" version))
375 (file-name (string-append name "-" version ".tar.gz"))
378 "1fpabpmg8paj4r5a37vmidh1jx1b7a6ilxm4s3xsxczx27ybjcjf"))))
379 (build-system cargo-build-system)
382 (("rust-cc" ,rust-cc)
383 ("rust-rustc-std-workspace-core"
384 ,rust-rustc-std-workspace-core))))
385 (home-page "https://github.com/rust-lang-nursery/compiler-builtins")
386 (synopsis "Compiler intrinsics used by the Rust compiler")
388 "This package provides compiler intrinsics used by the Rust compiler. This
389 package is primarily useful when building the @code{core} crate yourself and you
390 need compiler-rt intrinsics.")
391 (properties `((hidden? . #t)))
392 (license (list license:asl2.0
395 (define-public rust-constant-time-eq
397 (name "rust-constant-time-eq")
402 (uri (crate-uri "constant_time_eq" version))
403 (file-name (string-append name "-" version ".tar.gz"))
406 "083icpr9xb72rrdxw3p4068dcspn6ai22jy7rhl2a8grfz448nlr"))))
407 (build-system cargo-build-system)
408 (home-page "https://crates.io/crates/constant_time_eq")
410 "Compares two equal-sized byte strings in constant time")
412 "This package compares two equal-sized byte strings in constant time.
413 It is inspired by the Linux kernel's @code{crypto_memneq}.")
414 (license license:cc0)))
416 (define-public rust-core-foundation-sys
418 (name "rust-core-foundation-sys")
423 (uri (crate-uri "core-foundation-sys" version))
424 (file-name (string-append name "-" version ".tar.gz"))
427 "0fzsw1j9g1x598yhwklg59l15hwzc0pyvs01w9fg2kin4598mjp7"))))
428 (build-system cargo-build-system)
429 (home-page "https://github.com/servo/core-foundation-rs")
430 (synopsis "Bindings to Core Foundation for OS X")
432 "Bindings to Core Foundation for OS X.")
433 (license (list license:asl2.0
436 (define-public rust-data-encoding
438 (name "rust-data-encoding")
443 (uri (crate-uri "data-encoding" version))
444 (file-name (string-append name "-" version ".tar.gz"))
447 "15xd6afhsjl08285piwczrafmckpp8i29padj8v12xhahshprx7l"))))
448 (build-system cargo-build-system)
449 (home-page "https://github.com/ia0/data-encoding")
450 (synopsis "Efficient and customizable data-encoding functions")
452 "This library provides encodings for many different common cases, including
453 hexadecimal, bas32, and base64.")
454 (license license:expat)))
456 (define-public rust-defmac
463 (uri (crate-uri "defmac" version))
464 (file-name (string-append name "-" version ".tar.gz"))
467 "01ff3jdmcc5waffkwllndnx5hsn414r7x1rq4ib73n7awsyzxkxv"))))
468 (build-system cargo-build-system)
469 (home-page "https://github.com/bluss/defmac")
470 (synopsis "Macro to define lambda-like macros inline")
471 (description "A macro to define lambda-like macros inline.")
472 (license (list license:asl2.0
475 (define-public rust-defmac-0.1
477 (inherit rust-defmac)
483 (uri (crate-uri "defmac" version))
484 (file-name (string-append name "-" version ".tar.gz"))
487 "17giv0n0n1r64z0dahfvkjy3ys517jxyhs8sd9lmgvcljpjyryxa"))))))
489 (define-public rust-discard
491 (name "rust-discard")
496 (uri (crate-uri "discard" version))
497 (file-name (string-append name "-" version ".tar.gz"))
500 "1h67ni5bxvg95s91wgicily4ix7lcw7cq0a5gy9njrybaibhyb91"))))
501 (build-system cargo-build-system)
502 (home-page "https://github.com/Pauan/rust-discard")
503 (synopsis "Allow for intentionally leaking memory")
504 (description "There are situations where you need to intentionally leak some
505 memory but not other memory. This package provides a discard trait which allows
506 for intentionally leaking memory")
507 (license license:expat)))
509 (define-public rust-doc-comment
511 (name "rust-doc-comment")
516 (uri (crate-uri "doc-comment" version))
517 (file-name (string-append name "-" version ".tar.gz"))
520 "15rsqxgarfpb1yim9sbp9yfgj7p2dq6v51c6bq1a62paii9ylgcj"))))
521 (build-system cargo-build-system)
522 (home-page "https://github.com/GuillaumeGomez/doc-comment")
523 (synopsis "Macro to generate doc comments")
524 (description "This package provides a way to generate doc comments
526 (license license:expat)))
528 (define-public rust-dtoa
535 (uri (crate-uri "dtoa" version))
536 (file-name (string-append name "-" version ".tar.gz"))
539 "0phbm7i0dpn44gzi07683zxaicjap5064w62pidci4fhhciv8mza"))))
540 (build-system cargo-build-system)
541 (home-page "https://github.com/dtolnay/dtoa")
542 (synopsis "Fast functions for printing floating-point primitives")
543 (description "This crate provides fast functions for printing
544 floating-point primitives to an @code{io::Write}.")
545 (license (list license:asl2.0
548 (define-public rust-fallible-iterator
550 (name "rust-fallible-iterator")
555 (uri (crate-uri "fallible-iterator" version))
556 (file-name (string-append name "-" version ".tar.gz"))
559 "1xq759lsr8gqss7hva42azn3whgrbrs2sd9xpn92c5ickxm1fhs4"))))
560 (build-system cargo-build-system)
561 (home-page "https://github.com/sfackler/rust-fallible-iterator")
562 (synopsis "Fallible iterator traits")
563 (description "If the @code{std} or @code{alloc} features are enabled, this
564 crate provides implementations for @code{Box}, @code{Vec}, @code{BTreeMap}, and
565 @code{BTreeSet}. If the @code{std} feature is enabled, this crate additionally
566 provides implementations for @code{HashMap} and @code{HashSet}.")
567 (license (list license:asl2.0
570 (define-public rust-findshlibs
572 (name "rust-findshlibs")
577 (uri (crate-uri "findshlibs" version))
578 (file-name (string-append name "-" version ".tar.gz"))
581 "1n2vagn0q5yim32hxkwi1cjgp3yn1dm45p7z8nw6lapywihhs9mi"))))
582 (build-system cargo-build-system)
585 (("rust-lazy-static" ,rust-lazy-static)
586 ("rust-libc" ,rust-libc))))
587 (home-page "https://github.com/gimli-rs/findshlibs")
588 (synopsis "Find the set of shared libraries loaded in the current process")
590 "Find the set of shared libraries loaded in the current process with a
591 cross platform API.")
592 (license (list license:asl2.0
595 (define-public rust-fixedbitset
597 (name "rust-fixedbitset")
602 (uri (crate-uri "fixedbitset" version))
603 (file-name (string-append name "-" version ".tar.gz"))
606 "0czam11mi80dbyhf4rd4lz0ihcf7vkfchrdcrn45wbs0h40dxm46"))))
607 (build-system cargo-build-system)
608 (home-page "https://github.com/bluss/fixedbitset")
609 (synopsis "FixedBitSet is a simple bitset collection")
610 (description "FixedBitSet is a simple bitset collection.")
611 (license (list license:asl2.0
614 (define-public rust-fnv
621 (uri (crate-uri "fnv" version))
622 (file-name (string-append name "-" version ".tar.gz"))
625 "1ww56bi1r5b8id3ns9j3qxbi7w5h005rzhiryy0zi9h97raqbb9g"))))
626 (build-system cargo-build-system)
627 (home-page "https://github.com/servo/rust-fnv")
628 (synopsis "implementation of the Fowler-Noll-Vo hash function")
629 (description "The @code{fnv} hash function is a custom @code{Hasher}
630 implementation that is more efficient for smaller hash keys.")
631 (license (list license:asl2.0
634 (define-public rust-foreign-types-shared
636 (name "rust-foreign-types-shared")
641 (uri (crate-uri "foreign-types-shared" version))
642 (file-name (string-append name "-" version ".tar.gz"))
645 "0kanxlif1vp0ffh2r9l610jqbkmb3183yqykxq1z5w1vay2rn7y6"))))
646 (build-system cargo-build-system)
647 (home-page "https://github.com/sfackler/foreign-types")
648 (synopsis "An internal crate used by foreign-types")
650 "An internal crate used by foreign-types.")
651 (license (list license:asl2.0
654 (define-public rust-fs-extra
656 (name "rust-fs-extra")
661 (uri (crate-uri "fs_extra" version))
662 (file-name (string-append name "-" version ".tar.gz"))
665 "0x6675wdhsx277k1k1235jwcv38naf20d8kwrk948ds26hh4lajz"))))
666 (build-system cargo-build-system)
667 (home-page "https://github.com/webdesus/fs_extra")
668 (synopsis "Extra filesystem methods")
669 (description "Expanding opportunities standard library @code{std::fs} and
670 @code{std::io}. Recursively copy folders with recept information about
671 process and much more.")
672 (license license:expat)))
674 (define-public rust-fuchsia-cprng
676 (name "rust-fuchsia-cprng")
681 (uri (crate-uri "fuchsia-cprng" version))
682 (file-name (string-append name "-" version ".tar.gz"))
685 "1fnkqrbz7ixxzsb04bsz9p0zzazanma8znfdqjvh39n14vapfvx0"))))
686 (build-system cargo-build-system)
688 `(#:tests? #f)) ; tests require zircon
689 (home-page "https://fuchsia.googlesource.com/fuchsia/+/master/garnet/public/rust/fuchsia-cprng")
690 (synopsis "Fuchsia cryptographically secure pseudorandom number generator")
691 (description "Rust crate for the Fuchsia cryptographically secure
692 pseudorandom number generator")
693 (license license:bsd-3)))
695 (define-public rust-fuchsia-zircon
697 (name "rust-fuchsia-zircon")
702 (uri (crate-uri "fuchsia-zircon" version))
703 (file-name (string-append name "-" version ".tar.gz"))
706 "10jxc5ks1x06gpd0xg51kcjrxr35nj6qhx2zlc5n7bmskv3675rf"))))
707 (build-system cargo-build-system)
710 (("rust-bitflags" ,rust-bitflags)
711 ("rust-fuchsia-zircon-sys" ,rust-fuchsia-zircon-sys))
712 #:tests? #f)) ; tests require zircon
713 (home-page "https://fuchsia.googlesource.com/garnet/")
714 (synopsis "Rust bindings for the Zircon kernel")
715 (description "Rust bindings for the Zircon kernel.")
716 (license license:bsd-3)))
718 (define-public rust-fuchsia-zircon-sys
720 (name "rust-fuchsia-zircon-sys")
725 (uri (crate-uri "fuchsia-zircon-sys" version))
726 (file-name (string-append name "-" version ".tar.gz"))
729 "19zp2085qsyq2bh1gvcxq1lb8w6v6jj9kbdkhpdjrl95fypakjix"))))
730 (build-system cargo-build-system)
732 `(#:tests? #f)) ; tests require zircon
733 (home-page "https://fuchsia.googlesource.com/garnet/")
734 (synopsis "Low-level Rust bindings for the Zircon kernel")
735 (description "Low-level Rust bindings for the Zircon kernel.")
736 (license license:bsd-3)))
738 (define-public rust-futures
740 (name "rust-futures")
745 (uri (crate-uri "futures" version))
746 (file-name (string-append name "-" version ".tar.gz"))
749 "0saq8ffjw1pwf1pzhw3kq1z7dfq6wpd8x93dnni6vbkc799kkp25"))))
750 (build-system cargo-build-system)
751 (home-page "https://github.com/rust-lang-nursery/futures-rs")
752 (synopsis "Implementation of zero-cost futures in Rust")
753 (description "An implementation of @code{futures} and @code{streams}
754 featuring zero allocations, composability, and iterator-like interfaces.")
755 (license (list license:asl2.0
758 (define-public rust-futures-cpupool
760 (name "rust-futures-cpupool")
765 (uri (crate-uri "futures-cpupool" version))
766 (file-name (string-append name "-" version ".tar.gz"))
769 "1r32456gpblzfvnkf60545v8acqk7gh5zhyhi1jn669k9gicv45b"))))
770 (build-system cargo-build-system)
773 (("rust-futures" ,rust-futures)
774 ("rust-num-cpus" ,rust-num-cpus))))
775 (home-page "https://github.com/alexcrichton/futures-rs")
776 (synopsis "Implementation of thread pools which hand out futures")
778 "An implementation of thread pools which hand out futures to the results of
779 the computation on the threads themselves.")
780 (license (list license:asl2.0
783 (define-public rust-futures-io-preview
785 (name "rust-futures-io-preview")
786 (version "0.3.0-alpha.17")
790 (uri (crate-uri "futures-io-preview" version))
791 (file-name (string-append name "-" version ".tar.gz"))
794 "0fhvwhdb8ywjjbfng0ra1r8yyc9yzpyxg9sv3spb3f7w0lk40bh8"))))
795 (build-system cargo-build-system)
796 (home-page "https://rust-lang-nursery.github.io/futures-rs/")
797 (synopsis "Async read and write traits for the futures library")
798 (description "This crate provides the @code{AsyncRead} and
799 @code{AsyncWrite} traits for the @code{futures-rs} library.")
800 (license (list license:asl2.0
803 (define-public rust-heapsize
805 (name "rust-heapsize")
810 (uri (crate-uri "heapsize" version))
811 (file-name (string-append name "-" version ".tar.gz"))
814 "0q94q9ppqjgrw71swiyia4hgby2cz6dldp7ij57nkvhd6zmfcy8n"))))
815 (build-system cargo-build-system)
817 `(#:cargo-inputs (("rust-winapi" ,rust-winapi))
818 ;; Tests assume rust is built with jemalloc.
819 ;; https://github.com/servo/heapsize/issues/74
820 #:cargo-test-flags '("--features" "flexible-tests")))
821 (home-page "https://github.com/servo/heapsize")
822 (synopsis "Measure the total runtime size of an object on the heap")
824 "Infrastructure for measuring the total runtime size of an object on the
826 (license (list license:asl2.0
829 (define-public rust-heapsize-0.3
831 (inherit rust-heapsize)
832 (name "rust-heapsize")
837 (uri (crate-uri "heapsize" version))
838 (file-name (string-append name "-" version ".tar.gz"))
841 "0dmwc37vgsdjzk10443dj4f23439i9gch28jcwzmry3chrwx8v2m"))))
843 `(#:cargo-inputs (("rust-kernel32-sys" ,rust-kernel32-sys))
844 #:tests? #f)))) ;; No flexible-tests feature flags on this release.
846 ;; This package makes use of removed features
847 (define-public rust-heapsize-plugin
849 (name "rust-heapsize-plugin")
854 (uri (crate-uri "heapsize_plugin" version))
855 (file-name (string-append name "-" version ".tar.gz"))
858 "1i72isf699q9jl167g2kg4xd6h3cd05rc79zaph58aqjy0g0m9y9"))))
859 (build-system cargo-build-system)
861 `(#:cargo-development-inputs (("rust-heapsize" ,rust-heapsize-0.3))
863 (modify-phases %standard-phases
864 (add-after 'unpack 'fix-Cargo-toml
866 (substitute* "Cargo.toml"
867 (("path = \"..\", ") ""))
869 (home-page "https://github.com/servo/heapsize")
870 (synopsis "Measure runtime size of an object on the heap")
872 "This package automatically generates infrastructure for measuring the
873 total runtime size of an object on the heap")
874 (properties `((hidden? . #t)))
875 (license license:mpl2.0)))
877 (define-public rust-hex
884 (uri (crate-uri "hex" version))
885 (file-name (string-append name "-" version ".tar.gz"))
888 "0xsdcjiik5j750j67zk42qdnmm4ahirk3gmkmcqgq7qls2jjcl40"))))
889 (build-system cargo-build-system)
890 (home-page "https://github.com/KokaKiwi/rust-hex")
891 (synopsis "Encode and decode data to/from hexadecimals")
892 (description "This crate allows for encoding and decoding data into/from
893 hexadecimal representation.")
894 (license (list license:asl2.0
897 (define-public rust-hostname
899 (name "rust-hostname")
904 (uri (crate-uri "hostname" version))
905 (file-name (string-append name "-" version ".tar.gz"))
908 "0kprf862qaa7lwdms6aw7f3275h0j2rwhs9nz5784pm8hdmb9ki1"))))
909 (build-system cargo-build-system)
912 (("rust-libc" ,rust-libc)
913 ("rust-winutil" ,rust-winutil))))
914 (home-page "https://github.com/fengcen/hostname")
915 (synopsis "Get hostname for Rust")
917 "Get hostname for Rust.")
918 (license license:expat)))
920 (define-public rust-iovec
927 (uri (crate-uri "iovec" version))
928 (file-name (string-append name "-" version ".tar.gz"))
931 "025vi072m22299z3fg73qid188z2iip7k41ba6v5v5yhwwby9rnv"))))
932 (build-system cargo-build-system)
935 (("rust-libc" ,rust-libc)
936 ("rust-winapi" ,rust-winapi-0.2))))
937 (home-page "https://github.com/carllerche/iovec")
938 (synopsis "Portable buffer type for scatter/gather I/O operations")
940 "Portable buffer type for scatter/gather I/O operations.")
941 (license (list license:asl2.0
944 (define-public rust-itoa
951 (uri (crate-uri "itoa" version))
952 (file-name (string-append name "-" version ".tar.gz"))
955 "0zvg2d9qv3avhf3d8ggglh6fdyw8kkwqg3r4622ly5yhxnvnc4jh"))))
956 (build-system cargo-build-system)
957 (home-page "https://github.com/dtolnay/itoa")
958 (synopsis "Fast functions for printing integer primitives")
959 (description "This crate provides fast functions for printing integer
960 primitives to an @code{io::Write}.")
961 (license (list license:asl2.0
964 (define-public rust-json
971 (uri (crate-uri "json" version))
972 (file-name (string-append name "-" version ".tar.gz"))
975 "1hj8c6xj5c2aqqszi8naaflmcdbya1i9byyjrq4iybxjb4q91mq1"))))
976 (build-system cargo-build-system)
977 (home-page "https://github.com/maciejhirsz/json-rust")
978 (synopsis "JSON implementation in Rust")
979 (description "This crate provides a JSON implementation in Rust, reducing
980 friction with idiomatic Rust structs to ease interopability.")
981 (license (list license:asl2.0
984 (define-public rust-kernel32-sys
986 (name "rust-kernel32-sys")
991 (uri (crate-uri "kernel32-sys" version))
992 (file-name (string-append name "-" version ".tar.gz"))
995 "1389av0601a9yz8dvx5zha9vmkd6ik7ax0idpb032d28555n41vm"))))
996 (build-system cargo-build-system)
999 (("rust-winapi" ,rust-winapi-0.2)
1000 ("rust-winapi-build" ,rust-winapi-build))
1002 (modify-phases %standard-phases
1003 (add-after 'unpack 'fix-Cargo-toml
1005 (substitute* "Cargo.toml"
1006 ((", path =.* }") "}\n"))
1008 (home-page "https://github.com/retep998/winapi-rs")
1009 (synopsis "Function definitions for the Windows API library kernel32")
1010 (description "Contains function definitions for the Windows API library
1012 (license license:expat)))
1014 (define-public rust-language-tags
1016 (name "rust-language-tags")
1021 (uri (crate-uri "language-tags" version))
1022 (file-name (string-append name "-" version ".tar.gz"))
1025 "16hrjdpa827carq5x4b8zhas24d8kg4s16m6nmmn1kb7cr5qh7d9"))))
1026 (build-system cargo-build-system)
1029 (("rust-heapsize" ,rust-heapsize-0.3))
1030 #:cargo-development-inputs
1031 (("rust-heapsize-plugin" ,rust-heapsize-plugin))))
1032 (home-page "https://github.com/pyfisch/rust-language-tags")
1033 (synopsis "Language tags for Rust")
1035 "Language tags can be used identify human languages, scripts e.g. Latin
1036 script, countries and other regions. They are commonly used in HTML and HTTP
1037 @code{Content-Language} and @code{Accept-Language} header fields. This package
1038 currently supports parsing (fully conformant parser), formatting and comparing
1040 (license license:expat)))
1042 (define-public rust-lazy-static
1044 (name "rust-lazy-static")
1049 (uri (crate-uri "lazy_static" version))
1050 (file-name (string-append name "-" version ".tar.gz"))
1053 "052ac27w189hrf1j3hz7sga46rp84zl2hqnzyihxv78mgzr2jmxw"))))
1054 (build-system cargo-build-system)
1056 `(#:cargo-inputs (("rust-spin" ,rust-spin))))
1057 (home-page "https://github.com/rust-lang-nursery/lazy-static.rs")
1058 (synopsis "Macro for declaring lazily evaluated statics in Rust")
1060 "This package provides a macro for declaring lazily evaluated statics in
1061 Rust. Using this macro, it is possible to have @code{static}s that require code
1062 to be executed at runtime in order to be initialized. This includes anything
1063 requiring heap allocations, like vectors or hash maps, as well as anything that
1064 requires non-const function calls to be computed.")
1065 (license (list license:asl2.0
1068 (define-public rust-libc
1075 (uri (crate-uri "libc" version))
1077 (string-append name "-" version ".tar.gz"))
1080 "1fh69kpjg8hqff36kdczx7sax98gk4qs4ws1dwvjz0rgip0d5z1l"))))
1081 (build-system cargo-build-system)
1084 (("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core))))
1085 (home-page "https://github.com/rust-lang/libc")
1086 (synopsis "Raw FFI bindings to platform libraries like libc")
1088 "libc provides all of the definitions necessary to easily
1089 interoperate with C code (or \"C-like\" code) on each of the platforms
1090 that Rust supports. This includes type definitions (e.g., c_int),
1091 constants (e.g., EINVAL) as well as function headers (e.g., malloc).
1093 This crate exports all underlying platform types, functions, and
1094 constants under the crate root, so all items are accessible as
1095 @samp{libc::foo}. The types and values of all the exported APIs match
1096 the platform that libc is compiled for.")
1097 (license (list license:expat
1100 (define-public rust-libloading
1102 (name "rust-libloading")
1107 (uri (crate-uri "libloading" version))
1108 (file-name (string-append name "-" version ".tar.gz"))
1111 "0lyply8rcqc8agajzxs7bq6ivba9dnn1i68kgb9z2flnfjh13cgj"))))
1112 (build-system cargo-build-system)
1115 (("rust-cc" ,rust-cc)
1116 ("rust-winapi" ,rust-winapi))))
1117 (home-page "https://github.com/nagisa/rust_libloading/")
1118 (synopsis "Rust library for loading dynamic libraries")
1120 "A memory-safer wrapper around system dynamic library loading primitives.
1121 The most important safety guarantee by this library is prevention of
1122 dangling-Symbols that may occur after a Library is unloaded. Using this library
1123 allows loading dynamic libraries (also known as shared libraries) as well as use
1124 functions and static variables these libraries contain.")
1125 (license license:isc)))
1127 (define-public rust-log
1134 (uri (crate-uri "log" version))
1135 (file-name (string-append name "-" version ".tar.gz"))
1138 "0nsn28syc49vvjhxcfc8261rd1frhjc0r4bn9v3mqvps3ra7f3w8"))))
1139 (build-system cargo-build-system)
1140 (home-page "https://github.com/rust-lang-nursery/log")
1141 (synopsis "Lightweight logging")
1143 "This package provides a lightweight logging facade for Rust")
1144 (license (list license:asl2.0
1147 (define-public rust-maplit
1149 (name "rust-maplit")
1154 (uri (crate-uri "maplit" version))
1155 (file-name (string-append name "-" version ".tar.gz"))
1158 "0hsczmvd6zkqgzqdjp5hfyg7f339n68w83n4pxvnsszrzssbdjq8"))))
1159 (build-system cargo-build-system)
1160 (home-page "https://github.com/bluss/maplit")
1161 (synopsis "Collection of Map macros")
1162 (description "This crate provides a collection of @code{literal} macros for
1163 @code{HashMap}, @code{HashSet}, @code{BTreeMap}, and @code{BTreeSet.}")
1164 (license (list license:asl2.0
1167 (define-public rust-matches
1169 (name "rust-matches")
1174 (uri (crate-uri "matches" version))
1175 (file-name (string-append name "-" version ".tar.gz"))
1178 "020axl4q7rk9vz90phs7f8jas4imxal9y9kxl4z4v7a6719mrz3z"))))
1179 (build-system cargo-build-system)
1180 (home-page "https://github.com/SimonSapin/rust-std-candidates")
1181 (synopsis "Macro to evaluate whether an expression matches a pattern.")
1182 (description "This package provides a macro to evaluate, as a boolean,
1183 whether an expression matches a pattern.")
1184 (license license:expat)))
1186 (define-public rust-md5
1193 (uri (crate-uri "md5" version))
1194 (file-name (string-append name "-" version ".tar.gz"))
1197 "17b2xm4h4cvxsdjsf3kdrzqv2za60kak961xzi5kmw6g6djcssvy"))))
1198 (build-system cargo-build-system)
1199 (home-page "https://github.com/stainless-steel/md5")
1200 (synopsis "MD5 hash function in Rust")
1201 (description "The package provides the MD5 hash function.")
1202 (license (list license:asl2.0
1205 (define-public rust-memmap
1207 (name "rust-memmap")
1212 (uri (crate-uri "memmap" version))
1213 (file-name (string-append name "-" version ".tar.gz"))
1216 "0ns7kkd1h4pijdkwfvw4qlbbmqmlmzwlq3g2676dcl5vwyazv1b5"))))
1217 (build-system cargo-build-system)
1220 (("rust-libc" ,rust-libc)
1221 ("rust-winapi" ,rust-winapi))
1222 #:cargo-development-inputs
1223 (("rust-tempdir" ,rust-tempdir))))
1224 (home-page "https://github.com/danburkert/memmap-rs")
1225 (synopsis "Rust library for cross-platform memory mapped IO")
1227 "This package provides a cross-platform Rust API for memory-mapped
1229 (license (list license:asl2.0
1232 (define-public rust-memmap-0.6
1234 (inherit rust-memmap)
1235 (name "rust-memmap")
1240 (uri (crate-uri "memmap" version))
1241 (file-name (string-append name "-" version ".tar.gz"))
1244 "1zy6s0ni0lx9rjzq3gq2zz9r8zgjmbp02332g3gsj4fyhv4s5zz2"))))
1247 (("rust-libc" ,rust-libc)
1248 ("rust-winapi" ,rust-winapi))
1249 #:cargo-development-inputs
1250 (("rust-tempdir" ,rust-tempdir))))))
1252 (define-public rust-mime
1259 (uri (crate-uri "mime" version))
1260 (file-name (string-append name "-" version ".tar.gz"))
1263 "09clbyvdkwflp8anwjhqdib0sw8191gphcchdp80nc8ayhhwl9ry"))))
1264 (build-system cargo-build-system)
1267 (("rust-unicase" ,rust-unicase))))
1268 (home-page "https://github.com/hyperium/mime")
1269 (synopsis "Strongly Typed Mimes")
1271 "Support MIME (HTTP Media Types) as strong types in Rust.")
1272 (license (list license:asl2.0
1275 (define-public rust-miniz-oxide
1277 (name "rust-miniz-oxide")
1282 (uri (crate-uri "miniz_oxide" version))
1283 (file-name (string-append name "-" version ".tar.gz"))
1286 "041s41l5w7z8pkp93pdzn8rngxr93q4wxp034pr0cvc7bgway23i"))))
1287 (build-system cargo-build-system)
1290 (("rust-adler32" ,rust-adler32))
1292 (modify-phases %standard-phases
1293 (add-after 'unpack 'fix-tests
1295 (substitute* "tests/test.rs"
1296 (("../miniz/miniz.c") "Cargo.toml"))
1298 (home-page "https://github.com/Frommi/miniz_oxide/tree/master/miniz_oxide")
1299 (synopsis "Pure rust replacement for the miniz DEFLATE/zlib encoder/decoder")
1301 "A pure rust replacement for the miniz DEFLATE/zlib encoder/decoder. Using
1302 @code{flate2} with the @code{rust_backend} feature provides an easy to use
1303 streaming API for miniz_oxide.")
1304 (license license:expat)))
1306 (define-public rust-modifier
1308 (name "rust-modifier")
1313 (uri (crate-uri "modifier" version))
1314 (file-name (string-append name "-" version ".tar.gz"))
1317 "0n3fmgli1nsskl0whrfzm1gk0rmwwl6pw1q4nb9sqqmn5h8wkxa1"))))
1318 (build-system cargo-build-system)
1319 (home-page "https://github.com/reem/rust-modifier")
1321 "Chaining APIs for both self -> Self and &mut self methods.")
1323 "Chaining APIs for both self -> Self and &mut self methods.")
1324 (license license:expat)))
1326 (define-public rust-net2
1333 (uri (crate-uri "net2" version))
1334 (file-name (string-append name "-" version ".tar.gz"))
1337 "126g3fgfxp06zimc1l9iyxnn9cif1hjsg7sd81nlls5nnyghsma2"))))
1338 (build-system cargo-build-system)
1341 (("rust-cfg-if" ,rust-cfg-if)
1342 ("rust-libc" ,rust-libc)
1343 ("rust-winapi" ,rust-winapi))))
1344 (home-page "https://github.com/rust-lang-nursery/net2-rs")
1345 (synopsis "Extensions to the standard library's networking types")
1347 "This library contains extensions to the standard library's networking
1348 types as proposed in RFC 1158.")
1349 (license (list license:asl2.0
1352 (define-public rust-nodrop
1354 (name "rust-nodrop")
1359 (uri (crate-uri "nodrop" version))
1360 (file-name (string-append name "-" version ".tar.gz"))
1363 "0if9ifn6rvar5jirx4b3qh4sl5kjkmcifycvzhxa9j3crkfng5ig"))))
1364 (build-system cargo-build-system)
1367 (("rust-nodrop-union" ,rust-nodrop-union))))
1368 (home-page "https://github.com/bluss/arrayvec")
1369 (synopsis "Wrapper type to inhibit drop (destructor)")
1370 (description "This package provides a wrapper type to inhibit drop
1371 (destructor). Use @code{std::mem::ManuallyDrop} instead!")
1372 (license (list license:asl2.0
1375 ;; This package requires features which are unavailable
1376 ;; on the stable releases of Rust.
1377 (define-public rust-nodrop-union
1379 (name "rust-nodrop-union")
1384 (uri (crate-uri "nodrop-union" version))
1385 (file-name (string-append name "-" version ".tar.gz"))
1388 "0jsnkdn9l8jlmb9h4wssi76sxnyxwnyi00p6y1p2gdq7c1gdw2b7"))))
1389 (build-system cargo-build-system)
1390 (home-page "https://github.com/bluss/arrayvec")
1391 (synopsis "Wrapper type to inhibit drop (destructor)")
1392 (description "This package provides a wrapper type to inhibit drop
1393 (destructor). Implementation crate for nodrop, the untagged unions
1394 implementation (which is unstable / requires nightly).")
1395 (properties '((hidden? . #t)))
1396 (license (list license:asl2.0
1399 (define-public rust-num-cpus
1401 (name "rust-num-cpus")
1406 (uri (crate-uri "num_cpus" version))
1407 (file-name (string-append name "-" version ".tar.gz"))
1410 "0wrj3zvj6h3q26sqj9zxpd59frjb54n7jhjwf307clq31ic47vxw"))))
1411 (build-system cargo-build-system)
1414 (("rust-libc" ,rust-libc))
1415 #:cargo-development-inputs
1416 (("rust-doc-comment" ,rust-doc-comment))))
1417 (home-page "https://github.com/seanmonstar/num_cpus")
1418 (synopsis "Get the number of CPUs on a machine")
1420 "Get the number of CPUs on a machine.")
1421 (license (list license:asl2.0
1424 (define-public rust-num-integer
1426 (name "rust-num-integer")
1431 (uri (crate-uri "num-integer" version))
1433 (string-append name "-" version ".tar.gz"))
1436 "02dwjjpfbi16c71fq689s4sw3ih52cvfzr5z5gs6qpr5z0g58pmq"))))
1437 (build-system cargo-build-system)
1440 (("rust-autocfg" ,rust-autocfg)
1441 ("rust-num-traits" ,rust-num-traits))))
1442 (home-page "https://github.com/rust-num/num-integer")
1443 (synopsis "Integer traits and functions")
1444 (description "Integer traits and functions.")
1446 (license (list license:asl2.0
1449 (define-public rust-num-iter
1451 (name "rust-num-iter")
1456 (uri (crate-uri "num-iter" version))
1457 (file-name (string-append name "-" version ".tar.gz"))
1460 "0bhk2qbr3261r6zvfc58lz4spfqjhvdripxgz5mks5rd85r55gbn"))))
1461 (build-system cargo-build-system)
1464 (("rust-num-integer" ,rust-num-integer)
1465 ("rust-num-traits" ,rust-num-traits))
1466 #:cargo-development-inputs
1467 (("rust-autocfg" ,rust-autocfg))))
1468 (home-page "https://github.com/rust-num/num-iter")
1469 (synopsis "External iterators for generic mathematics")
1471 "This crate provides external iterators for generic mathematics.")
1472 (license (list license:asl2.0
1475 (define-public rust-num-traits
1477 (name "rust-num-traits")
1482 (uri (crate-uri "num-traits" version))
1484 (string-append name "-" version ".tar.gz"))
1487 "0clvrm34rrqc8p6gq5ps5fcgws3kgq5knh7nlqxf2ayarwks9abb"))))
1488 (build-system cargo-build-system)
1491 (("rust-autocfg" ,rust-autocfg))))
1492 (home-page "https://github.com/rust-num/num-traits")
1493 (synopsis "Numeric traits for generic mathematics")
1494 (description "Numeric traits for generic mathematics.")
1496 (license (list license:asl2.0
1499 (define-public rust-owning-ref
1501 (name "rust-owning-ref")
1506 (uri (crate-uri "owning_ref" version))
1507 (file-name (string-append name "-" version ".tar.gz"))
1510 "04zgwy77lin8qz398s6g44467pd6kjhbrlqifkia5rkr47mbi929"))))
1511 (build-system cargo-build-system)
1514 (("rust-stable-deref-trait" ,rust-stable-deref-trait))))
1515 (home-page "https://github.com/Kimundi/owning-ref-rs")
1516 (synopsis "Create references that carry their owner with them")
1518 "This package provides a library for creating references that carry their
1519 owner with them. This can sometimes be useful because Rust borrowing rules
1520 normally prevent moving a type that has been borrowed from.")
1521 (license license:expat)))
1523 (define-public rust-peeking-take-while
1525 (name "rust-peeking-take-while")
1530 (uri (crate-uri "peeking_take_while" version))
1531 (file-name (string-append name "-" version ".tar.gz"))
1534 "16bhqr6rdyrp12zv381cxaaqqd0pwysvm1q8h2ygihvypvfprc8r"))))
1535 (build-system cargo-build-system)
1536 (home-page "https://github.com/fitzgen/peeking_take_while")
1537 (synopsis "Provides the peeking_take_while iterator adaptor method")
1539 "Like @code{Iterator::take_while}, but calls the predicate on a peeked
1540 value. This allows you to use @code{Iterator::by_ref} and
1541 @code{Iterator::take_while} together, and still get the first value for which
1542 the @code{take_while} predicate returned false after dropping the @code{by_ref}.")
1543 (license (list license:asl2.0
1546 (define-public rust-percent-encoding
1548 (name "rust-percent-encoding")
1553 (uri (crate-uri "percent-encoding" version))
1554 (file-name (string-append name "-" version ".tar.gz"))
1557 "0m6rkp3iy11la04p6z3492rns6n693pvmx585dvfmzzlzak2hkxs"))))
1558 (build-system cargo-build-system)
1559 (home-page "https://github.com/servo/rust-url/")
1560 (synopsis "Percent encoding and decoding")
1561 (description "This crate provides percent encoding and decoding.")
1562 (license (list license:asl2.0
1565 (define-public rust-permutohedron
1567 (name "rust-permutohedron")
1572 (uri (crate-uri "permutohedron" version))
1573 (file-name (string-append name "-" version ".tar.gz"))
1576 "0b1pzh48j86v46wxngch6k1kx9cdw3jr3lwa86gd6jd4bmxzz1xn"))))
1577 (build-system cargo-build-system)
1578 (home-page "https://github.com/bluss/permutohedron")
1579 (synopsis "Generate permutations of sequences")
1581 "Generate permutations of sequences. Either lexicographical order
1582 permutations, or a minimal swaps permutation sequence implemented using Heap's
1584 (license (list license:asl2.0
1587 (define-public rust-pin-utils
1589 (name "rust-pin-utils")
1590 (version "0.1.0-alpha.4")
1594 (uri (crate-uri "pin-utils" version))
1595 (file-name (string-append name "-" version ".tar.gz"))
1598 "11xmyx00n4m37d546by2rxb8ryxs12v55cc172i3yak1rqccd52q"))))
1599 (build-system cargo-build-system)
1600 (home-page "https://github.com/rust-lang-nursery/pin-utils")
1601 (synopsis "Utilities for pinning")
1602 (description "This crate provides utilities for pinning values on the stack.")
1603 (license (list license:asl2.0
1606 (define-public rust-pkg-config
1608 (name "rust-pkg-config")
1613 (uri (crate-uri "pkg-config" version))
1614 (file-name (string-append name "-" version ".tar.gz"))
1617 "135ia995lqzr0gxpk85h0bjxf82kj6hbxdx924sh9jdln6r8wvk7"))))
1618 (build-system cargo-build-system)
1620 `(#:cargo-development-inputs
1621 (("rust-lazy-static" ,rust-lazy-static))))
1623 `(("pkg-config" ,pkg-config)))
1624 (home-page "https://github.com/alexcrichton/pkg-config-rs")
1625 (synopsis "Library to run the pkg-config system tool")
1627 "A library to run the pkg-config system tool at build time in order to be
1628 used in Cargo build scripts.")
1629 (license (list license:asl2.0
1632 (define-public rust-plain
1639 (uri (crate-uri "plain" version))
1640 (file-name (string-append name "-" version ".tar.gz"))
1643 "19n1xbxb4wa7w891268bzf6cbwq4qvdb86bik1z129qb0xnnnndl"))))
1644 (build-system cargo-build-system)
1645 (home-page "https://github.com/randomites/plain")
1646 (synopsis "Rust library that allows reinterpreting data safely")
1647 (description "This package provides a small Rust library that allows users
1648 to reinterpret data of certain types safely.")
1649 (license (list license:asl2.0
1652 (define-public rust-plugin
1654 (name "rust-plugin")
1659 (uri (crate-uri "plugin" version))
1660 (file-name (string-append name "-" version ".tar.gz"))
1663 "1q7nghkpvxxr168y2jnzh3w7qc9vfrby9n7ygy3xpj0bj71hsshs"))))
1664 (build-system cargo-build-system)
1667 (("rust-typemap" ,rust-typemap))
1668 #:cargo-development-inputs
1669 (("rust-void" ,rust-void))))
1670 (home-page "https://github.com/reem/rust-plugin")
1671 (synopsis "Lazily evaluated, order-independent plugins for extensible types")
1673 "Lazily evaluated, order-independent plugins for extensible types.")
1674 (license license:expat)))
1676 (define-public rust-pocket-resources
1678 (name "rust-pocket-resources")
1683 (uri (crate-uri "pocket-resources" version))
1684 (file-name (string-append name "-" version ".tar.gz"))
1687 "1n2i5vmi8fdbw89wm5nz1ws1z9f1qax911p6ksg4scmdg23z6df1"))))
1688 (build-system cargo-build-system)
1689 (home-page "https://github.com/tomaka/pocket-resources")
1690 (synopsis "Include resources in your applications")
1691 (description "This crate allows you to include resources in your
1693 (license license:expat)))
1695 (define-public rust-ppv-lite86
1697 (name "rust-ppv-lite86")
1702 (uri (crate-uri "ppv-lite86" version))
1703 (file-name (string-append name "-" version ".tar.gz"))
1706 "06snnv338w341nicfqba2jgln5dsla72ndkgrw7h1dfdb3vgkjz3"))))
1707 (build-system cargo-build-system)
1708 (home-page "https://github.com/cryptocorrosion/cryptocorrosion")
1709 (synopsis "Implementation of the crypto-simd API for x86")
1710 (description "This crate provides an implementation of the crypto-simd API
1712 (license (list license:asl2.0
1715 (define-public rust-proc-macro2
1717 (name "rust-proc-macro2")
1722 (uri (crate-uri "proc-macro2" version))
1724 (string-append name "-" version ".tar.gz"))
1727 "0nd71fl24sys066jrha6j7i34nfkjv44yzw8yww9742wmc8j0gfg"))))
1728 (build-system cargo-build-system)
1730 `(#:cargo-inputs (("rust-unicode-xid" ,rust-unicode-xid-0.1))
1731 #:cargo-development-inputs (("rust-quote" ,rust-quote))))
1732 (home-page "https://github.com/alexcrichton/proc-macro2")
1733 (synopsis "Stable implementation of the upcoming new `proc_macro` API")
1734 (description "This package provides a stable implementation of the upcoming new
1735 `proc_macro` API. Comes with an option, off by default, to also reimplement itself
1736 in terms of the upstream unstable API.")
1738 (license (list license:asl2.0 license:expat))))
1740 (define-public rust-quick-error
1742 (name "rust-quick-error")
1747 (uri (crate-uri "quick-error" version))
1748 (file-name (string-append name "-" version ".tar.gz"))
1751 "1w6kgwwv7p7zr0yyg5rb315lkk24bimywklwx7fsvsbwi10bjx4j"))))
1752 (build-system cargo-build-system)
1753 (home-page "http://github.com/tailhook/quick-error")
1754 (synopsis "Macro which makes error types pleasant to write")
1755 (description "This crate provides a macro which makes error types pleasant
1757 (license (list license:asl2.0
1760 (define-public rust-quote
1767 (uri (crate-uri "quote" version))
1769 (string-append name "-" version ".tar.gz"))
1772 "1nw0klza45hf127kfyrpxsxd5jw2l6h21qxalil3hkr7bnf7kx7s"))))
1773 (build-system cargo-build-system)
1775 `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2))))
1776 (home-page "https://github.com/dtolnay/quote")
1777 (synopsis "Quasi-quoting macro quote!(...)")
1778 (description "Quasi-quoting macro quote!(...)")
1780 (license (list license:asl2.0 license:expat))))
1782 (define-public rust-rand
1789 (uri (crate-uri "rand" version))
1790 (file-name (string-append name "-" version ".tar.gz"))
1793 "1gfgnqfj2pyh27dcb720jpawskllwnbvxh816ddyykv269xz8ml3"))))
1794 (build-system cargo-build-system)
1797 (("rust-fuchsia-zircon" ,rust-fuchsia-zircon)
1798 ("rust-libc" ,rust-libc)
1799 ("rust-winapi" ,rust-winapi))))
1800 (home-page "https://crates.io/crates/rand")
1801 (synopsis "Random number generators and other randomness functionality")
1803 "Rand provides utilities to generate random numbers, to convert them to
1804 useful types and distributions, and some randomness-related algorithms.")
1805 (license (list license:asl2.0
1808 (define-public rust-rand-0.3
1816 (uri (crate-uri "rand" version))
1817 (file-name (string-append name "-" version ".tar.gz"))
1820 "0v679h38pjjqj5h4md7v2slsvj6686qgcn7p9fbw3h43iwnk1b34"))))
1823 (("rust-libc" ,rust-libc)
1824 ("rust-rand" ,rust-rand))))))
1826 (define-public rust-rawpointer
1828 (name "rust-rawpointer")
1833 (uri (crate-uri "rawpointer" version))
1834 (file-name (string-append name "-" version ".tar.gz"))
1837 "06ghpm9y7gacks78s3maakha07kbnwrxif5q37r2l7z1sali3b7b"))))
1838 (build-system cargo-build-system)
1839 (home-page "https://github.com/bluss/rawpointer/")
1840 (synopsis "Extra methods for raw pointers")
1841 (description "Extra methods for raw pointers. For example
1842 @code{.post_inc()} and @code{.pre_dec()} (c.f. @code{ptr++} and @code{--ptr})
1843 and @code{ptrdistance}.")
1844 (license (list license:asl2.0
1847 ;; This package requires features which are unavailable
1848 ;; on the stable releases of Rust.
1849 (define-public rust-redox-syscall ; guix upstreamable
1851 (name "rust-redox-syscall")
1856 (uri (crate-uri "redox_syscall" version))
1857 (file-name (string-append name "-" version ".tar.gz"))
1860 "110y7dyfm2vci4x5vk7gr0q551dvp31npl99fnsx2fb17wzwcf94"))))
1861 (build-system cargo-build-system)
1862 (home-page "https://gitlab.redox-os.org/redox-os/syscall")
1863 (synopsis "Rust library to access raw Redox system calls")
1864 (description "This package provides a Rust library to access raw Redox
1866 (properties '((hidden? . #t)))
1867 (license license:expat)))
1869 (define-public rust-regex-syntax
1871 (name "rust-regex-syntax")
1876 (uri (crate-uri "regex-syntax" version))
1877 (file-name (string-append name "-" version ".tar.gz"))
1880 "0p47lf38yj2g2fnmvnraccqlxwk35zr76hlnqi8yva932nzqam6d"))))
1881 (build-system cargo-build-system)
1884 (("rust-ucd-util" ,rust-ucd-util))))
1885 (home-page "https://github.com/rust-lang/regex")
1886 (synopsis "Regular expression parser")
1888 "This package provides a regular expression parser.")
1889 (license (list license:asl2.0
1892 (define-public rust-remove-dir-all
1894 (name "rust-remove-dir-all")
1899 (uri (crate-uri "remove_dir_all" version))
1900 (file-name (string-append name "-" version ".tar.gz"))
1903 "0bkrlyg26mgizpiy1yb2hhpgscxcag8r5fnckqsvk25608vzm0sa"))))
1904 (build-system cargo-build-system)
1907 (("rust-winapi" ,rust-winapi))
1908 #:cargo-development-inputs
1909 (("rust-doc-comment" ,rust-doc-comment))
1911 (modify-phases %standard-phases
1912 (add-after 'unpack 'fix-source
1913 ;; The test phase expects there to be a README.md in the root directory.
1915 (invoke "touch" "README.md"))))))
1916 (home-page "https://github.com/XAMPPRocky/remove_dir_all.git")
1917 (synopsis "Implementation of remove_dir_all for Windows")
1919 "This package provides a safe, reliable implementation of
1920 @code{remove_dir_all} for Windows")
1921 (license (list license:asl2.0
1924 (define-public rust-resolv-conf
1926 (name "rust-resolv-conf")
1931 (uri (crate-uri "resolv-conf" version))
1932 (file-name (string-append name "-" version ".tar.gz"))
1935 "1jvdsmksdf6yiipm3aqahyv8n1cjd7wqc8sa0p0gzsax3fmb8qxj"))))
1936 (build-system cargo-build-system)
1939 (("rust-quick-error" ,rust-quick-error)
1940 ("rust-hostname" ,rust-hostname))
1941 #:cargo-test-flags '("--release" "--lib" "--examples"))) ; doc tests fail
1942 (home-page "https://github.com/tailhook/resolv-conf")
1943 (synopsis "/etc/resolv.conf parser")
1945 "An /etc/resolv.conf parser crate for Rust.")
1946 (license (list license:asl2.0
1949 (define-public rust-rustc-serialize
1951 (name "rust-rustc-serialize")
1956 (uri (crate-uri "rustc-serialize" version))
1957 (file-name (string-append name "-" version ".tar.gz"))
1960 "1nkg3vasg7nk80ffkazizgiyv3hb1l9g3d8h17cajbkx538jiwfw"))))
1961 (build-system cargo-build-system)
1963 `(#:cargo-development-inputs
1964 (("rust-rand" ,rust-rand-0.3))))
1965 (home-page "https://github.com/rust-lang-deprecated/rustc-serialize")
1966 (synopsis "Generic serialization/deserialization support")
1968 "This package provides generic serialization/deserialization support
1969 corresponding to the @code{derive(RustcEncodable, RustcDecodable)} mode in the
1970 compiler. Also includes support for hex, base64, and json encoding and
1972 (license (list license:asl2.0
1975 (define-public rust-rustc-std-workspace-core
1977 (name "rust-rustc-std-workspace-core")
1982 (uri (crate-uri "rustc-std-workspace-core" version))
1983 (file-name (string-append name "-" version ".tar.gz"))
1986 "1309xhwyai9xpz128xrfjqkmnkvgjwddznmj7brbd8i8f58zamhr"))))
1987 (build-system cargo-build-system)
1988 (home-page "https://crates.io/crates/rustc-std-workspace-core")
1989 (synopsis "Explicitly empty crate for rust-lang/rust integration")
1990 (description "This crate provides an explicitly empty crate for
1991 rust-lang/rust integration.")
1992 (license (list license:asl2.0
1995 (define-public rust-safemem
1997 (name "rust-safemem")
2002 (uri (crate-uri "safemem" version))
2003 (file-name (string-append name "-" version ".tar.gz"))
2006 "1l1ljkm4lpyryrv2ndaxi1f7z1f3v9bwy1rzl9f9mbhx04iq9c6j"))))
2007 (build-system cargo-build-system)
2008 (home-page "https://github.com/abonander/safemem")
2009 (synopsis "Safe wrappers for memory-accessing functions")
2011 "Safe wrappers for memory-accessing functions, like @code{std::ptr::copy()}.")
2012 (license (list license:asl2.0
2015 (define-public rust-same-file
2017 (name "rust-same-file")
2022 (uri (crate-uri "same-file" version))
2023 (file-name (string-append name "-" version ".tar.gz"))
2026 "08a4zy10pjindf2rah320s6shgswk13mqw7s61m8i1y1xpf8spjq"))))
2027 (build-system cargo-build-system)
2030 (("rust-winapi-util" ,rust-winapi-util))))
2031 (home-page "https://github.com/BurntSushi/same-file")
2032 (synopsis "Determine whether two file paths point to the same file")
2034 "This package provides a simple crate for determining whether two file
2035 paths point to the same file.")
2036 (license (list license:unlicense
2039 (define-public rust-schannel
2041 (name "rust-schannel")
2046 (uri (crate-uri "schannel" version))
2047 (file-name (string-append name "-" version ".tar.gz"))
2050 "0f9k4pm8yc3z0n1n8hazvnrvg52f0sfxjc91bhf3r76rb3rapxpj"))))
2051 (build-system cargo-build-system)
2054 (("rust-lazy-static" ,rust-lazy-static)
2055 ("rust-winapi" ,rust-winapi))))
2056 (home-page "https://github.com/steffengy/schannel-rs")
2057 (synopsis "Rust bindings to the Windows SChannel APIs")
2059 "Rust bindings to the Windows SChannel APIs providing TLS client and
2060 server functionality.")
2061 (license license:expat)))
2063 (define-public rust-scoped-threadpool
2065 (name "rust-scoped-threadpool")
2070 (uri (crate-uri "scoped_threadpool" version))
2071 (file-name (string-append name "-" version ".tar.gz"))
2074 "1a26d3lk40s9mrf4imhbik7caahmw2jryhhb6vqv6fplbbgzal8x"))))
2075 (build-system cargo-build-system)
2077 `(#:cargo-development-inputs
2078 (("rust-lazy-static" ,rust-lazy-static))))
2079 (home-page "https://github.com/Kimundi/scoped-threadpool-rs")
2080 (synopsis "library for scoped and cached threadpools")
2082 "This crate provides a stable, safe and scoped threadpool. It can be used
2083 to execute a number of short-lived jobs in parallel without the need to respawn
2084 the underlying threads. Jobs are runnable by borrowing the pool for a given
2085 scope, during which an arbitrary number of them can be executed. These jobs can
2086 access data of any lifetime outside of the pools scope, which allows working on
2087 non-'static references in parallel.")
2088 (license (list license:asl2.0
2091 (define-public rust-scoped-tls
2093 (name "rust-scoped-tls")
2098 (uri (crate-uri "scoped-tls" version))
2099 (file-name (string-append name "-" version ".tar.gz"))
2102 "1hj8lifzvivdb1z02lfnzkshpvk85nkgzxsy2hc0zky9wf894spa"))))
2103 (build-system cargo-build-system)
2104 (home-page "https://github.com/alexcrichton/scoped-tls")
2105 (synopsis "Rust library providing the old standard library's scoped_thread_local")
2106 (description "This crate provides a library implementation of the standard
2107 library's old @code{scoped_thread_local!} macro for providing scoped access to
2108 @dfn{thread local storage} (TLS) so any type can be stored into TLS.")
2109 (license (list license:asl2.0
2112 (define-public rust-scoped-tls-0.1
2114 (inherit rust-scoped-tls)
2115 (name "rust-scoped-tls")
2120 (uri (crate-uri "scoped-tls" version))
2121 (file-name (string-append name "-" version ".tar.gz"))
2124 "0a2bn9d2mb07c6l16sadijy4p540g498zddfxyiq4rsqpwrglbrk"))))))
2126 (define-public rust-scopeguard
2128 (name "rust-scopeguard")
2133 (uri (crate-uri "scopeguard" version))
2134 (file-name (string-append name "-" version ".tar.gz"))
2137 "03aay84r1f6w87ckbpj6cc4rnsxkxcfs13n5ynxjia0qkgjiabml"))))
2138 (build-system cargo-build-system)
2139 (home-page "https://github.com/bluss/scopeguard")
2140 (synopsis "Scope guard which will run a closure even out of scope")
2141 (description "This package provides a RAII scope guard that will run a
2142 given closure when it goes out of scope, even if the code between panics
2143 (assuming unwinding panic). Defines the macros @code{defer!},
2144 @code{defer_on_unwind!}, @code{defer_on_success!} as shorthands for guards
2145 with one of the implemented strategies.")
2146 (license (list license:asl2.0
2149 (define-public rust-scopeguard-0.3
2151 (inherit rust-scopeguard)
2152 (name "rust-scopeguard")
2157 (uri (crate-uri "scopeguard" version))
2159 (string-append name "-" version ".tar.gz"))
2162 "09sy9wbqp409pkwmqni40qmwa99ldqpl48pp95m1xw8sc19qy9cl"))))))
2164 (define-public rust-security-framework-sys
2166 (name "rust-security-framework-sys")
2171 (uri (crate-uri "security-framework-sys" version))
2172 (file-name (string-append name "-" version ".tar.gz"))
2175 "0mlsakq9kmqyc0fg2hcbgm6rjk55mb0rhjw2wid3hqdzkjcghdln"))))
2176 (build-system cargo-build-system)
2179 (("rust-core-foundation-sys"
2180 ,rust-core-foundation-sys))))
2181 (home-page "https://lib.rs/crates/security-framework-sys")
2182 (synopsis "Apple `Security.framework` low-level FFI bindings")
2184 "Apple `Security.framework` low-level FFI bindings.")
2185 (license (list license:asl2.0
2188 (define-public rust-semver-parser
2190 (name "rust-semver-parser")
2195 (uri (crate-uri "semver-parser" version))
2196 (file-name (string-append name "-" version ".tar.gz"))
2199 "1ahqhvgpzhcsd28id7xnrjv4419i9yyalhm7d7zi430qx0hi2vml"))))
2200 (build-system cargo-build-system)
2201 (home-page "https://github.com/steveklabnik/semver-parser")
2202 (synopsis "Parsing of the semver spec")
2203 (description "This package provides for parsing of the semver spec.")
2204 (license (list license:asl2.0
2207 (define-public rust-shlex
2214 (uri (crate-uri "shlex" version))
2215 (file-name (string-append name "-" version ".tar.gz"))
2218 "1lmv6san7g8dv6jdfp14m7bdczq9ss7j7bgsfqyqjc3jnjfippvz"))))
2219 (build-system cargo-build-system)
2220 (home-page "https://github.com/comex/rust-shlex")
2221 (synopsis "Split a string into shell words, like Python's shlex")
2222 (description "This crate provides a method to split a string into shell
2223 words, like Python's shlex.")
2224 (license (list license:asl2.0
2227 (define-public rust-slab
2234 (uri (crate-uri "slab" version))
2235 (file-name (string-append name "-" version ".tar.gz"))
2238 "1y59xsa27jk84sxzswjk60xcjf8b4fm5960jwpznrrcmasyva4f1"))))
2239 (build-system cargo-build-system)
2240 (home-page "https://github.com/carllerche/slab")
2241 (synopsis "Pre-allocated storage for a uniform data type")
2242 (description "This create provides a pre-allocated storage for a uniform
2244 (license license:expat)))
2246 (define-public rust-spin
2253 (uri (crate-uri "spin" version))
2254 (file-name (string-append name "-" version ".tar.gz"))
2257 "0m9clchsj0rf13bggsgvbv9haiy0f6rhvnvkpvkk8720a5pkydj4"))))
2258 (build-system cargo-build-system)
2259 (home-page "https://github.com/mvdnes/spin-rs.git")
2260 (synopsis "Synchronization primitives based on spinning")
2261 (description "This crate provides synchronization primitives based on
2262 spinning. They may contain data, are usable without @code{std},and static
2263 initializers are available.")
2264 (license license:expat)))
2266 (define-public rust-stable-deref-trait
2268 (name "rust-stable-deref-trait")
2273 (uri (crate-uri "stable_deref_trait" version))
2274 (file-name (string-append name "-" version ".tar.gz"))
2277 "1j2lkgakksmz4vc5hfawcch2ipiskrhjs1sih0f3br7s7rys58fv"))))
2278 (build-system cargo-build-system)
2279 (home-page "https://github.com/storyyeller/stable_deref_trait0")
2280 (synopsis "Defines an unsafe marker trait, StableDeref")
2282 "This crate defines an unsafe marker trait, StableDeref, for container
2283 types which deref to a fixed address which is valid even when the containing
2284 type is moved. For example, Box, Vec, Rc, Arc and String implement this trait.
2285 Additionally, it defines CloneStableDeref for types like Rc where clones deref
2286 to the same address.")
2287 (license (list license:asl2.0
2290 (define-public rust-stacker
2292 (name "rust-stacker")
2297 (uri (crate-uri "stacker" version))
2298 (file-name (string-append name "-" version ".tar.gz"))
2301 "0js0axz5nla1mkr2dm2vrv9rj964ng1lrv4l43sqlnfgawplhygv"))))
2302 (build-system cargo-build-system)
2305 (("rust-cfg-if" ,rust-cfg-if)
2306 ("rust-libc" ,rust-libc)
2307 ("rust-winapi" ,rust-winapi)
2308 ("rust-cc" ,rust-cc))))
2309 (home-page "https://github.com/rust-lang/stacker")
2310 (synopsis "Manual segmented stacks for Rust")
2312 "This package provides a stack growth library useful when implementing
2313 deeply recursive algorithms that may accidentally blow the stack.")
2314 (license (list license:asl2.0
2317 (define-public rust-stdweb-internal-runtime
2319 (name "rust-stdweb-internal-runtime")
2324 (uri (crate-uri "stdweb-internal-runtime" version))
2325 (file-name (string-append name "-" version ".tar.gz"))
2328 "1nhpyra7glbwcpakhpj5a3d7h7kx1ynif473nzshmk226m91f8ym"))))
2329 (build-system cargo-build-system)
2330 (home-page "https://github.com/koute/stdweb")
2331 (synopsis "Internal runtime for the @code{stdweb} crate")
2332 (description "This crate provides internal runtime for the @code{stdweb}
2334 (license (list license:asl2.0
2337 (define-public rust-stdweb-internal-test-macro
2339 (name "rust-stdweb-internal-test-macro")
2344 (uri (crate-uri "stdweb-internal-test-macro" version))
2345 (file-name (string-append name "-" version ".tar.gz"))
2348 "12rrm7p77xnm3xacgn3rgniiyyjb4gq7902wpbljsvbx045z69l2"))))
2349 (build-system cargo-build-system)
2352 (("rust-proc-macro2" ,rust-proc-macro2)
2353 ("rust-quote" ,rust-quote))))
2354 (home-page "https://github.com/koute/stdweb")
2355 (synopsis "Internal crate of the `stdweb` crate")
2357 "Internal crate of the @code{stdweb} crate.")
2358 (license (list license:asl2.0
2361 (define-public rust-streaming-stats
2363 (name "rust-streaming-stats")
2368 (uri (crate-uri "streaming-stats" version))
2369 (file-name (string-append name "-" version ".tar.gz"))
2372 "0l7xz4g6709s80zqpvlhrg0qhgz64r94cwhmfsg8xhabgznbp2px"))))
2373 (build-system cargo-build-system)
2376 (("rust-num-traits" ,rust-num-traits))))
2377 (home-page "https://github.com/BurntSushi/rust-stats")
2378 (synopsis "Compute basic statistics on streams")
2380 "Experimental crate for computing basic statistics on streams.")
2381 (license (list license:unlicense
2384 (define-public rust-strsim
2386 (name "rust-strsim")
2391 (uri (crate-uri "strsim" version))
2392 (file-name (string-append name "-" version ".tar.gz"))
2395 "1xphwhf86yxxmcpvm4mikj8ls41f6nf7gqyjm98b74mfk81h6b03"))))
2396 (build-system cargo-build-system)
2397 (home-page "https://github.com/dguo/strsim-rs")
2398 (synopsis "Rust implementations of string similarity metrics")
2399 (description "This crate includes implementations of string similarity
2400 metrics. It includes Hamming, Levenshtein, OSA, Damerau-Levenshtein, Jaro,
2402 (license license:expat)))
2404 (define-public rust-synstructure-test-traits
2406 (name "rust-synstructure-test-traits")
2411 (uri (crate-uri "synstructure_test_traits" version))
2412 (file-name (string-append name "-" version ".tar.gz"))
2415 "1b3fs2b9kc1gy9dilaxqjbdl4z0mlrbbxjzkprdx953rif1c3q66"))))
2416 (build-system cargo-build-system)
2417 (home-page "https://crates.io/crates/synstructure_test_traits")
2418 (synopsis "Helper test traits for synstructure doctests")
2420 "This package provides helper test traits for synstructure doctests.")
2421 (license license:expat)))
2423 (define-public rust-tempdir
2425 (name "rust-tempdir")
2430 (uri (crate-uri "tempdir" version))
2431 (file-name (string-append name "-" version ".tar.gz"))
2434 "1n5n86zxpgd85y0mswrp5cfdisizq2rv3la906g6ipyc03xvbwhm"))))
2435 (build-system cargo-build-system)
2438 (("rust-rand" ,rust-rand)
2439 ("rust-remove-dir-all" ,rust-remove-dir-all))))
2441 "https://github.com/rust-lang/tempdir")
2442 (synopsis "Temporary directory management for Rust")
2444 "This package provides a library for managing a temporary directory and
2445 deleting all contents when it's dropped.")
2446 (license (list license:asl2.0
2449 (define-public rust-termcolor
2451 (name "rust-termcolor")
2456 (uri (crate-uri "termcolor" version))
2457 (file-name (string-append name "-" version ".tar.gz"))
2460 "0vjfsn1a8zvqhnrbygrz1id6yckwv1dncw3w4zj65qdx0f00kmln"))))
2461 (build-system cargo-build-system)
2464 (("rust-wincolor" ,rust-wincolor))))
2465 (home-page "https://github.com/BurntSushi/termcolor")
2466 (synopsis "Library for writing colored text to a terminal")
2467 (description "This package provides a simple cross platform library for
2468 writing colored text to a terminal.")
2469 (license (list license:unlicense
2472 (define-public rust-termios
2474 (name "rust-termios")
2479 (uri (crate-uri "termios" version))
2480 (file-name (string-append name "-" version ".tar.gz"))
2483 "09any1p4jp4bphvb5ikagnvwjc3xn2djchy96nkpa782xb2j1dkj"))))
2484 (build-system cargo-build-system)
2486 `(#:cargo-inputs (("rust-libc" ,rust-libc))))
2487 (home-page "https://github.com/dcuddeback/termios-rs")
2488 (synopsis "Safe bindings for the termios library")
2490 "The termios crate provides safe bindings for the Rust programming language
2491 to the terminal I/O interface implemented by Unix operating systems. The safe
2492 bindings are a small wrapper around the raw C functions, which converts integer
2493 return values to @code{std::io::Result} to indicate success or failure.")
2494 (license license:expat)))
2496 (define-public rust-thread-id
2498 (name "rust-thread-id")
2503 (uri (crate-uri "thread-id" version))
2504 (file-name (string-append name "-" version ".tar.gz"))
2507 "1h90v19fjz3x9b25ywh68z5yf2zsmm6h5zb4rl302ckbsp4z9yy7"))))
2508 (build-system cargo-build-system)
2511 (("rust-libc" ,rust-libc)
2512 ("rust-redox-syscall" ,rust-redox-syscall)
2513 ("rust-winapi" ,rust-winapi))))
2514 (home-page "https://github.com/ruuda/thread-id")
2515 (synopsis "Get a unique ID for the current thread in Rust")
2517 "For diagnostics and debugging it can often be useful to get an ID that is
2518 different for every thread.")
2519 (license (list license:asl2.0
2522 (define-public rust-thread-local
2524 (name "rust-thread-local")
2529 (uri (crate-uri "thread_local" version))
2530 (file-name (string-append name "-" version ".tar.gz"))
2533 "06rzik99p8c5js8238yhc8rk6np543ylb1dy9nrw5v80j0r3xdf6"))))
2534 (build-system cargo-build-system)
2537 (("rust-lazy-static" ,rust-lazy-static))))
2538 (home-page "https://github.com/Amanieu/thread_local-rs")
2539 (synopsis "Per-object thread-local storage")
2540 (description "Per-object thread-local storage")
2541 (license (list license:asl2.0
2544 (define-public rust-threadpool
2546 (name "rust-threadpool")
2551 (uri (crate-uri "threadpool" version))
2552 (file-name (string-append name "-" version ".tar.gz"))
2555 "0rd89n1q7vy47w4c32cnynibffv9kj3jy3dwr0536n9lbw5ckw72"))))
2556 (build-system cargo-build-system)
2559 (("rust-num-cpus" ,rust-num-cpus))))
2560 (home-page "https://github.com/rust-threadpool/rust-threadpool")
2561 (synopsis "Thread pool for running jobs on a fixed set of worker threads")
2563 "This package provides a thread pool for running a number of jobs on a
2564 fixed set of worker threads.")
2565 (license (list license:asl2.0
2568 (define-public rust-tokio-mock-task
2570 (name "rust-tokio-mock-task")
2575 (uri (crate-uri "tokio-mock-task" version))
2576 (file-name (string-append name "-" version ".tar.gz"))
2579 "1y7q83qfk9ljjfvs82b453pmz9x1v3d6kr4x55j8mal01s6790dw"))))
2580 (build-system cargo-build-system)
2582 `(#:cargo-inputs (("rust-futures" ,rust-futures))))
2583 (home-page "https://github.com/carllerche/tokio-mock-task")
2584 (synopsis "Mock a Tokio task")
2585 (description "Mock a Tokio task")
2586 (license license:expat)))
2588 (define-public rust-tracing-core
2590 (name "rust-tracing-core")
2595 (uri (crate-uri "tracing-core" version))
2596 (file-name (string-append name "-" version ".tar.gz"))
2599 "01fa73wzw2m5ybi3kkd52dgrw97mgc3i6inmhwys46ab28giwnxi"))))
2600 (build-system cargo-build-system)
2603 (("rust-lazy-static" ,rust-lazy-static))))
2604 (home-page "https://tokio.rs")
2605 (synopsis "Core primitives for application-level tracing")
2607 "Core primitives for application-level tracing.")
2608 (license (list license:asl2.0
2611 (define-public rust-traitobject
2613 (name "rust-traitobject")
2618 (uri (crate-uri "traitobject" version))
2619 (file-name (string-append name "-" version ".tar.gz"))
2622 "0yb0n8822mr59j200fyr2fxgzzgqljyxflx9y8bdy3rlaqngilgg"))))
2623 (build-system cargo-build-system)
2624 (home-page "https://github.com/reem/rust-traitobject.git")
2625 (synopsis "Unsafe helpers for dealing with raw trait objects")
2626 (description "Unsafe helpers for dealing with raw trait objects.")
2627 (license (list license:asl2.0
2630 (define-public rust-try-from
2632 (name "rust-try-from")
2637 (uri (crate-uri "try_from" version))
2638 (file-name (string-append name "-" version ".tar.gz"))
2641 "12wdd4ja7047sd3rx70hv2056hyc8gcdllcx3a41g1rnw64kng98"))))
2642 (build-system cargo-build-system)
2645 (("rust-cfg-if" ,rust-cfg-if))))
2646 (home-page "https://github.com/derekjw/try_from")
2647 (synopsis "TryFrom and TryInto traits for failable conversions")
2649 "TryFrom and TryInto traits for failable conversions that return a Result.")
2650 (license license:expat)))
2652 (define-public rust-try-lock
2654 (name "rust-try-lock")
2659 (uri (crate-uri "try-lock" version))
2660 (file-name (string-append name "-" version ".tar.gz"))
2663 "10p36rx6pqi9d0zr876xa8vksx2m66ha45myakl50rn08dxyn176"))))
2664 (build-system cargo-build-system)
2665 (home-page "https://github.com/seanmonstar/try-lock")
2666 (synopsis "Lightweight atomic lock")
2668 "This package provides a lightweight atomic lock.")
2669 (license license:expat)))
2671 (define-public rust-typeable
2673 (name "rust-typeable")
2678 (uri (crate-uri "typeable" version))
2679 (file-name (string-append name "-" version ".tar.gz"))
2682 "11w8dywgnm32hb291izjvh4zjd037ccnkk77ahk63l913zwzc40l"))))
2683 (build-system cargo-build-system)
2684 (home-page "https://github.com/reem/rust-typeable")
2685 (synopsis "Exposes Typeable, for getting TypeIds at runtime")
2686 (description "Exposes Typeable, for getting TypeIds at runtime.")
2687 (license license:expat)))
2689 (define-public rust-typemap
2691 (name "rust-typemap")
2696 (uri (crate-uri "typemap" version))
2697 (file-name (string-append name "-" version ".tar.gz"))
2700 "1xm1gbvz9qisj1l6d36hrl9pw8imr8ngs6qyanjnsad3h0yfcfv5"))))
2701 (build-system cargo-build-system)
2704 (("rust-unsafe-any" ,rust-unsafe-any))))
2705 (home-page "https://github.com/reem/rust-typemap")
2706 (synopsis "Typesafe store for many value types")
2708 "A typesafe store for many value types.")
2709 (license license:expat)))
2711 (define-public rust-typenum
2713 (name "rust-typenum")
2718 (uri (crate-uri "typenum" version))
2719 (file-name (string-append name "-" version ".tar.gz"))
2722 "0sc1jirllfhdi52z1xv9yqzxzpk6v7vadd13n7wvs1wnjipn6bb1"))))
2723 (build-system cargo-build-system)
2724 (home-page "https://github.com/paholg/typenum")
2725 (synopsis "Rust library for type-level numbers evaluated at compile time")
2726 (description "Typenum is a Rust library for type-level numbers evaluated at
2727 compile time. It currently supports bits, unsigned integers, and signed
2728 integers. It also provides a type-level array of type-level numbers, but its
2729 implementation is incomplete.")
2730 (license (list license:asl2.0
2733 (define-public rust-ucd-trie
2735 (name "rust-ucd-trie")
2740 (uri (crate-uri "ucd-trie" version))
2741 (file-name (string-append name "-" version ".tar.gz"))
2744 "1hh6kyzh5xygwy96wfmsf8v8czlzhps2lgbcyhj1xzy1w1xys04g"))))
2745 (build-system cargo-build-system)
2747 `(#:cargo-development-inputs
2748 (("rust-lazy-static" ,rust-lazy-static))))
2749 (home-page "https://github.com/BurntSushi/ucd-generate")
2750 (synopsis "Trie for storing Unicode codepoint sets and maps")
2752 "This package provides a trie for storing Unicode codepoint sets and maps.")
2753 (license (list license:asl2.0
2756 (define-public rust-ucd-util
2758 (name "rust-ucd-util")
2763 (uri (crate-uri "ucd-util" version))
2764 (file-name (string-append name "-" version ".tar.gz"))
2767 "0x088q5z0m09a2jqcfgsnq955y8syn1mgn35cl78qinkxm4kp6zs"))))
2768 (build-system cargo-build-system)
2769 (home-page "https://github.com/BurntSushi/ucd-generate")
2770 (synopsis "library for working with the Unicode character database")
2771 (description "This package provides a small utility library for working
2772 with the Unicode character database.")
2773 (license (list license:asl2.0
2776 (define-public rust-unicase
2778 (name "rust-unicase")
2783 (uri (crate-uri "unicase" version))
2784 (file-name (string-append name "-" version ".tar.gz"))
2787 "1xmpmkakhhblq7dzab1kwyv925kv7fqjkjsxjspg6ix9n88makm8"))))
2788 (build-system cargo-build-system)
2790 `(#:cargo-inputs (("rust-version-check" ,rust-version-check-0.1))))
2791 (home-page "https://github.com/seanmonstar/unicase")
2792 (synopsis "Case-insensitive wrapper around strings")
2794 "A case-insensitive wrapper around strings.")
2795 (license (list license:asl2.0
2798 (define-public rust-unicode-width
2800 (name "rust-unicode-width")
2805 (uri (crate-uri "unicode-width" version))
2806 (file-name (string-append name "-" version ".tar.gz"))
2809 "09k5lipygardwy0660jhls08fsgknrazzivmn804gps53hiqc8w8"))))
2810 (build-system cargo-build-system)
2811 (home-page "https://github.com/unicode-rs/unicode-width")
2812 (synopsis "Determine displayed width according to Unicode rules")
2813 (description "This crate allows you to determine displayed width of
2814 @code{char} and @code{str} types according to Unicode Standard Annex #11 rules.")
2815 (license (list license:asl2.0
2818 (define-public rust-unicode-xid
2820 (name "rust-unicode-xid")
2825 (uri (crate-uri "unicode-xid" version))
2827 (string-append name "-" version ".tar.gz"))
2830 "0z09fn515xm7zyr0mmdyxa9mx2f7azcpv74pqmg611iralwpcvl2"))))
2831 (build-system cargo-build-system)
2833 "https://github.com/unicode-rs/unicode-xid")
2834 (synopsis "Determine Unicode XID related properties")
2835 (description "Determine whether characters have the XID_Start
2836 or XID_Continue properties according to Unicode Standard Annex #31.")
2838 (license (list license:asl2.0 license:expat))))
2840 (define-public rust-unicode-xid-0.1
2842 (inherit rust-unicode-xid)
2843 (name "rust-unicode-xid")
2848 (uri (crate-uri "unicode-xid" version))
2849 (file-name (string-append name "-" version ".tar.gz"))
2852 "1z57lqh4s18rr4x0j4fw4fmp9hf9346h0kmdgqsqx0fhjr3k0wpw"))))))
2854 (define-public rust-unindent
2856 (name "rust-unindent")
2861 (uri (crate-uri "unindent" version))
2862 (file-name (string-append name "-" version ".tar.gz"))
2865 "1x21ilf78aqcq9xzb9b7i628wm10rhk0jp0chlv06rkc690l8jw3"))))
2866 (build-system cargo-build-system)
2867 (home-page "https://github.com/dtolnay/indoc")
2868 (synopsis "Remove a column of leading whitespace from a string")
2869 (description "This crate allows you to remove a column of leading
2870 whitespace from a string.")
2871 (license (list license:asl2.0
2874 (define-public rust-unsafe-any
2876 (name "rust-unsafe-any")
2881 (uri (crate-uri "unsafe-any" version))
2882 (file-name (string-append name "-" version ".tar.gz"))
2885 "0zwwphsqkw5qaiqmjwngnfpv9ym85qcsyj7adip9qplzjzbn00zk"))))
2886 (build-system cargo-build-system)
2889 (("rust-traitobject" ,rust-traitobject))))
2890 (home-page "https://tokio.rs")
2891 (synopsis "Traits and implementations for unchecked downcasting")
2893 "Traits and implementations for unchecked downcasting.")
2894 (license license:expat)))
2896 (define-public rust-untrusted
2898 (name "rust-untrusted")
2903 (uri (crate-uri "untrusted" version))
2904 (file-name (string-append name "-" version ".tar.gz"))
2907 "1kmfykcwif6ashkwg54gcnhxj03kpba2i9vc7z5rpr0xlgvrwdk0"))))
2908 (build-system cargo-build-system)
2909 (home-page "https://github.com/briansmith/untrusted")
2910 (synopsis "Zero-allocation parsing of untrusted inputs in Rust")
2912 "Safe, fast, zero-panic, zero-crashing, zero-allocation parsing of
2913 untrusted inputs in Rust.")
2914 (license license:isc)))
2916 (define-public rust-vcpkg
2923 (uri (crate-uri "vcpkg" version))
2924 (file-name (string-append name "-" version ".tar.gz"))
2927 "15dzk1b96q946v9aisbd1bbhi33n93wvgziwh1shmscn1xflbp9k"))))
2928 (build-system cargo-build-system)
2930 `(#:cargo-development-inputs
2931 (("rust-lazy-static" ,rust-lazy-static)
2932 ("rust-tempdir" ,rust-tempdir))
2933 #:tests? #f)) ; tests try to link libmysql, graphite2, harfbuzz
2934 (home-page "https://github.com/mcgoo/vcpkg-rs")
2935 (synopsis "Find native dependencies in a vcpkg tree at build time")
2937 "This package provides a library to find native dependencies in a
2938 @code{vcpkg} tree at build time in order to be used in Cargo build scripts.")
2939 (license (list license:asl2.0
2942 (define-public rust-version-check
2944 (name "rust-version-check")
2949 (uri (crate-uri "version_check" version))
2950 (file-name (string-append name "-" version ".tar.gz"))
2953 "1kikqlnggii1rvnxrbls55sc46lxvinz5k3giscgncjj4p87b1q7"))))
2954 (build-system cargo-build-system)
2955 (home-page "https://github.com/SergioBenitez/version_check")
2956 (synopsis "Check that the installed rustc meets some version requirements")
2958 "This tiny crate checks that the running or installed rustc meets some
2959 version requirements. The version is queried by calling the Rust compiler with
2960 @code{--version}. The path to the compiler is determined first via the
2961 @code{RUSTC} environment variable. If it is not set, then @code{rustc} is used.
2962 If that fails, no determination is made, and calls return None.")
2963 (license (list license:asl2.0
2966 (define-public rust-version-check-0.1
2968 (inherit rust-version-check)
2969 (name "rust-version-check")
2974 (uri (crate-uri "version_check" version))
2975 (file-name (string-append name "-" version ".tar.gz"))
2978 "1pf91pvj8n6akh7w6j5ypka6aqz08b3qpzgs0ak2kjf4frkiljwi"))))))
2980 (define-public rust-void
2987 (uri (crate-uri "void" version))
2988 (file-name (string-append name "-" version ".tar.gz"))
2991 "0zc8f0ksxvmhvgx4fdg0zyn6vdnbxd2xv9hfx4nhzg6kbs4f80ka"))))
2992 (build-system cargo-build-system)
2993 (home-page "https://github.com/reem/rust-void.git")
2994 (synopsis "Void type for use in statically impossible cases")
2996 "The uninhabited void type for use in statically impossible cases.")
2997 (license license:expat)))
2999 (define-public rust-walkdir
3001 (name "rust-walkdir")
3006 (uri (crate-uri "walkdir" version))
3007 (file-name (string-append name "-" version ".tar.gz"))
3010 "07ppalpvxkf8cnqr64np422792y4z5bs9m8b4nrflh5rm17wjn4n"))))
3011 (build-system cargo-build-system)
3014 (("rust-same-file" ,rust-same-file)
3015 ("rust-winapi" ,rust-winapi)
3016 ("rust-winapi-util" ,rust-winapi-util))
3017 #:cargo-development-inputs
3018 (("rust-doc-comment" ,rust-doc-comment))))
3019 (home-page "https://github.com/BurntSushi/walkdir")
3020 (synopsis "Recursively walk a directory")
3021 (description "Recursively walk a directory.")
3022 (license (list license:unlicense
3025 (define-public rust-wasi
3032 (uri (crate-uri "wasi" version))
3034 (string-append name "-" version ".tar.gz"))
3037 "1ir3pd4phdfml0cbziw9bqp7mnk0vfp9biy8bh25lln6raml4m7x"))))
3038 (build-system cargo-build-system)
3039 (home-page "https://github.com/CraneStation/rust-wasi")
3040 (synopsis "Experimental WASI API bindings for Rust")
3041 (description "This package contains experimental WASI API bindings
3043 (license license:asl2.0)))
3045 (define-public rust-wasm-bindgen-shared
3047 (name "rust-wasm-bindgen-shared")
3052 (uri (crate-uri "wasm-bindgen-shared" version))
3053 (file-name (string-append name "-" version ".tar.gz"))
3056 "08rnfhjyk0f6liv8n4rdsvhx7r02glkhcbj2lp9lcbkbfpad9hnr"))))
3057 (build-system cargo-build-system)
3058 (home-page "https://rustwasm.github.io/wasm-bindgen/")
3059 (synopsis "Shared support between wasm-bindgen and wasm-bindgen cli")
3060 (description "This package provides shared support between
3061 @code{wasm-bindgen} and @code{wasm-bindgen} cli, an internal dependency.")
3062 (license (list license:asl2.0
3065 (define-public rust-wasm-bindgen-test-macro
3067 (name "rust-wasm-bindgen-test-macro")
3072 (uri (crate-uri "wasm-bindgen-test-macro" version))
3073 (file-name (string-append name "-" version ".tar.gz"))
3076 "0n28mr6vncf1k1qr2b5bvfxq4jvqkjdzq0z0ab6w2f5d6v8q3q3l"))))
3077 (build-system cargo-build-system)
3080 (("rust-proc-macro2" ,rust-proc-macro2)
3081 ("rust-quote" ,rust-quote))))
3082 (home-page "https://github.com/rustwasm/wasm-bindgen")
3083 (synopsis "Internal testing macro for wasm-bindgen")
3085 "This library contains the internal testing macro for wasm-bindgen.")
3086 (license (list license:asl2.0
3089 (define-public rust-widestring
3091 (name "rust-widestring")
3096 (uri (crate-uri "widestring" version))
3097 (file-name (string-append name "-" version ".tar.gz"))
3100 "1dhx6dndjsz1y7c9w06922412kdxyrrkqblvggm76mh8z17hxz7g"))))
3101 (build-system cargo-build-system)
3103 `(#:cargo-development-inputs
3104 (("rust-winapi" ,rust-winapi))))
3105 (home-page "https://github.com/starkat99/widestring-rs")
3106 (synopsis "Wide string Rust FFI library")
3108 "A wide string Rust FFI library for converting to and from wide strings,
3109 such as those often used in Windows API or other FFI libaries. Both UTF-16 and
3110 UTF-32 types are provided, including support for malformed encoding.")
3111 (license (list license:asl2.0
3114 (define-public rust-winapi
3116 (name "rust-winapi")
3121 (uri (crate-uri "winapi" version))
3122 (file-name (string-append name "-" version ".tar.gz"))
3125 "1ii9j9lzrhwri0902652awifzx9fpayimbp6hfhhc296xcg0k4w0"))))
3126 (build-system cargo-build-system)
3129 (("rust-winapi-i686-pc-windows-gnu"
3130 ,rust-winapi-i686-pc-windows-gnu)
3131 ("rust-winapi-x86-64-pc-windows-gnu"
3132 ,rust-winapi-x86-64-pc-windows-gnu))))
3133 (home-page "https://github.com/retep998/winapi-rs")
3134 (synopsis "Raw FFI bindings for all of Windows API.")
3136 "Raw FFI bindings for all of Windows API.")
3137 (license (list license:asl2.0
3140 (define-public rust-winapi-0.2
3142 (inherit rust-winapi)
3143 (name "rust-winapi")
3148 (uri (crate-uri "winapi" version))
3149 (file-name (string-append name "-" version ".tar.gz"))
3152 "0yh816lh6lf56dpsgxy189c2ai1z3j8mw9si6izqb6wsjkbcjz8n"))))
3153 ;; We do not want to package 48 -sys crates for a package we do not want.
3154 ;; They are all dev dependencies, so we skip building and testing.
3158 (modify-phases %standard-phases
3159 (delete 'build))))))
3161 (define-public rust-winapi-build
3163 (name "rust-winapi-build")
3168 (uri (crate-uri "winapi-build" version))
3169 (file-name (string-append name "-" version ".tar.gz"))
3172 "1g4rqsgjky0a7530qajn2bbfcrl2v0zb39idgdws9b1l7gp5wc9d"))))
3173 (build-system cargo-build-system)
3174 (home-page "https://github.com/retep998/winapi-rs")
3175 (synopsis "Common code for build.rs in WinAPI -sys crates")
3177 "Common code for build.rs in WinAPI -sys crates.")
3178 (license license:expat)))
3180 (define-public rust-winapi-i686-pc-windows-gnu
3182 (name "rust-winapi-i686-pc-windows-gnu")
3187 (uri (crate-uri "winapi-i686-pc-windows-gnu" version))
3188 (file-name (string-append name "-" version ".tar.gz"))
3191 "1dmpa6mvcvzz16zg6d5vrfy4bxgg541wxrcip7cnshi06v38ffxc"))))
3192 (build-system cargo-build-system)
3193 (home-page "https://github.com/retep998/winapi-rs")
3194 (synopsis "Import libraries for the i686-pc-windows-gnu target")
3195 (description "This crate provides import libraries for the
3196 i686-pc-windows-gnu target. Please don't use this crate directly, depend on
3197 @code{winapi} instead.")
3198 (license (list license:asl2.0
3201 (define-public rust-winapi-util
3203 (name "rust-winapi-util")
3208 (uri (crate-uri "winapi-util" version))
3209 (file-name (string-append name "-" version ".tar.gz"))
3212 "1j839dc6y8vszvrsb7yk0qvs0w6asnahxzbyans37vnsw6vbls3i"))))
3213 (build-system cargo-build-system)
3215 `(#:cargo-inputs (("rust-winapi" ,rust-winapi))))
3216 (home-page "https://github.com/BurntSushi/winapi-util")
3217 (synopsis "Dumping ground for high level safe wrappers over winapi")
3219 "This package provides a dumping ground for high level safe wrappers over
3221 (license (list license:unlicense
3224 (define-public rust-winapi-x86-64-pc-windows-gnu
3226 (name "rust-winapi-x86-64-pc-windows-gnu")
3231 (uri (crate-uri "winapi-x86_64-pc-windows-gnu" version))
3232 (file-name (string-append name "-" version ".tar.gz"))
3235 "0gqq64czqb64kskjryj8isp62m2sgvx25yyj3kpc2myh85w24bki"))))
3236 (build-system cargo-build-system)
3237 (home-page "https://github.com/retep998/winapi-rs")
3238 (synopsis "Import libraries for the x86_64-pc-windows-gnu target")
3239 (description "This package provides import libraries for the
3240 x86_64-pc-windows-gnu target. Please don't use this crate directly, depend on
3241 @code{winapi} instead.")
3242 (license (list license:asl2.0
3245 (define-public rust-wincolor
3247 (name "rust-wincolor")
3252 (uri (crate-uri "wincolor" version))
3253 (file-name (string-append name "-" version ".tar.gz"))
3256 "1agaf3hcav113i86912ajnw6jxcy4rvkrgyf8gdj8kc031mh3xcn"))))
3257 (build-system cargo-build-system)
3260 (("rust-winapi" ,rust-winapi)
3261 ("rust-winapi-util" ,rust-winapi-util))))
3262 (home-page "https://github.com/BurntSushi/termcolor/tree/master/wincolor")
3263 (synopsis "Windows API for controlling text color in a Windows console")
3265 "This package provides a simple Windows specific API for controlling text
3266 color in a Windows console.")
3267 (license (list license:unlicense
3270 (define-public rust-winutil
3272 (name "rust-winutil")
3277 (uri (crate-uri "winutil" version))
3278 (file-name (string-append name "-" version ".tar.gz"))
3281 "0vkyl3fbbf05n5ph5yz8sfaccrk9x3qsr25560w6w68ldf5i7bvx"))))
3282 (build-system cargo-build-system)
3285 (("rust-winapi" ,rust-winapi))
3286 ;; This unmaintained crate cannot find winapi when built directly.
3289 (modify-phases %standard-phases
3291 (home-page "https://bitbucket.org/DaveLancaster/winutil")
3292 (synopsis "Library wrapping a handful of useful winapi functions")
3294 "A simple library wrapping a handful of useful winapi functions.")
3295 (license license:expat)))
3297 (define-public rust-ws2-32-sys
3299 (name "rust-ws2-32-sys")
3304 (uri (crate-uri "ws2_32-sys" version))
3305 (file-name (string-append name "-" version ".tar.gz"))
3308 "0ppscg5qfqaw0gzwv2a4nhn5bn01ff9iwn6ysqnzm4n8s3myz76m"))))
3309 (build-system cargo-build-system)
3312 (("rust-winapi" ,rust-winapi-0.2)
3313 ("rust-winapi-build" ,rust-winapi-build))
3315 (modify-phases %standard-phases
3316 (add-after 'unpack 'fix-Cargo-toml
3318 (substitute* "Cargo.toml"
3319 ((", path =.* }") "}\n"))
3321 (home-page "https://github.com/retep998/winapi-rs")
3322 (synopsis "Function definitions for the Windows API library ws2_32")
3324 "Contains function definitions for the Windows API library ws2_32.")
3325 (license license:expat)))
3327 (define-public rust-xdg
3334 (uri (crate-uri "xdg" version))
3335 (file-name (string-append name "-" version ".tar.gz"))
3338 "0mws8a0fr3cqk5nh7aq9lmkmhzghvasqy4mhw6nnza06l4d6i2fh"))))
3339 (build-system cargo-build-system)
3340 (home-page "https://github.com/whitequark/rust-xdg")
3341 (synopsis "Store and retrieve files according to XDG specification")
3343 "This package provides a library for storing and retrieving files according
3344 to XDG Base Directory specification")
3345 (license (list license:asl2.0