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-miniz-sys
1308 (name "rust-miniz-sys")
1313 (uri (crate-uri "miniz-sys" version))
1314 (file-name (string-append name "-" version ".tar.gz"))
1317 "00l2r4anm8g35x0js2zfdnwfbrih9m43vphdpb77c5ga3kjkm7hy"))))
1318 (build-system cargo-build-system)
1321 (("rust-cc" ,rust-cc)
1322 ("rust-libc" ,rust-libc))))
1323 (home-page "https://github.com/alexcrichton/flate2-rs")
1324 (synopsis "Bindings to the miniz.c library")
1326 "This package provides bindings to the @code{miniz.c} library.")
1327 (license (list license:asl2.0
1330 (define-public rust-modifier
1332 (name "rust-modifier")
1337 (uri (crate-uri "modifier" version))
1338 (file-name (string-append name "-" version ".tar.gz"))
1341 "0n3fmgli1nsskl0whrfzm1gk0rmwwl6pw1q4nb9sqqmn5h8wkxa1"))))
1342 (build-system cargo-build-system)
1343 (home-page "https://github.com/reem/rust-modifier")
1345 "Chaining APIs for both self -> Self and &mut self methods.")
1347 "Chaining APIs for both self -> Self and &mut self methods.")
1348 (license license:expat)))
1350 (define-public rust-net2
1357 (uri (crate-uri "net2" version))
1358 (file-name (string-append name "-" version ".tar.gz"))
1361 "126g3fgfxp06zimc1l9iyxnn9cif1hjsg7sd81nlls5nnyghsma2"))))
1362 (build-system cargo-build-system)
1365 (("rust-cfg-if" ,rust-cfg-if)
1366 ("rust-libc" ,rust-libc)
1367 ("rust-winapi" ,rust-winapi))))
1368 (home-page "https://github.com/rust-lang-nursery/net2-rs")
1369 (synopsis "Extensions to the standard library's networking types")
1371 "This library contains extensions to the standard library's networking
1372 types as proposed in RFC 1158.")
1373 (license (list license:asl2.0
1376 (define-public rust-nodrop
1378 (name "rust-nodrop")
1383 (uri (crate-uri "nodrop" version))
1384 (file-name (string-append name "-" version ".tar.gz"))
1387 "0if9ifn6rvar5jirx4b3qh4sl5kjkmcifycvzhxa9j3crkfng5ig"))))
1388 (build-system cargo-build-system)
1391 (("rust-nodrop-union" ,rust-nodrop-union))))
1392 (home-page "https://github.com/bluss/arrayvec")
1393 (synopsis "Wrapper type to inhibit drop (destructor)")
1394 (description "This package provides a wrapper type to inhibit drop
1395 (destructor). Use @code{std::mem::ManuallyDrop} instead!")
1396 (license (list license:asl2.0
1399 ;; This package requires features which are unavailable
1400 ;; on the stable releases of Rust.
1401 (define-public rust-nodrop-union
1403 (name "rust-nodrop-union")
1408 (uri (crate-uri "nodrop-union" version))
1409 (file-name (string-append name "-" version ".tar.gz"))
1412 "0jsnkdn9l8jlmb9h4wssi76sxnyxwnyi00p6y1p2gdq7c1gdw2b7"))))
1413 (build-system cargo-build-system)
1414 (home-page "https://github.com/bluss/arrayvec")
1415 (synopsis "Wrapper type to inhibit drop (destructor)")
1416 (description "This package provides a wrapper type to inhibit drop
1417 (destructor). Implementation crate for nodrop, the untagged unions
1418 implementation (which is unstable / requires nightly).")
1419 (properties '((hidden? . #t)))
1420 (license (list license:asl2.0
1423 (define-public rust-num-cpus
1425 (name "rust-num-cpus")
1430 (uri (crate-uri "num_cpus" version))
1431 (file-name (string-append name "-" version ".tar.gz"))
1434 "0wrj3zvj6h3q26sqj9zxpd59frjb54n7jhjwf307clq31ic47vxw"))))
1435 (build-system cargo-build-system)
1438 (("rust-libc" ,rust-libc))
1439 #:cargo-development-inputs
1440 (("rust-doc-comment" ,rust-doc-comment))))
1441 (home-page "https://github.com/seanmonstar/num_cpus")
1442 (synopsis "Get the number of CPUs on a machine")
1444 "Get the number of CPUs on a machine.")
1445 (license (list license:asl2.0
1448 (define-public rust-num-integer
1450 (name "rust-num-integer")
1455 (uri (crate-uri "num-integer" version))
1457 (string-append name "-" version ".tar.gz"))
1460 "02dwjjpfbi16c71fq689s4sw3ih52cvfzr5z5gs6qpr5z0g58pmq"))))
1461 (build-system cargo-build-system)
1464 (("rust-autocfg" ,rust-autocfg)
1465 ("rust-num-traits" ,rust-num-traits))))
1466 (home-page "https://github.com/rust-num/num-integer")
1467 (synopsis "Integer traits and functions")
1468 (description "Integer traits and functions.")
1470 (license (list license:asl2.0
1473 (define-public rust-num-iter
1475 (name "rust-num-iter")
1480 (uri (crate-uri "num-iter" version))
1481 (file-name (string-append name "-" version ".tar.gz"))
1484 "0bhk2qbr3261r6zvfc58lz4spfqjhvdripxgz5mks5rd85r55gbn"))))
1485 (build-system cargo-build-system)
1488 (("rust-num-integer" ,rust-num-integer)
1489 ("rust-num-traits" ,rust-num-traits))
1490 #:cargo-development-inputs
1491 (("rust-autocfg" ,rust-autocfg))))
1492 (home-page "https://github.com/rust-num/num-iter")
1493 (synopsis "External iterators for generic mathematics")
1495 "This crate provides external iterators for generic mathematics.")
1496 (license (list license:asl2.0
1499 (define-public rust-num-traits
1501 (name "rust-num-traits")
1506 (uri (crate-uri "num-traits" version))
1508 (string-append name "-" version ".tar.gz"))
1511 "0clvrm34rrqc8p6gq5ps5fcgws3kgq5knh7nlqxf2ayarwks9abb"))))
1512 (build-system cargo-build-system)
1515 (("rust-autocfg" ,rust-autocfg))))
1516 (home-page "https://github.com/rust-num/num-traits")
1517 (synopsis "Numeric traits for generic mathematics")
1518 (description "Numeric traits for generic mathematics.")
1520 (license (list license:asl2.0
1523 (define-public rust-owning-ref
1525 (name "rust-owning-ref")
1530 (uri (crate-uri "owning_ref" version))
1531 (file-name (string-append name "-" version ".tar.gz"))
1534 "04zgwy77lin8qz398s6g44467pd6kjhbrlqifkia5rkr47mbi929"))))
1535 (build-system cargo-build-system)
1538 (("rust-stable-deref-trait" ,rust-stable-deref-trait))))
1539 (home-page "https://github.com/Kimundi/owning-ref-rs")
1540 (synopsis "Create references that carry their owner with them")
1542 "This package provides a library for creating references that carry their
1543 owner with them. This can sometimes be useful because Rust borrowing rules
1544 normally prevent moving a type that has been borrowed from.")
1545 (license license:expat)))
1547 (define-public rust-peeking-take-while
1549 (name "rust-peeking-take-while")
1554 (uri (crate-uri "peeking_take_while" version))
1555 (file-name (string-append name "-" version ".tar.gz"))
1558 "16bhqr6rdyrp12zv381cxaaqqd0pwysvm1q8h2ygihvypvfprc8r"))))
1559 (build-system cargo-build-system)
1560 (home-page "https://github.com/fitzgen/peeking_take_while")
1561 (synopsis "Provides the peeking_take_while iterator adaptor method")
1563 "Like @code{Iterator::take_while}, but calls the predicate on a peeked
1564 value. This allows you to use @code{Iterator::by_ref} and
1565 @code{Iterator::take_while} together, and still get the first value for which
1566 the @code{take_while} predicate returned false after dropping the @code{by_ref}.")
1567 (license (list license:asl2.0
1570 (define-public rust-percent-encoding
1572 (name "rust-percent-encoding")
1577 (uri (crate-uri "percent-encoding" version))
1578 (file-name (string-append name "-" version ".tar.gz"))
1581 "0m6rkp3iy11la04p6z3492rns6n693pvmx585dvfmzzlzak2hkxs"))))
1582 (build-system cargo-build-system)
1583 (home-page "https://github.com/servo/rust-url/")
1584 (synopsis "Percent encoding and decoding")
1585 (description "This crate provides percent encoding and decoding.")
1586 (license (list license:asl2.0
1589 (define-public rust-permutohedron
1591 (name "rust-permutohedron")
1596 (uri (crate-uri "permutohedron" version))
1597 (file-name (string-append name "-" version ".tar.gz"))
1600 "0b1pzh48j86v46wxngch6k1kx9cdw3jr3lwa86gd6jd4bmxzz1xn"))))
1601 (build-system cargo-build-system)
1602 (home-page "https://github.com/bluss/permutohedron")
1603 (synopsis "Generate permutations of sequences")
1605 "Generate permutations of sequences. Either lexicographical order
1606 permutations, or a minimal swaps permutation sequence implemented using Heap's
1608 (license (list license:asl2.0
1611 (define-public rust-pin-utils
1613 (name "rust-pin-utils")
1614 (version "0.1.0-alpha.4")
1618 (uri (crate-uri "pin-utils" version))
1619 (file-name (string-append name "-" version ".tar.gz"))
1622 "11xmyx00n4m37d546by2rxb8ryxs12v55cc172i3yak1rqccd52q"))))
1623 (build-system cargo-build-system)
1624 (home-page "https://github.com/rust-lang-nursery/pin-utils")
1625 (synopsis "Utilities for pinning")
1626 (description "This crate provides utilities for pinning values on the stack.")
1627 (license (list license:asl2.0
1630 (define-public rust-pkg-config
1632 (name "rust-pkg-config")
1637 (uri (crate-uri "pkg-config" version))
1638 (file-name (string-append name "-" version ".tar.gz"))
1641 "135ia995lqzr0gxpk85h0bjxf82kj6hbxdx924sh9jdln6r8wvk7"))))
1642 (build-system cargo-build-system)
1644 `(#:cargo-development-inputs
1645 (("rust-lazy-static" ,rust-lazy-static))))
1647 `(("pkg-config" ,pkg-config)))
1648 (home-page "https://github.com/alexcrichton/pkg-config-rs")
1649 (synopsis "Library to run the pkg-config system tool")
1651 "A library to run the pkg-config system tool at build time in order to be
1652 used in Cargo build scripts.")
1653 (license (list license:asl2.0
1656 (define-public rust-plain
1663 (uri (crate-uri "plain" version))
1664 (file-name (string-append name "-" version ".tar.gz"))
1667 "19n1xbxb4wa7w891268bzf6cbwq4qvdb86bik1z129qb0xnnnndl"))))
1668 (build-system cargo-build-system)
1669 (home-page "https://github.com/randomites/plain")
1670 (synopsis "Rust library that allows reinterpreting data safely")
1671 (description "This package provides a small Rust library that allows users
1672 to reinterpret data of certain types safely.")
1673 (license (list license:asl2.0
1676 (define-public rust-plugin
1678 (name "rust-plugin")
1683 (uri (crate-uri "plugin" version))
1684 (file-name (string-append name "-" version ".tar.gz"))
1687 "1q7nghkpvxxr168y2jnzh3w7qc9vfrby9n7ygy3xpj0bj71hsshs"))))
1688 (build-system cargo-build-system)
1691 (("rust-typemap" ,rust-typemap))
1692 #:cargo-development-inputs
1693 (("rust-void" ,rust-void))))
1694 (home-page "https://github.com/reem/rust-plugin")
1695 (synopsis "Lazily evaluated, order-independent plugins for extensible types")
1697 "Lazily evaluated, order-independent plugins for extensible types.")
1698 (license license:expat)))
1700 (define-public rust-pocket-resources
1702 (name "rust-pocket-resources")
1707 (uri (crate-uri "pocket-resources" version))
1708 (file-name (string-append name "-" version ".tar.gz"))
1711 "1n2i5vmi8fdbw89wm5nz1ws1z9f1qax911p6ksg4scmdg23z6df1"))))
1712 (build-system cargo-build-system)
1713 (home-page "https://github.com/tomaka/pocket-resources")
1714 (synopsis "Include resources in your applications")
1715 (description "This crate allows you to include resources in your
1717 (license license:expat)))
1719 (define-public rust-ppv-lite86
1721 (name "rust-ppv-lite86")
1726 (uri (crate-uri "ppv-lite86" version))
1727 (file-name (string-append name "-" version ".tar.gz"))
1730 "06snnv338w341nicfqba2jgln5dsla72ndkgrw7h1dfdb3vgkjz3"))))
1731 (build-system cargo-build-system)
1732 (home-page "https://github.com/cryptocorrosion/cryptocorrosion")
1733 (synopsis "Implementation of the crypto-simd API for x86")
1734 (description "This crate provides an implementation of the crypto-simd API
1736 (license (list license:asl2.0
1739 (define-public rust-proc-macro2
1741 (name "rust-proc-macro2")
1746 (uri (crate-uri "proc-macro2" version))
1748 (string-append name "-" version ".tar.gz"))
1751 "0nd71fl24sys066jrha6j7i34nfkjv44yzw8yww9742wmc8j0gfg"))))
1752 (build-system cargo-build-system)
1754 `(#:cargo-inputs (("rust-unicode-xid" ,rust-unicode-xid-0.1))
1755 #:cargo-development-inputs (("rust-quote" ,rust-quote))))
1756 (home-page "https://github.com/alexcrichton/proc-macro2")
1757 (synopsis "Stable implementation of the upcoming new `proc_macro` API")
1758 (description "This package provides a stable implementation of the upcoming new
1759 `proc_macro` API. Comes with an option, off by default, to also reimplement itself
1760 in terms of the upstream unstable API.")
1762 (license (list license:asl2.0 license:expat))))
1764 (define-public rust-quick-error
1766 (name "rust-quick-error")
1771 (uri (crate-uri "quick-error" version))
1772 (file-name (string-append name "-" version ".tar.gz"))
1775 "1w6kgwwv7p7zr0yyg5rb315lkk24bimywklwx7fsvsbwi10bjx4j"))))
1776 (build-system cargo-build-system)
1777 (home-page "http://github.com/tailhook/quick-error")
1778 (synopsis "Macro which makes error types pleasant to write")
1779 (description "This crate provides a macro which makes error types pleasant
1781 (license (list license:asl2.0
1784 (define-public rust-quote
1791 (uri (crate-uri "quote" version))
1793 (string-append name "-" version ".tar.gz"))
1796 "1nw0klza45hf127kfyrpxsxd5jw2l6h21qxalil3hkr7bnf7kx7s"))))
1797 (build-system cargo-build-system)
1799 `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2))))
1800 (home-page "https://github.com/dtolnay/quote")
1801 (synopsis "Quasi-quoting macro quote!(...)")
1802 (description "Quasi-quoting macro quote!(...)")
1804 (license (list license:asl2.0 license:expat))))
1806 (define-public rust-rand
1813 (uri (crate-uri "rand" version))
1814 (file-name (string-append name "-" version ".tar.gz"))
1817 "1gfgnqfj2pyh27dcb720jpawskllwnbvxh816ddyykv269xz8ml3"))))
1818 (build-system cargo-build-system)
1821 (("rust-fuchsia-zircon" ,rust-fuchsia-zircon)
1822 ("rust-libc" ,rust-libc)
1823 ("rust-winapi" ,rust-winapi))))
1824 (home-page "https://crates.io/crates/rand")
1825 (synopsis "Random number generators and other randomness functionality")
1827 "Rand provides utilities to generate random numbers, to convert them to
1828 useful types and distributions, and some randomness-related algorithms.")
1829 (license (list license:asl2.0
1832 (define-public rust-rand-0.3
1840 (uri (crate-uri "rand" version))
1841 (file-name (string-append name "-" version ".tar.gz"))
1844 "0v679h38pjjqj5h4md7v2slsvj6686qgcn7p9fbw3h43iwnk1b34"))))
1847 (("rust-libc" ,rust-libc)
1848 ("rust-rand" ,rust-rand))))))
1850 (define-public rust-rawpointer
1852 (name "rust-rawpointer")
1857 (uri (crate-uri "rawpointer" version))
1858 (file-name (string-append name "-" version ".tar.gz"))
1861 "06ghpm9y7gacks78s3maakha07kbnwrxif5q37r2l7z1sali3b7b"))))
1862 (build-system cargo-build-system)
1863 (home-page "https://github.com/bluss/rawpointer/")
1864 (synopsis "Extra methods for raw pointers")
1865 (description "Extra methods for raw pointers. For example
1866 @code{.post_inc()} and @code{.pre_dec()} (c.f. @code{ptr++} and @code{--ptr})
1867 and @code{ptrdistance}.")
1868 (license (list license:asl2.0
1871 ;; This package requires features which are unavailable
1872 ;; on the stable releases of Rust.
1873 (define-public rust-redox-syscall ; guix upstreamable
1875 (name "rust-redox-syscall")
1880 (uri (crate-uri "redox_syscall" version))
1881 (file-name (string-append name "-" version ".tar.gz"))
1884 "110y7dyfm2vci4x5vk7gr0q551dvp31npl99fnsx2fb17wzwcf94"))))
1885 (build-system cargo-build-system)
1886 (home-page "https://gitlab.redox-os.org/redox-os/syscall")
1887 (synopsis "Rust library to access raw Redox system calls")
1888 (description "This package provides a Rust library to access raw Redox
1890 (properties '((hidden? . #t)))
1891 (license license:expat)))
1893 (define-public rust-regex-syntax
1895 (name "rust-regex-syntax")
1900 (uri (crate-uri "regex-syntax" version))
1901 (file-name (string-append name "-" version ".tar.gz"))
1904 "0p47lf38yj2g2fnmvnraccqlxwk35zr76hlnqi8yva932nzqam6d"))))
1905 (build-system cargo-build-system)
1908 (("rust-ucd-util" ,rust-ucd-util))))
1909 (home-page "https://github.com/rust-lang/regex")
1910 (synopsis "Regular expression parser")
1912 "This package provides a regular expression parser.")
1913 (license (list license:asl2.0
1916 (define-public rust-remove-dir-all
1918 (name "rust-remove-dir-all")
1923 (uri (crate-uri "remove_dir_all" version))
1924 (file-name (string-append name "-" version ".tar.gz"))
1927 "0bkrlyg26mgizpiy1yb2hhpgscxcag8r5fnckqsvk25608vzm0sa"))))
1928 (build-system cargo-build-system)
1931 (("rust-winapi" ,rust-winapi))
1932 #:cargo-development-inputs
1933 (("rust-doc-comment" ,rust-doc-comment))
1935 (modify-phases %standard-phases
1936 (add-after 'unpack 'fix-source
1937 ;; The test phase expects there to be a README.md in the root directory.
1939 (invoke "touch" "README.md"))))))
1940 (home-page "https://github.com/XAMPPRocky/remove_dir_all.git")
1941 (synopsis "Implementation of remove_dir_all for Windows")
1943 "This package provides a safe, reliable implementation of
1944 @code{remove_dir_all} for Windows")
1945 (license (list license:asl2.0
1948 (define-public rust-resolv-conf
1950 (name "rust-resolv-conf")
1955 (uri (crate-uri "resolv-conf" version))
1956 (file-name (string-append name "-" version ".tar.gz"))
1959 "1jvdsmksdf6yiipm3aqahyv8n1cjd7wqc8sa0p0gzsax3fmb8qxj"))))
1960 (build-system cargo-build-system)
1963 (("rust-quick-error" ,rust-quick-error)
1964 ("rust-hostname" ,rust-hostname))
1965 #:cargo-test-flags '("--release" "--lib" "--examples"))) ; doc tests fail
1966 (home-page "https://github.com/tailhook/resolv-conf")
1967 (synopsis "/etc/resolv.conf parser")
1969 "An /etc/resolv.conf parser crate for Rust.")
1970 (license (list license:asl2.0
1973 (define-public rust-rustc-serialize
1975 (name "rust-rustc-serialize")
1980 (uri (crate-uri "rustc-serialize" version))
1981 (file-name (string-append name "-" version ".tar.gz"))
1984 "1nkg3vasg7nk80ffkazizgiyv3hb1l9g3d8h17cajbkx538jiwfw"))))
1985 (build-system cargo-build-system)
1987 `(#:cargo-development-inputs
1988 (("rust-rand" ,rust-rand-0.3))))
1989 (home-page "https://github.com/rust-lang-deprecated/rustc-serialize")
1990 (synopsis "Generic serialization/deserialization support")
1992 "This package provides generic serialization/deserialization support
1993 corresponding to the @code{derive(RustcEncodable, RustcDecodable)} mode in the
1994 compiler. Also includes support for hex, base64, and json encoding and
1996 (license (list license:asl2.0
1999 (define-public rust-rustc-std-workspace-core
2001 (name "rust-rustc-std-workspace-core")
2006 (uri (crate-uri "rustc-std-workspace-core" version))
2007 (file-name (string-append name "-" version ".tar.gz"))
2010 "1309xhwyai9xpz128xrfjqkmnkvgjwddznmj7brbd8i8f58zamhr"))))
2011 (build-system cargo-build-system)
2012 (home-page "https://crates.io/crates/rustc-std-workspace-core")
2013 (synopsis "Explicitly empty crate for rust-lang/rust integration")
2014 (description "This crate provides an explicitly empty crate for
2015 rust-lang/rust integration.")
2016 (license (list license:asl2.0
2019 (define-public rust-safemem
2021 (name "rust-safemem")
2026 (uri (crate-uri "safemem" version))
2027 (file-name (string-append name "-" version ".tar.gz"))
2030 "1l1ljkm4lpyryrv2ndaxi1f7z1f3v9bwy1rzl9f9mbhx04iq9c6j"))))
2031 (build-system cargo-build-system)
2032 (home-page "https://github.com/abonander/safemem")
2033 (synopsis "Safe wrappers for memory-accessing functions")
2035 "Safe wrappers for memory-accessing functions, like @code{std::ptr::copy()}.")
2036 (license (list license:asl2.0
2039 (define-public rust-same-file
2041 (name "rust-same-file")
2046 (uri (crate-uri "same-file" version))
2047 (file-name (string-append name "-" version ".tar.gz"))
2050 "08a4zy10pjindf2rah320s6shgswk13mqw7s61m8i1y1xpf8spjq"))))
2051 (build-system cargo-build-system)
2054 (("rust-winapi-util" ,rust-winapi-util))))
2055 (home-page "https://github.com/BurntSushi/same-file")
2056 (synopsis "Determine whether two file paths point to the same file")
2058 "This package provides a simple crate for determining whether two file
2059 paths point to the same file.")
2060 (license (list license:unlicense
2063 (define-public rust-schannel
2065 (name "rust-schannel")
2070 (uri (crate-uri "schannel" version))
2071 (file-name (string-append name "-" version ".tar.gz"))
2074 "0f9k4pm8yc3z0n1n8hazvnrvg52f0sfxjc91bhf3r76rb3rapxpj"))))
2075 (build-system cargo-build-system)
2078 (("rust-lazy-static" ,rust-lazy-static)
2079 ("rust-winapi" ,rust-winapi))))
2080 (home-page "https://github.com/steffengy/schannel-rs")
2081 (synopsis "Rust bindings to the Windows SChannel APIs")
2083 "Rust bindings to the Windows SChannel APIs providing TLS client and
2084 server functionality.")
2085 (license license:expat)))
2087 (define-public rust-scoped-threadpool
2089 (name "rust-scoped-threadpool")
2094 (uri (crate-uri "scoped_threadpool" version))
2095 (file-name (string-append name "-" version ".tar.gz"))
2098 "1a26d3lk40s9mrf4imhbik7caahmw2jryhhb6vqv6fplbbgzal8x"))))
2099 (build-system cargo-build-system)
2101 `(#:cargo-development-inputs
2102 (("rust-lazy-static" ,rust-lazy-static))))
2103 (home-page "https://github.com/Kimundi/scoped-threadpool-rs")
2104 (synopsis "library for scoped and cached threadpools")
2106 "This crate provides a stable, safe and scoped threadpool. It can be used
2107 to execute a number of short-lived jobs in parallel without the need to respawn
2108 the underlying threads. Jobs are runnable by borrowing the pool for a given
2109 scope, during which an arbitrary number of them can be executed. These jobs can
2110 access data of any lifetime outside of the pools scope, which allows working on
2111 non-'static references in parallel.")
2112 (license (list license:asl2.0
2115 (define-public rust-scoped-tls
2117 (name "rust-scoped-tls")
2122 (uri (crate-uri "scoped-tls" version))
2123 (file-name (string-append name "-" version ".tar.gz"))
2126 "1hj8lifzvivdb1z02lfnzkshpvk85nkgzxsy2hc0zky9wf894spa"))))
2127 (build-system cargo-build-system)
2128 (home-page "https://github.com/alexcrichton/scoped-tls")
2129 (synopsis "Rust library providing the old standard library's scoped_thread_local")
2130 (description "This crate provides a library implementation of the standard
2131 library's old @code{scoped_thread_local!} macro for providing scoped access to
2132 @dfn{thread local storage} (TLS) so any type can be stored into TLS.")
2133 (license (list license:asl2.0
2136 (define-public rust-scoped-tls-0.1
2138 (inherit rust-scoped-tls)
2139 (name "rust-scoped-tls")
2144 (uri (crate-uri "scoped-tls" version))
2145 (file-name (string-append name "-" version ".tar.gz"))
2148 "0a2bn9d2mb07c6l16sadijy4p540g498zddfxyiq4rsqpwrglbrk"))))))
2150 (define-public rust-scopeguard
2152 (name "rust-scopeguard")
2157 (uri (crate-uri "scopeguard" version))
2158 (file-name (string-append name "-" version ".tar.gz"))
2161 "03aay84r1f6w87ckbpj6cc4rnsxkxcfs13n5ynxjia0qkgjiabml"))))
2162 (build-system cargo-build-system)
2163 (home-page "https://github.com/bluss/scopeguard")
2164 (synopsis "Scope guard which will run a closure even out of scope")
2165 (description "This package provides a RAII scope guard that will run a
2166 given closure when it goes out of scope, even if the code between panics
2167 (assuming unwinding panic). Defines the macros @code{defer!},
2168 @code{defer_on_unwind!}, @code{defer_on_success!} as shorthands for guards
2169 with one of the implemented strategies.")
2170 (license (list license:asl2.0
2173 (define-public rust-scopeguard-0.3
2175 (inherit rust-scopeguard)
2176 (name "rust-scopeguard")
2181 (uri (crate-uri "scopeguard" version))
2183 (string-append name "-" version ".tar.gz"))
2186 "09sy9wbqp409pkwmqni40qmwa99ldqpl48pp95m1xw8sc19qy9cl"))))))
2188 (define-public rust-security-framework-sys
2190 (name "rust-security-framework-sys")
2195 (uri (crate-uri "security-framework-sys" version))
2196 (file-name (string-append name "-" version ".tar.gz"))
2199 "0mlsakq9kmqyc0fg2hcbgm6rjk55mb0rhjw2wid3hqdzkjcghdln"))))
2200 (build-system cargo-build-system)
2203 (("rust-core-foundation-sys"
2204 ,rust-core-foundation-sys))))
2205 (home-page "https://lib.rs/crates/security-framework-sys")
2206 (synopsis "Apple `Security.framework` low-level FFI bindings")
2208 "Apple `Security.framework` low-level FFI bindings.")
2209 (license (list license:asl2.0
2212 (define-public rust-semver-parser
2214 (name "rust-semver-parser")
2219 (uri (crate-uri "semver-parser" version))
2220 (file-name (string-append name "-" version ".tar.gz"))
2223 "1ahqhvgpzhcsd28id7xnrjv4419i9yyalhm7d7zi430qx0hi2vml"))))
2224 (build-system cargo-build-system)
2225 (home-page "https://github.com/steveklabnik/semver-parser")
2226 (synopsis "Parsing of the semver spec")
2227 (description "This package provides for parsing of the semver spec.")
2228 (license (list license:asl2.0
2231 (define-public rust-shlex
2238 (uri (crate-uri "shlex" version))
2239 (file-name (string-append name "-" version ".tar.gz"))
2242 "1lmv6san7g8dv6jdfp14m7bdczq9ss7j7bgsfqyqjc3jnjfippvz"))))
2243 (build-system cargo-build-system)
2244 (home-page "https://github.com/comex/rust-shlex")
2245 (synopsis "Split a string into shell words, like Python's shlex")
2246 (description "This crate provides a method to split a string into shell
2247 words, like Python's shlex.")
2248 (license (list license:asl2.0
2251 (define-public rust-slab
2258 (uri (crate-uri "slab" version))
2259 (file-name (string-append name "-" version ".tar.gz"))
2262 "1y59xsa27jk84sxzswjk60xcjf8b4fm5960jwpznrrcmasyva4f1"))))
2263 (build-system cargo-build-system)
2264 (home-page "https://github.com/carllerche/slab")
2265 (synopsis "Pre-allocated storage for a uniform data type")
2266 (description "This create provides a pre-allocated storage for a uniform
2268 (license license:expat)))
2270 (define-public rust-spin
2277 (uri (crate-uri "spin" version))
2278 (file-name (string-append name "-" version ".tar.gz"))
2281 "0m9clchsj0rf13bggsgvbv9haiy0f6rhvnvkpvkk8720a5pkydj4"))))
2282 (build-system cargo-build-system)
2283 (home-page "https://github.com/mvdnes/spin-rs.git")
2284 (synopsis "Synchronization primitives based on spinning")
2285 (description "This crate provides synchronization primitives based on
2286 spinning. They may contain data, are usable without @code{std},and static
2287 initializers are available.")
2288 (license license:expat)))
2290 (define-public rust-stable-deref-trait
2292 (name "rust-stable-deref-trait")
2297 (uri (crate-uri "stable_deref_trait" version))
2298 (file-name (string-append name "-" version ".tar.gz"))
2301 "1j2lkgakksmz4vc5hfawcch2ipiskrhjs1sih0f3br7s7rys58fv"))))
2302 (build-system cargo-build-system)
2303 (home-page "https://github.com/storyyeller/stable_deref_trait0")
2304 (synopsis "Defines an unsafe marker trait, StableDeref")
2306 "This crate defines an unsafe marker trait, StableDeref, for container
2307 types which deref to a fixed address which is valid even when the containing
2308 type is moved. For example, Box, Vec, Rc, Arc and String implement this trait.
2309 Additionally, it defines CloneStableDeref for types like Rc where clones deref
2310 to the same address.")
2311 (license (list license:asl2.0
2314 (define-public rust-stacker
2316 (name "rust-stacker")
2321 (uri (crate-uri "stacker" version))
2322 (file-name (string-append name "-" version ".tar.gz"))
2325 "0js0axz5nla1mkr2dm2vrv9rj964ng1lrv4l43sqlnfgawplhygv"))))
2326 (build-system cargo-build-system)
2329 (("rust-cfg-if" ,rust-cfg-if)
2330 ("rust-libc" ,rust-libc)
2331 ("rust-winapi" ,rust-winapi)
2332 ("rust-cc" ,rust-cc))))
2333 (home-page "https://github.com/rust-lang/stacker")
2334 (synopsis "Manual segmented stacks for Rust")
2336 "This package provides a stack growth library useful when implementing
2337 deeply recursive algorithms that may accidentally blow the stack.")
2338 (license (list license:asl2.0
2341 (define-public rust-stdweb-internal-runtime
2343 (name "rust-stdweb-internal-runtime")
2348 (uri (crate-uri "stdweb-internal-runtime" version))
2349 (file-name (string-append name "-" version ".tar.gz"))
2352 "1nhpyra7glbwcpakhpj5a3d7h7kx1ynif473nzshmk226m91f8ym"))))
2353 (build-system cargo-build-system)
2354 (home-page "https://github.com/koute/stdweb")
2355 (synopsis "Internal runtime for the @code{stdweb} crate")
2356 (description "This crate provides internal runtime for the @code{stdweb}
2358 (license (list license:asl2.0
2361 (define-public rust-stdweb-internal-test-macro
2363 (name "rust-stdweb-internal-test-macro")
2368 (uri (crate-uri "stdweb-internal-test-macro" version))
2369 (file-name (string-append name "-" version ".tar.gz"))
2372 "12rrm7p77xnm3xacgn3rgniiyyjb4gq7902wpbljsvbx045z69l2"))))
2373 (build-system cargo-build-system)
2376 (("rust-proc-macro2" ,rust-proc-macro2)
2377 ("rust-quote" ,rust-quote))))
2378 (home-page "https://github.com/koute/stdweb")
2379 (synopsis "Internal crate of the `stdweb` crate")
2381 "Internal crate of the @code{stdweb} crate.")
2382 (license (list license:asl2.0
2385 (define-public rust-streaming-stats
2387 (name "rust-streaming-stats")
2392 (uri (crate-uri "streaming-stats" version))
2393 (file-name (string-append name "-" version ".tar.gz"))
2396 "0l7xz4g6709s80zqpvlhrg0qhgz64r94cwhmfsg8xhabgznbp2px"))))
2397 (build-system cargo-build-system)
2400 (("rust-num-traits" ,rust-num-traits))))
2401 (home-page "https://github.com/BurntSushi/rust-stats")
2402 (synopsis "Compute basic statistics on streams")
2404 "Experimental crate for computing basic statistics on streams.")
2405 (license (list license:unlicense
2408 (define-public rust-strsim
2410 (name "rust-strsim")
2415 (uri (crate-uri "strsim" version))
2416 (file-name (string-append name "-" version ".tar.gz"))
2419 "1xphwhf86yxxmcpvm4mikj8ls41f6nf7gqyjm98b74mfk81h6b03"))))
2420 (build-system cargo-build-system)
2421 (home-page "https://github.com/dguo/strsim-rs")
2422 (synopsis "Rust implementations of string similarity metrics")
2423 (description "This crate includes implementations of string similarity
2424 metrics. It includes Hamming, Levenshtein, OSA, Damerau-Levenshtein, Jaro,
2426 (license license:expat)))
2428 (define-public rust-synstructure-test-traits
2430 (name "rust-synstructure-test-traits")
2435 (uri (crate-uri "synstructure_test_traits" version))
2436 (file-name (string-append name "-" version ".tar.gz"))
2439 "1b3fs2b9kc1gy9dilaxqjbdl4z0mlrbbxjzkprdx953rif1c3q66"))))
2440 (build-system cargo-build-system)
2441 (home-page "https://crates.io/crates/synstructure_test_traits")
2442 (synopsis "Helper test traits for synstructure doctests")
2444 "This package provides helper test traits for synstructure doctests.")
2445 (license license:expat)))
2447 (define-public rust-tempdir
2449 (name "rust-tempdir")
2454 (uri (crate-uri "tempdir" version))
2455 (file-name (string-append name "-" version ".tar.gz"))
2458 "1n5n86zxpgd85y0mswrp5cfdisizq2rv3la906g6ipyc03xvbwhm"))))
2459 (build-system cargo-build-system)
2462 (("rust-rand" ,rust-rand)
2463 ("rust-remove-dir-all" ,rust-remove-dir-all))))
2465 "https://github.com/rust-lang/tempdir")
2466 (synopsis "Temporary directory management for Rust")
2468 "This package provides a library for managing a temporary directory and
2469 deleting all contents when it's dropped.")
2470 (license (list license:asl2.0
2473 (define-public rust-termcolor
2475 (name "rust-termcolor")
2480 (uri (crate-uri "termcolor" version))
2481 (file-name (string-append name "-" version ".tar.gz"))
2484 "0vjfsn1a8zvqhnrbygrz1id6yckwv1dncw3w4zj65qdx0f00kmln"))))
2485 (build-system cargo-build-system)
2488 (("rust-wincolor" ,rust-wincolor))))
2489 (home-page "https://github.com/BurntSushi/termcolor")
2490 (synopsis "Library for writing colored text to a terminal")
2491 (description "This package provides a simple cross platform library for
2492 writing colored text to a terminal.")
2493 (license (list license:unlicense
2496 (define-public rust-termios
2498 (name "rust-termios")
2503 (uri (crate-uri "termios" version))
2504 (file-name (string-append name "-" version ".tar.gz"))
2507 "09any1p4jp4bphvb5ikagnvwjc3xn2djchy96nkpa782xb2j1dkj"))))
2508 (build-system cargo-build-system)
2510 `(#:cargo-inputs (("rust-libc" ,rust-libc))))
2511 (home-page "https://github.com/dcuddeback/termios-rs")
2512 (synopsis "Safe bindings for the termios library")
2514 "The termios crate provides safe bindings for the Rust programming language
2515 to the terminal I/O interface implemented by Unix operating systems. The safe
2516 bindings are a small wrapper around the raw C functions, which converts integer
2517 return values to @code{std::io::Result} to indicate success or failure.")
2518 (license license:expat)))
2520 (define-public rust-thread-id
2522 (name "rust-thread-id")
2527 (uri (crate-uri "thread-id" version))
2528 (file-name (string-append name "-" version ".tar.gz"))
2531 "1h90v19fjz3x9b25ywh68z5yf2zsmm6h5zb4rl302ckbsp4z9yy7"))))
2532 (build-system cargo-build-system)
2535 (("rust-libc" ,rust-libc)
2536 ("rust-redox-syscall" ,rust-redox-syscall)
2537 ("rust-winapi" ,rust-winapi))))
2538 (home-page "https://github.com/ruuda/thread-id")
2539 (synopsis "Get a unique ID for the current thread in Rust")
2541 "For diagnostics and debugging it can often be useful to get an ID that is
2542 different for every thread.")
2543 (license (list license:asl2.0
2546 (define-public rust-thread-local
2548 (name "rust-thread-local")
2553 (uri (crate-uri "thread_local" version))
2554 (file-name (string-append name "-" version ".tar.gz"))
2557 "06rzik99p8c5js8238yhc8rk6np543ylb1dy9nrw5v80j0r3xdf6"))))
2558 (build-system cargo-build-system)
2561 (("rust-lazy-static" ,rust-lazy-static))))
2562 (home-page "https://github.com/Amanieu/thread_local-rs")
2563 (synopsis "Per-object thread-local storage")
2564 (description "Per-object thread-local storage")
2565 (license (list license:asl2.0
2568 (define-public rust-threadpool
2570 (name "rust-threadpool")
2575 (uri (crate-uri "threadpool" version))
2576 (file-name (string-append name "-" version ".tar.gz"))
2579 "0rd89n1q7vy47w4c32cnynibffv9kj3jy3dwr0536n9lbw5ckw72"))))
2580 (build-system cargo-build-system)
2583 (("rust-num-cpus" ,rust-num-cpus))))
2584 (home-page "https://github.com/rust-threadpool/rust-threadpool")
2585 (synopsis "Thread pool for running jobs on a fixed set of worker threads")
2587 "This package provides a thread pool for running a number of jobs on a
2588 fixed set of worker threads.")
2589 (license (list license:asl2.0
2592 (define-public rust-tokio-mock-task
2594 (name "rust-tokio-mock-task")
2599 (uri (crate-uri "tokio-mock-task" version))
2600 (file-name (string-append name "-" version ".tar.gz"))
2603 "1y7q83qfk9ljjfvs82b453pmz9x1v3d6kr4x55j8mal01s6790dw"))))
2604 (build-system cargo-build-system)
2606 `(#:cargo-inputs (("rust-futures" ,rust-futures))))
2607 (home-page "https://github.com/carllerche/tokio-mock-task")
2608 (synopsis "Mock a Tokio task")
2609 (description "Mock a Tokio task")
2610 (license license:expat)))
2612 (define-public rust-tracing-core
2614 (name "rust-tracing-core")
2619 (uri (crate-uri "tracing-core" version))
2620 (file-name (string-append name "-" version ".tar.gz"))
2623 "01fa73wzw2m5ybi3kkd52dgrw97mgc3i6inmhwys46ab28giwnxi"))))
2624 (build-system cargo-build-system)
2627 (("rust-lazy-static" ,rust-lazy-static))))
2628 (home-page "https://tokio.rs")
2629 (synopsis "Core primitives for application-level tracing")
2631 "Core primitives for application-level tracing.")
2632 (license (list license:asl2.0
2635 (define-public rust-traitobject
2637 (name "rust-traitobject")
2642 (uri (crate-uri "traitobject" version))
2643 (file-name (string-append name "-" version ".tar.gz"))
2646 "0yb0n8822mr59j200fyr2fxgzzgqljyxflx9y8bdy3rlaqngilgg"))))
2647 (build-system cargo-build-system)
2648 (home-page "https://github.com/reem/rust-traitobject.git")
2649 (synopsis "Unsafe helpers for dealing with raw trait objects")
2650 (description "Unsafe helpers for dealing with raw trait objects.")
2651 (license (list license:asl2.0
2654 (define-public rust-try-from
2656 (name "rust-try-from")
2661 (uri (crate-uri "try_from" version))
2662 (file-name (string-append name "-" version ".tar.gz"))
2665 "12wdd4ja7047sd3rx70hv2056hyc8gcdllcx3a41g1rnw64kng98"))))
2666 (build-system cargo-build-system)
2669 (("rust-cfg-if" ,rust-cfg-if))))
2670 (home-page "https://github.com/derekjw/try_from")
2671 (synopsis "TryFrom and TryInto traits for failable conversions")
2673 "TryFrom and TryInto traits for failable conversions that return a Result.")
2674 (license license:expat)))
2676 (define-public rust-try-lock
2678 (name "rust-try-lock")
2683 (uri (crate-uri "try-lock" version))
2684 (file-name (string-append name "-" version ".tar.gz"))
2687 "10p36rx6pqi9d0zr876xa8vksx2m66ha45myakl50rn08dxyn176"))))
2688 (build-system cargo-build-system)
2689 (home-page "https://github.com/seanmonstar/try-lock")
2690 (synopsis "Lightweight atomic lock")
2692 "This package provides a lightweight atomic lock.")
2693 (license license:expat)))
2695 (define-public rust-typeable
2697 (name "rust-typeable")
2702 (uri (crate-uri "typeable" version))
2703 (file-name (string-append name "-" version ".tar.gz"))
2706 "11w8dywgnm32hb291izjvh4zjd037ccnkk77ahk63l913zwzc40l"))))
2707 (build-system cargo-build-system)
2708 (home-page "https://github.com/reem/rust-typeable")
2709 (synopsis "Exposes Typeable, for getting TypeIds at runtime")
2710 (description "Exposes Typeable, for getting TypeIds at runtime.")
2711 (license license:expat)))
2713 (define-public rust-typemap
2715 (name "rust-typemap")
2720 (uri (crate-uri "typemap" version))
2721 (file-name (string-append name "-" version ".tar.gz"))
2724 "1xm1gbvz9qisj1l6d36hrl9pw8imr8ngs6qyanjnsad3h0yfcfv5"))))
2725 (build-system cargo-build-system)
2728 (("rust-unsafe-any" ,rust-unsafe-any))))
2729 (home-page "https://github.com/reem/rust-typemap")
2730 (synopsis "Typesafe store for many value types")
2732 "A typesafe store for many value types.")
2733 (license license:expat)))
2735 (define-public rust-typenum
2737 (name "rust-typenum")
2742 (uri (crate-uri "typenum" version))
2743 (file-name (string-append name "-" version ".tar.gz"))
2746 "0sc1jirllfhdi52z1xv9yqzxzpk6v7vadd13n7wvs1wnjipn6bb1"))))
2747 (build-system cargo-build-system)
2748 (home-page "https://github.com/paholg/typenum")
2749 (synopsis "Rust library for type-level numbers evaluated at compile time")
2750 (description "Typenum is a Rust library for type-level numbers evaluated at
2751 compile time. It currently supports bits, unsigned integers, and signed
2752 integers. It also provides a type-level array of type-level numbers, but its
2753 implementation is incomplete.")
2754 (license (list license:asl2.0
2757 (define-public rust-ucd-trie
2759 (name "rust-ucd-trie")
2764 (uri (crate-uri "ucd-trie" version))
2765 (file-name (string-append name "-" version ".tar.gz"))
2768 "1hh6kyzh5xygwy96wfmsf8v8czlzhps2lgbcyhj1xzy1w1xys04g"))))
2769 (build-system cargo-build-system)
2771 `(#:cargo-development-inputs
2772 (("rust-lazy-static" ,rust-lazy-static))))
2773 (home-page "https://github.com/BurntSushi/ucd-generate")
2774 (synopsis "Trie for storing Unicode codepoint sets and maps")
2776 "This package provides a trie for storing Unicode codepoint sets and maps.")
2777 (license (list license:asl2.0
2780 (define-public rust-ucd-util
2782 (name "rust-ucd-util")
2787 (uri (crate-uri "ucd-util" version))
2788 (file-name (string-append name "-" version ".tar.gz"))
2791 "0x088q5z0m09a2jqcfgsnq955y8syn1mgn35cl78qinkxm4kp6zs"))))
2792 (build-system cargo-build-system)
2793 (home-page "https://github.com/BurntSushi/ucd-generate")
2794 (synopsis "library for working with the Unicode character database")
2795 (description "This package provides a small utility library for working
2796 with the Unicode character database.")
2797 (license (list license:asl2.0
2800 (define-public rust-unicase
2802 (name "rust-unicase")
2807 (uri (crate-uri "unicase" version))
2808 (file-name (string-append name "-" version ".tar.gz"))
2811 "1xmpmkakhhblq7dzab1kwyv925kv7fqjkjsxjspg6ix9n88makm8"))))
2812 (build-system cargo-build-system)
2814 `(#:cargo-inputs (("rust-version-check" ,rust-version-check-0.1))))
2815 (home-page "https://github.com/seanmonstar/unicase")
2816 (synopsis "Case-insensitive wrapper around strings")
2818 "A case-insensitive wrapper around strings.")
2819 (license (list license:asl2.0
2822 (define-public rust-unicode-width
2824 (name "rust-unicode-width")
2829 (uri (crate-uri "unicode-width" version))
2830 (file-name (string-append name "-" version ".tar.gz"))
2833 "09k5lipygardwy0660jhls08fsgknrazzivmn804gps53hiqc8w8"))))
2834 (build-system cargo-build-system)
2835 (home-page "https://github.com/unicode-rs/unicode-width")
2836 (synopsis "Determine displayed width according to Unicode rules")
2837 (description "This crate allows you to determine displayed width of
2838 @code{char} and @code{str} types according to Unicode Standard Annex #11 rules.")
2839 (license (list license:asl2.0
2842 (define-public rust-unicode-xid
2844 (name "rust-unicode-xid")
2849 (uri (crate-uri "unicode-xid" version))
2851 (string-append name "-" version ".tar.gz"))
2854 "0z09fn515xm7zyr0mmdyxa9mx2f7azcpv74pqmg611iralwpcvl2"))))
2855 (build-system cargo-build-system)
2857 "https://github.com/unicode-rs/unicode-xid")
2858 (synopsis "Determine Unicode XID related properties")
2859 (description "Determine whether characters have the XID_Start
2860 or XID_Continue properties according to Unicode Standard Annex #31.")
2862 (license (list license:asl2.0 license:expat))))
2864 (define-public rust-unicode-xid-0.1
2866 (inherit rust-unicode-xid)
2867 (name "rust-unicode-xid")
2872 (uri (crate-uri "unicode-xid" version))
2873 (file-name (string-append name "-" version ".tar.gz"))
2876 "1z57lqh4s18rr4x0j4fw4fmp9hf9346h0kmdgqsqx0fhjr3k0wpw"))))))
2878 (define-public rust-unindent
2880 (name "rust-unindent")
2885 (uri (crate-uri "unindent" version))
2886 (file-name (string-append name "-" version ".tar.gz"))
2889 "1x21ilf78aqcq9xzb9b7i628wm10rhk0jp0chlv06rkc690l8jw3"))))
2890 (build-system cargo-build-system)
2891 (home-page "https://github.com/dtolnay/indoc")
2892 (synopsis "Remove a column of leading whitespace from a string")
2893 (description "This crate allows you to remove a column of leading
2894 whitespace from a string.")
2895 (license (list license:asl2.0
2898 (define-public rust-unsafe-any
2900 (name "rust-unsafe-any")
2905 (uri (crate-uri "unsafe-any" version))
2906 (file-name (string-append name "-" version ".tar.gz"))
2909 "0zwwphsqkw5qaiqmjwngnfpv9ym85qcsyj7adip9qplzjzbn00zk"))))
2910 (build-system cargo-build-system)
2913 (("rust-traitobject" ,rust-traitobject))))
2914 (home-page "https://tokio.rs")
2915 (synopsis "Traits and implementations for unchecked downcasting")
2917 "Traits and implementations for unchecked downcasting.")
2918 (license license:expat)))
2920 (define-public rust-untrusted
2922 (name "rust-untrusted")
2927 (uri (crate-uri "untrusted" version))
2928 (file-name (string-append name "-" version ".tar.gz"))
2931 "1kmfykcwif6ashkwg54gcnhxj03kpba2i9vc7z5rpr0xlgvrwdk0"))))
2932 (build-system cargo-build-system)
2933 (home-page "https://github.com/briansmith/untrusted")
2934 (synopsis "Zero-allocation parsing of untrusted inputs in Rust")
2936 "Safe, fast, zero-panic, zero-crashing, zero-allocation parsing of
2937 untrusted inputs in Rust.")
2938 (license license:isc)))
2940 (define-public rust-vcpkg
2947 (uri (crate-uri "vcpkg" version))
2948 (file-name (string-append name "-" version ".tar.gz"))
2951 "15dzk1b96q946v9aisbd1bbhi33n93wvgziwh1shmscn1xflbp9k"))))
2952 (build-system cargo-build-system)
2954 `(#:cargo-development-inputs
2955 (("rust-lazy-static" ,rust-lazy-static)
2956 ("rust-tempdir" ,rust-tempdir))
2957 #:tests? #f)) ; tests try to link libmysql, graphite2, harfbuzz
2958 (home-page "https://github.com/mcgoo/vcpkg-rs")
2959 (synopsis "Find native dependencies in a vcpkg tree at build time")
2961 "This package provides a library to find native dependencies in a
2962 @code{vcpkg} tree at build time in order to be used in Cargo build scripts.")
2963 (license (list license:asl2.0
2966 (define-public rust-version-check
2968 (name "rust-version-check")
2973 (uri (crate-uri "version_check" version))
2974 (file-name (string-append name "-" version ".tar.gz"))
2977 "1kikqlnggii1rvnxrbls55sc46lxvinz5k3giscgncjj4p87b1q7"))))
2978 (build-system cargo-build-system)
2979 (home-page "https://github.com/SergioBenitez/version_check")
2980 (synopsis "Check that the installed rustc meets some version requirements")
2982 "This tiny crate checks that the running or installed rustc meets some
2983 version requirements. The version is queried by calling the Rust compiler with
2984 @code{--version}. The path to the compiler is determined first via the
2985 @code{RUSTC} environment variable. If it is not set, then @code{rustc} is used.
2986 If that fails, no determination is made, and calls return None.")
2987 (license (list license:asl2.0
2990 (define-public rust-version-check-0.1
2992 (inherit rust-version-check)
2993 (name "rust-version-check")
2998 (uri (crate-uri "version_check" version))
2999 (file-name (string-append name "-" version ".tar.gz"))
3002 "1pf91pvj8n6akh7w6j5ypka6aqz08b3qpzgs0ak2kjf4frkiljwi"))))))
3004 (define-public rust-void
3011 (uri (crate-uri "void" version))
3012 (file-name (string-append name "-" version ".tar.gz"))
3015 "0zc8f0ksxvmhvgx4fdg0zyn6vdnbxd2xv9hfx4nhzg6kbs4f80ka"))))
3016 (build-system cargo-build-system)
3017 (home-page "https://github.com/reem/rust-void.git")
3018 (synopsis "Void type for use in statically impossible cases")
3020 "The uninhabited void type for use in statically impossible cases.")
3021 (license license:expat)))
3023 (define-public rust-walkdir
3025 (name "rust-walkdir")
3030 (uri (crate-uri "walkdir" version))
3031 (file-name (string-append name "-" version ".tar.gz"))
3034 "07ppalpvxkf8cnqr64np422792y4z5bs9m8b4nrflh5rm17wjn4n"))))
3035 (build-system cargo-build-system)
3038 (("rust-same-file" ,rust-same-file)
3039 ("rust-winapi" ,rust-winapi)
3040 ("rust-winapi-util" ,rust-winapi-util))
3041 #:cargo-development-inputs
3042 (("rust-doc-comment" ,rust-doc-comment))))
3043 (home-page "https://github.com/BurntSushi/walkdir")
3044 (synopsis "Recursively walk a directory")
3045 (description "Recursively walk a directory.")
3046 (license (list license:unlicense
3049 (define-public rust-wasi
3056 (uri (crate-uri "wasi" version))
3058 (string-append name "-" version ".tar.gz"))
3061 "1ir3pd4phdfml0cbziw9bqp7mnk0vfp9biy8bh25lln6raml4m7x"))))
3062 (build-system cargo-build-system)
3063 (home-page "https://github.com/CraneStation/rust-wasi")
3064 (synopsis "Experimental WASI API bindings for Rust")
3065 (description "This package contains experimental WASI API bindings
3067 (license license:asl2.0)))
3069 (define-public rust-wasm-bindgen-shared
3071 (name "rust-wasm-bindgen-shared")
3076 (uri (crate-uri "wasm-bindgen-shared" version))
3077 (file-name (string-append name "-" version ".tar.gz"))
3080 "08rnfhjyk0f6liv8n4rdsvhx7r02glkhcbj2lp9lcbkbfpad9hnr"))))
3081 (build-system cargo-build-system)
3082 (home-page "https://rustwasm.github.io/wasm-bindgen/")
3083 (synopsis "Shared support between wasm-bindgen and wasm-bindgen cli")
3084 (description "This package provides shared support between
3085 @code{wasm-bindgen} and @code{wasm-bindgen} cli, an internal dependency.")
3086 (license (list license:asl2.0
3089 (define-public rust-wasm-bindgen-test-macro
3091 (name "rust-wasm-bindgen-test-macro")
3096 (uri (crate-uri "wasm-bindgen-test-macro" version))
3097 (file-name (string-append name "-" version ".tar.gz"))
3100 "0n28mr6vncf1k1qr2b5bvfxq4jvqkjdzq0z0ab6w2f5d6v8q3q3l"))))
3101 (build-system cargo-build-system)
3104 (("rust-proc-macro2" ,rust-proc-macro2)
3105 ("rust-quote" ,rust-quote))))
3106 (home-page "https://github.com/rustwasm/wasm-bindgen")
3107 (synopsis "Internal testing macro for wasm-bindgen")
3109 "This library contains the internal testing macro for wasm-bindgen.")
3110 (license (list license:asl2.0
3113 (define-public rust-widestring
3115 (name "rust-widestring")
3120 (uri (crate-uri "widestring" version))
3121 (file-name (string-append name "-" version ".tar.gz"))
3124 "1dhx6dndjsz1y7c9w06922412kdxyrrkqblvggm76mh8z17hxz7g"))))
3125 (build-system cargo-build-system)
3127 `(#:cargo-development-inputs
3128 (("rust-winapi" ,rust-winapi))))
3129 (home-page "https://github.com/starkat99/widestring-rs")
3130 (synopsis "Wide string Rust FFI library")
3132 "A wide string Rust FFI library for converting to and from wide strings,
3133 such as those often used in Windows API or other FFI libaries. Both UTF-16 and
3134 UTF-32 types are provided, including support for malformed encoding.")
3135 (license (list license:asl2.0
3138 (define-public rust-winapi
3140 (name "rust-winapi")
3145 (uri (crate-uri "winapi" version))
3146 (file-name (string-append name "-" version ".tar.gz"))
3149 "1ii9j9lzrhwri0902652awifzx9fpayimbp6hfhhc296xcg0k4w0"))))
3150 (build-system cargo-build-system)
3153 (("rust-winapi-i686-pc-windows-gnu"
3154 ,rust-winapi-i686-pc-windows-gnu)
3155 ("rust-winapi-x86-64-pc-windows-gnu"
3156 ,rust-winapi-x86-64-pc-windows-gnu))))
3157 (home-page "https://github.com/retep998/winapi-rs")
3158 (synopsis "Raw FFI bindings for all of Windows API.")
3160 "Raw FFI bindings for all of Windows API.")
3161 (license (list license:asl2.0
3164 (define-public rust-winapi-0.2
3166 (inherit rust-winapi)
3167 (name "rust-winapi")
3172 (uri (crate-uri "winapi" version))
3173 (file-name (string-append name "-" version ".tar.gz"))
3176 "0yh816lh6lf56dpsgxy189c2ai1z3j8mw9si6izqb6wsjkbcjz8n"))))
3177 ;; We do not want to package 48 -sys crates for a package we do not want.
3178 ;; They are all dev dependencies, so we skip building and testing.
3182 (modify-phases %standard-phases
3183 (delete 'build))))))
3185 (define-public rust-winapi-build
3187 (name "rust-winapi-build")
3192 (uri (crate-uri "winapi-build" version))
3193 (file-name (string-append name "-" version ".tar.gz"))
3196 "1g4rqsgjky0a7530qajn2bbfcrl2v0zb39idgdws9b1l7gp5wc9d"))))
3197 (build-system cargo-build-system)
3198 (home-page "https://github.com/retep998/winapi-rs")
3199 (synopsis "Common code for build.rs in WinAPI -sys crates")
3201 "Common code for build.rs in WinAPI -sys crates.")
3202 (license license:expat)))
3204 (define-public rust-winapi-i686-pc-windows-gnu
3206 (name "rust-winapi-i686-pc-windows-gnu")
3211 (uri (crate-uri "winapi-i686-pc-windows-gnu" version))
3212 (file-name (string-append name "-" version ".tar.gz"))
3215 "1dmpa6mvcvzz16zg6d5vrfy4bxgg541wxrcip7cnshi06v38ffxc"))))
3216 (build-system cargo-build-system)
3217 (home-page "https://github.com/retep998/winapi-rs")
3218 (synopsis "Import libraries for the i686-pc-windows-gnu target")
3219 (description "This crate provides import libraries for the
3220 i686-pc-windows-gnu target. Please don't use this crate directly, depend on
3221 @code{winapi} instead.")
3222 (license (list license:asl2.0
3225 (define-public rust-winapi-util
3227 (name "rust-winapi-util")
3232 (uri (crate-uri "winapi-util" version))
3233 (file-name (string-append name "-" version ".tar.gz"))
3236 "1j839dc6y8vszvrsb7yk0qvs0w6asnahxzbyans37vnsw6vbls3i"))))
3237 (build-system cargo-build-system)
3239 `(#:cargo-inputs (("rust-winapi" ,rust-winapi))))
3240 (home-page "https://github.com/BurntSushi/winapi-util")
3241 (synopsis "Dumping ground for high level safe wrappers over winapi")
3243 "This package provides a dumping ground for high level safe wrappers over
3245 (license (list license:unlicense
3248 (define-public rust-winapi-x86-64-pc-windows-gnu
3250 (name "rust-winapi-x86-64-pc-windows-gnu")
3255 (uri (crate-uri "winapi-x86_64-pc-windows-gnu" version))
3256 (file-name (string-append name "-" version ".tar.gz"))
3259 "0gqq64czqb64kskjryj8isp62m2sgvx25yyj3kpc2myh85w24bki"))))
3260 (build-system cargo-build-system)
3261 (home-page "https://github.com/retep998/winapi-rs")
3262 (synopsis "Import libraries for the x86_64-pc-windows-gnu target")
3263 (description "This package provides import libraries for the
3264 x86_64-pc-windows-gnu target. Please don't use this crate directly, depend on
3265 @code{winapi} instead.")
3266 (license (list license:asl2.0
3269 (define-public rust-wincolor
3271 (name "rust-wincolor")
3276 (uri (crate-uri "wincolor" version))
3277 (file-name (string-append name "-" version ".tar.gz"))
3280 "1agaf3hcav113i86912ajnw6jxcy4rvkrgyf8gdj8kc031mh3xcn"))))
3281 (build-system cargo-build-system)
3284 (("rust-winapi" ,rust-winapi)
3285 ("rust-winapi-util" ,rust-winapi-util))))
3286 (home-page "https://github.com/BurntSushi/termcolor/tree/master/wincolor")
3287 (synopsis "Windows API for controlling text color in a Windows console")
3289 "This package provides a simple Windows specific API for controlling text
3290 color in a Windows console.")
3291 (license (list license:unlicense
3294 (define-public rust-winutil
3296 (name "rust-winutil")
3301 (uri (crate-uri "winutil" version))
3302 (file-name (string-append name "-" version ".tar.gz"))
3305 "0vkyl3fbbf05n5ph5yz8sfaccrk9x3qsr25560w6w68ldf5i7bvx"))))
3306 (build-system cargo-build-system)
3309 (("rust-winapi" ,rust-winapi))
3310 ;; This unmaintained crate cannot find winapi when built directly.
3313 (modify-phases %standard-phases
3315 (home-page "https://bitbucket.org/DaveLancaster/winutil")
3316 (synopsis "Library wrapping a handful of useful winapi functions")
3318 "A simple library wrapping a handful of useful winapi functions.")
3319 (license license:expat)))
3321 (define-public rust-ws2-32-sys
3323 (name "rust-ws2-32-sys")
3328 (uri (crate-uri "ws2_32-sys" version))
3329 (file-name (string-append name "-" version ".tar.gz"))
3332 "0ppscg5qfqaw0gzwv2a4nhn5bn01ff9iwn6ysqnzm4n8s3myz76m"))))
3333 (build-system cargo-build-system)
3336 (("rust-winapi" ,rust-winapi-0.2)
3337 ("rust-winapi-build" ,rust-winapi-build))
3339 (modify-phases %standard-phases
3340 (add-after 'unpack 'fix-Cargo-toml
3342 (substitute* "Cargo.toml"
3343 ((", path =.* }") "}\n"))
3345 (home-page "https://github.com/retep998/winapi-rs")
3346 (synopsis "Function definitions for the Windows API library ws2_32")
3348 "Contains function definitions for the Windows API library ws2_32.")
3349 (license license:expat)))
3351 (define-public rust-xdg
3358 (uri (crate-uri "xdg" version))
3359 (file-name (string-append name "-" version ".tar.gz"))
3362 "0mws8a0fr3cqk5nh7aq9lmkmhzghvasqy4mhw6nnza06l4d6i2fh"))))
3363 (build-system cargo-build-system)
3364 (home-page "https://github.com/whitequark/rust-xdg")
3365 (synopsis "Store and retrieve files according to XDG specification")
3367 "This package provides a library for storing and retrieving files according
3368 to XDG Base Directory specification")
3369 (license (list license:asl2.0