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 compression)
28 #:use-module (gnu packages gcc)
29 #:use-module (gnu packages jemalloc)
30 #:use-module (gnu packages llvm)
31 #:use-module (gnu packages maths)
32 #:use-module (gnu packages pkg-config))
35 ;;; Please: Try to add new module packages in alphabetic order.
38 (define-public rust-adler32
45 (uri (crate-uri "adler32" version))
47 (string-append name "-" version ".tar.gz"))
50 "0p7fxlnks9l7p7rwfqi7aqgnk2bps5zc0rjiw00mdw19nnbjjlky"))))
51 (build-system cargo-build-system)
53 `(#:cargo-development-inputs (("rust-rand" ,rust-rand))))
54 (home-page "https://github.com/remram44/adler32-rs")
55 (synopsis "Implementation of the Adler32 rolling hash algorithm")
57 "This library is an implementation of the Adler32 rolling hash algorithm in
58 the Rust programming language.")
59 (license (list license:bsd-3
62 (define-public rust-ansi-term
64 (name "rust-ansi-term")
69 (uri (crate-uri "ansi_term" version))
70 (file-name (string-append name "-" version ".tar.gz"))
73 "16wpvrghvd0353584i1idnsgm0r3vchg8fyrm0x8ayv1rgvbljgf"))))
74 (build-system cargo-build-system)
77 (("rust-winapi" ,rust-winapi))
79 (modify-phases %standard-phases
80 (add-after 'unpack 'fix-tests
81 ;; https://github.com/ogham/rust-ansi-term/commit/5ff6af6f38790abcb3aafee1239286c10ef69576.patch
83 (substitute* "src/debug.rs"
84 (("^ *Blue") " Blue,")
85 (("underline: false") "underline: false,"))
87 (home-page "https://github.com/ogham/rust-ansi-term")
88 (synopsis "Library for ANSI terminal colours and styles")
90 "This is a library for controlling colours and formatting, such as red bold
91 text or blue underlined text, on ANSI terminals.")
92 (license license:expat)))
94 (define-public rust-antidote
96 (name "rust-antidote")
101 (uri (crate-uri "antidote" version))
102 (file-name (string-append name "-" version ".tar.gz"))
105 "19g2sw2qa2ibnh4x7j1snk46593jgx6y7rnvva496ynq61af5z9l"))))
106 (build-system cargo-build-system)
107 (home-page "https://github.com/sfackler/rust-antidote")
108 (synopsis "Poison-free Mutex and RwLock types")
110 "These types expose identical APIs to the standard library @code{Mutex} and
111 @code{RwLock} except that they do not return @code{PoisonError}s.")
112 (license (list license:asl2.0
115 (define-public rust-atty
122 (uri (crate-uri "atty" version))
123 (file-name (string-append name "-" version ".tar.gz"))
126 "140sswp1bwqwc4zk80bxkbnfb3g936hgrb77g9g0k1zcld3wc0qq"))))
127 (build-system cargo-build-system)
130 (("rust-libc" ,rust-libc)
131 ("rust-winapi" ,rust-winapi))
132 #:tests? #f)) ; tests fail in our sandbox
133 (home-page "https://github.com/softprops/atty")
134 (synopsis "A simple interface for querying atty")
136 "This package provides a simple interface for querying atty.")
137 (license license:expat)))
139 (define-public rust-autocfg
141 (name "rust-autocfg")
146 (uri (crate-uri "autocfg" version))
147 (file-name (string-append name "-" version ".tar.gz"))
150 "0asl6fnc35yk5l2rxwhp25v128jgm45dp754h9z8x51b6n90w4r2"))))
151 (build-system cargo-build-system)
152 (home-page "https://github.com/cuviper/autocfg")
153 (synopsis "Automatic cfg for Rust compiler features")
154 (description "Rust library for build scripts to automatically configure
155 code based on compiler support. Code snippets are dynamically tested to see
156 if the @code{rustc} will accept them, rather than hard-coding specific version
158 (license (list license:asl2.0
161 (define-public rust-base-x
168 (uri (crate-uri "base-x" version))
169 (file-name (string-append name "-" version ".tar.gz"))
172 "0hv4y5cdhv6bk0ghk2434clw8v4mmk5cc9lsh6qrpri92zlfmx3n"))))
173 (build-system cargo-build-system)
175 `(#:cargo-development-inputs
176 (("rust-bencher" ,rust-bencher)
177 ("rust-json" ,rust-json)
178 ("rust-rand" ,rust-rand-0.3))))
179 (home-page "https://github.com/OrKoN/base-x-rs")
180 (synopsis "Encode/decode any base")
181 (description "This library provides for encoding and decoding any base.")
182 (license license:expat)))
184 (define-public rust-bencher
186 (name "rust-bencher")
191 (uri (crate-uri "bencher" version))
192 (file-name (string-append name "-" version ".tar.gz"))
195 "1x8p2xblgqssay8cdykp5pkfc0np0jk5bs5cx4f5av097aav9zbx"))))
196 (build-system cargo-build-system)
197 (home-page "https://github.com/bluss/bencher/")
198 (synopsis "Port of the libtest benchmark runner to Rust stable")
199 (description "This package provides a port of the libtest (unstable Rust)
200 benchmark runner to Rust stable releases. Supports running benchmarks and
201 filtering based on the name. Benchmark execution works exactly the same way
202 and no more (caveat: black_box is still missing!).")
203 (license (list license:asl2.0
206 (define-public rust-bitflags
208 (name "rust-bitflags")
213 (uri (crate-uri "bitflags" version))
214 (file-name (string-append name "-" version ".tar.gz"))
217 "1zc1qb1hwsnl2d8rhzicsv9kqd5b2hwbrscrcfw5as4sfr35659x"))))
218 (build-system cargo-build-system)
219 (home-page "https://github.com/bitflags/bitflags")
220 (synopsis "Macro to generate structures which behave like bitflags")
221 (description "This package provides a macro to generate structures which
222 behave like a set of bitflags.")
223 (license (list license:asl2.0
226 (define-public rust-blas-sys
228 (name "rust-blas-sys")
233 (uri (crate-uri "blas-sys" version))
234 (file-name (string-append name "-" version ".tar.gz"))
237 "0h14zjycwc76v15h8qll9z1xiryvmpvsb5gam97pqpdjrrwv5c8k"))))
238 (build-system cargo-build-system)
240 `(#:cargo-inputs (("rust-libc" ,rust-libc))))
241 (home-page "https://github.com/blas-lapack-rs/blas-sys")
242 (synopsis "Bindings to BLAS (Fortran)")
244 "Ths package provides bindings to BLAS (Fortran).")
245 (license (list license:asl2.0
248 (define-public rust-cargon
255 (uri (crate-uri "cargon" version))
256 (file-name (string-append name "-" version ".tar.gz"))
259 "1cszlab7jk736p0lb50ag4l9nv72m7j41bwrmygl0lr4iz0350w2"))))
260 (build-system cargo-build-system)
263 (("rust-gcc" ,rust-gcc))))
264 (home-page "https://github.com/bryant/argon2rs")
265 (synopsis "Thin wrapper around the Argon2 C library")
267 "This package provides a thin wrapper around the Argon2 C library. It is
268 used in argon2rs' bench suite.")
269 (license license:wtfpl2)))
271 (define-public rust-cblas-sys
273 (name "rust-cblas-sys")
278 (uri (crate-uri "cblas-sys" version))
279 (file-name (string-append name "-" version ".tar.gz"))
282 "0rgsn3klhhh09d8qf3b87zl4rwk93l2g0qzh9hhb0lff5kcfrzmn"))))
283 (build-system cargo-build-system)
285 `(#:cargo-inputs (("rust-libc" ,rust-libc))))
286 (home-page "https://github.com/blas-lapack-rs/cblas-sys")
287 (synopsis "Bindings to CBLAS (C)")
289 "The package provides bindings to CBLAS (C).")
290 (license (list license:asl2.0
293 (define-public rust-cc
300 (uri (crate-uri "cc" version))
301 (file-name (string-append name "-" version ".tar.gz"))
304 "1zxzd559dbbf1iwdzmkj7czapzccs17kqqmsj9ayijpdix5rrbld"))))
305 (build-system cargo-build-system)
308 ;(("rust-rayon" ,rust-rayon))
309 #:cargo-development-inputs
310 (("rust-tempdir" ,rust-tempdir))
312 (modify-phases %standard-phases
313 (add-after 'unpack 'remove-optional-deps
315 (substitute* "Cargo.toml.orig"
316 ((".*optional.*") "\n")
317 ((".*features.*") "")
318 ((".*parallel.*") ""))
319 (delete-file "Cargo.toml")
320 (copy-file "Cargo.toml.orig" "Cargo.toml")
322 #:tests? #f)) ; Tests require cc-test from git repo.
323 (home-page "https://github.com/alexcrichton/cc-rs")
324 (synopsis "Invoke the native C compiler")
326 "This package provides a build-time dependency for Cargo build scripts to
327 assist in invoking the native C compiler to compile native C code into a static
328 archive to be linked into Rustcode.")
329 (license (list license:asl2.0
332 (define-public rust-cfg-if
339 (uri (crate-uri "cfg-if" version))
340 (file-name (string-append name "-" version ".tar.gz"))
343 "0csygklgz3ybpr0670rkip49zh76m43ar3k7xgypkzbzrwycx1ml"))))
344 (build-system cargo-build-system)
345 (home-page "https://github.com/alexcrichton/cfg-if")
346 (synopsis "Define an item depending on parameters")
347 (description "This package provides a macro to ergonomically define an item
348 depending on a large number of #[cfg] parameters. Structured like an
349 @code{if-else} chain, the first matching branch is the item that gets emitted.")
350 (license (list license:asl2.0
353 (define-public rust-clang-sys
355 (name "rust-clang-sys")
360 (uri (crate-uri "clang-sys" version))
361 (file-name (string-append name "-" version ".tar.gz"))
364 "0ls8zcqi5bmmrvrk3b6r1ym4wlivinbv590d2dvg2xn9f44mbpl1"))))
365 (build-system cargo-build-system)
368 (("rust-glob" ,rust-glob)
369 ("rust-libc" ,rust-libc)
370 ("rust-libloading" ,rust-libloading))
371 #:cargo-development-inputs
372 (("rust-glob" ,rust-glob))
374 (modify-phases %standard-phases
375 (add-after 'unpack 'set-environmental-variable
376 (lambda* (#:key inputs #:allow-other-keys)
377 (let ((clang (assoc-ref inputs "libclang")))
378 (setenv "LIBCLANG_PATH"
379 (string-append clang "/lib")))
382 `(("libclang" ,clang)))
383 (home-page "https://github.com/KyleMayes/clang-sys")
384 (synopsis "Rust bindings for libclang")
386 "This package provides Rust bindings for @code{libclang}.")
387 (license license:asl2.0)))
389 (define-public rust-clicolors-control
391 (name "rust-clicolors-control")
396 (uri (crate-uri "clicolors-control" version))
397 (file-name (string-append name "-" version ".tar.gz"))
400 "1y80cgarxhrd1bz5yjm81r444v6flvy36aaxrrsac0yhfd6gvavk"))))
401 (build-system cargo-build-system)
404 (("rust-atty" ,rust-atty)
405 ("rust-lazy-static" ,rust-lazy-static)
406 ("rust-libc" ,rust-libc)
407 ("rust-winapi" ,rust-winapi))))
408 (home-page "https://github.com/mitsuhiko/clicolors-control")
409 (synopsis "Common utility library to control CLI colorization")
411 "This package provides a common utility library to control CLI
413 (license license:expat)))
415 (define-public rust-cloudabi
417 (name "rust-cloudabi")
422 (uri (crate-uri "cloudabi" version))
423 (file-name (string-append name "-" version ".tar.gz"))
426 "0kxcg83jlihy0phnd2g8c2c303px3l2p3pkjz357ll6llnd5pz6x"))))
427 (build-system cargo-build-system)
430 (("rust-bitflags" ,rust-bitflags))))
431 (home-page "https://nuxi.nl/cloudabi/")
432 (synopsis "Low level interface to CloudABI")
434 "Low level interface to CloudABI. Contains all syscalls and related types.")
435 (license license:bsd-2)))
437 (define-public rust-cmake
444 (uri (crate-uri "cmake" version))
445 (file-name (string-append name "-" version ".tar.gz"))
448 "0qkwibkvx5xjazvv9v8gvdlpky2jhjxvcz014nrixgzqfyv2byw1"))))
449 (build-system cargo-build-system)
451 `(#:cargo-inputs (("rust-cc" ,rust-cc))))
452 (home-page "https://github.com/alexcrichton/cmake-rs")
453 (synopsis "Rust build dependency for running cmake")
455 "This package provides a build dependency for running @code{cmake} to build
456 a native library. The CMake executable is assumed to be @code{cmake} unless the
457 CMAKE environmental variable is set.")
458 (license (list license:asl2.0
461 ;; This package requires features which are unavailable
462 ;; on the stable releases of Rust.
463 (define-public rust-compiler-builtins
465 (name "rust-compiler-builtins")
470 (uri (crate-uri "compiler_builtins" version))
471 (file-name (string-append name "-" version ".tar.gz"))
474 "1fpabpmg8paj4r5a37vmidh1jx1b7a6ilxm4s3xsxczx27ybjcjf"))))
475 (build-system cargo-build-system)
478 (("rust-cc" ,rust-cc)
479 ("rust-rustc-std-workspace-core"
480 ,rust-rustc-std-workspace-core))))
481 (home-page "https://github.com/rust-lang-nursery/compiler-builtins")
482 (synopsis "Compiler intrinsics used by the Rust compiler")
484 "This package provides compiler intrinsics used by the Rust compiler. This
485 package is primarily useful when building the @code{core} crate yourself and you
486 need compiler-rt intrinsics.")
487 (properties `((hidden? . #t)))
488 (license (list license:asl2.0
491 (define-public rust-constant-time-eq
493 (name "rust-constant-time-eq")
498 (uri (crate-uri "constant_time_eq" version))
499 (file-name (string-append name "-" version ".tar.gz"))
502 "083icpr9xb72rrdxw3p4068dcspn6ai22jy7rhl2a8grfz448nlr"))))
503 (build-system cargo-build-system)
504 (home-page "https://crates.io/crates/constant_time_eq")
506 "Compares two equal-sized byte strings in constant time")
508 "This package compares two equal-sized byte strings in constant time.
509 It is inspired by the Linux kernel's @code{crypto_memneq}.")
510 (license license:cc0)))
512 (define-public rust-core-foundation-sys
514 (name "rust-core-foundation-sys")
519 (uri (crate-uri "core-foundation-sys" version))
520 (file-name (string-append name "-" version ".tar.gz"))
523 "0fzsw1j9g1x598yhwklg59l15hwzc0pyvs01w9fg2kin4598mjp7"))))
524 (build-system cargo-build-system)
525 (home-page "https://github.com/servo/core-foundation-rs")
526 (synopsis "Bindings to Core Foundation for OS X")
528 "Bindings to Core Foundation for OS X.")
529 (license (list license:asl2.0
532 (define-public rust-data-encoding
534 (name "rust-data-encoding")
539 (uri (crate-uri "data-encoding" version))
540 (file-name (string-append name "-" version ".tar.gz"))
543 "15xd6afhsjl08285piwczrafmckpp8i29padj8v12xhahshprx7l"))))
544 (build-system cargo-build-system)
545 (home-page "https://github.com/ia0/data-encoding")
546 (synopsis "Efficient and customizable data-encoding functions")
548 "This library provides encodings for many different common cases, including
549 hexadecimal, bas32, and base64.")
550 (license license:expat)))
552 (define-public rust-defmac
559 (uri (crate-uri "defmac" version))
560 (file-name (string-append name "-" version ".tar.gz"))
563 "01ff3jdmcc5waffkwllndnx5hsn414r7x1rq4ib73n7awsyzxkxv"))))
564 (build-system cargo-build-system)
565 (home-page "https://github.com/bluss/defmac")
566 (synopsis "Macro to define lambda-like macros inline")
567 (description "A macro to define lambda-like macros inline.")
568 (license (list license:asl2.0
571 (define-public rust-defmac-0.1
573 (inherit rust-defmac)
579 (uri (crate-uri "defmac" version))
580 (file-name (string-append name "-" version ".tar.gz"))
583 "17giv0n0n1r64z0dahfvkjy3ys517jxyhs8sd9lmgvcljpjyryxa"))))))
585 (define-public rust-discard
587 (name "rust-discard")
592 (uri (crate-uri "discard" version))
593 (file-name (string-append name "-" version ".tar.gz"))
596 "1h67ni5bxvg95s91wgicily4ix7lcw7cq0a5gy9njrybaibhyb91"))))
597 (build-system cargo-build-system)
598 (home-page "https://github.com/Pauan/rust-discard")
599 (synopsis "Allow for intentionally leaking memory")
600 (description "There are situations where you need to intentionally leak some
601 memory but not other memory. This package provides a discard trait which allows
602 for intentionally leaking memory")
603 (license license:expat)))
605 (define-public rust-doc-comment
607 (name "rust-doc-comment")
612 (uri (crate-uri "doc-comment" version))
613 (file-name (string-append name "-" version ".tar.gz"))
616 "15rsqxgarfpb1yim9sbp9yfgj7p2dq6v51c6bq1a62paii9ylgcj"))))
617 (build-system cargo-build-system)
618 (home-page "https://github.com/GuillaumeGomez/doc-comment")
619 (synopsis "Macro to generate doc comments")
620 (description "This package provides a way to generate doc comments
622 (license license:expat)))
624 (define-public rust-dtoa
631 (uri (crate-uri "dtoa" version))
632 (file-name (string-append name "-" version ".tar.gz"))
635 "0phbm7i0dpn44gzi07683zxaicjap5064w62pidci4fhhciv8mza"))))
636 (build-system cargo-build-system)
637 (home-page "https://github.com/dtolnay/dtoa")
638 (synopsis "Fast functions for printing floating-point primitives")
639 (description "This crate provides fast functions for printing
640 floating-point primitives to an @code{io::Write}.")
641 (license (list license:asl2.0
644 (define-public rust-fallible-iterator
646 (name "rust-fallible-iterator")
651 (uri (crate-uri "fallible-iterator" version))
652 (file-name (string-append name "-" version ".tar.gz"))
655 "1xq759lsr8gqss7hva42azn3whgrbrs2sd9xpn92c5ickxm1fhs4"))))
656 (build-system cargo-build-system)
657 (home-page "https://github.com/sfackler/rust-fallible-iterator")
658 (synopsis "Fallible iterator traits")
659 (description "If the @code{std} or @code{alloc} features are enabled, this
660 crate provides implementations for @code{Box}, @code{Vec}, @code{BTreeMap}, and
661 @code{BTreeSet}. If the @code{std} feature is enabled, this crate additionally
662 provides implementations for @code{HashMap} and @code{HashSet}.")
663 (license (list license:asl2.0
666 (define-public rust-filetime
668 (name "rust-filetime")
673 (uri (crate-uri "filetime" version))
674 (file-name (string-append name "-" version ".tar.gz"))
677 "0sflihq2l77xjrza7yjalnxsc7dxzg25rhzcfbd9vmyfah5kimvb"))))
678 (build-system cargo-build-system)
681 (("rust-cfg-if" ,rust-cfg-if)
682 ("rust-libc" ,rust-libc)
683 ("rust-redox-syscall" ,rust-redox-syscall)
684 ("rust-winapi" ,rust-winapi))
685 #:cargo-development-inputs
686 (("rust-tempdir" ,rust-tempdir))))
687 (home-page "https://github.com/alexcrichton/filetime")
688 (synopsis "Platform-agnostic accessors of timestamps in File metadata")
690 "This library contains a helper library for inspecting and setting the
691 various timestamps of files in Rust. This library takes into account
692 cross-platform differences in terms of where the timestamps are located, what
693 they are called, and how to convert them into a platform-independent
695 (license (list license:asl2.0
698 (define-public rust-findshlibs
700 (name "rust-findshlibs")
705 (uri (crate-uri "findshlibs" version))
706 (file-name (string-append name "-" version ".tar.gz"))
709 "1n2vagn0q5yim32hxkwi1cjgp3yn1dm45p7z8nw6lapywihhs9mi"))))
710 (build-system cargo-build-system)
713 (("rust-lazy-static" ,rust-lazy-static)
714 ("rust-libc" ,rust-libc))))
715 (home-page "https://github.com/gimli-rs/findshlibs")
716 (synopsis "Find the set of shared libraries loaded in the current process")
718 "Find the set of shared libraries loaded in the current process with a
719 cross platform API.")
720 (license (list license:asl2.0
723 (define-public rust-fixedbitset
725 (name "rust-fixedbitset")
730 (uri (crate-uri "fixedbitset" version))
731 (file-name (string-append name "-" version ".tar.gz"))
734 "0czam11mi80dbyhf4rd4lz0ihcf7vkfchrdcrn45wbs0h40dxm46"))))
735 (build-system cargo-build-system)
736 (home-page "https://github.com/bluss/fixedbitset")
737 (synopsis "FixedBitSet is a simple bitset collection")
738 (description "FixedBitSet is a simple bitset collection.")
739 (license (list license:asl2.0
742 (define-public rust-fnv
749 (uri (crate-uri "fnv" version))
750 (file-name (string-append name "-" version ".tar.gz"))
753 "1ww56bi1r5b8id3ns9j3qxbi7w5h005rzhiryy0zi9h97raqbb9g"))))
754 (build-system cargo-build-system)
755 (home-page "https://github.com/servo/rust-fnv")
756 (synopsis "implementation of the Fowler-Noll-Vo hash function")
757 (description "The @code{fnv} hash function is a custom @code{Hasher}
758 implementation that is more efficient for smaller hash keys.")
759 (license (list license:asl2.0
762 (define-public rust-foreign-types-shared
764 (name "rust-foreign-types-shared")
769 (uri (crate-uri "foreign-types-shared" version))
770 (file-name (string-append name "-" version ".tar.gz"))
773 "0kanxlif1vp0ffh2r9l610jqbkmb3183yqykxq1z5w1vay2rn7y6"))))
774 (build-system cargo-build-system)
775 (home-page "https://github.com/sfackler/foreign-types")
776 (synopsis "An internal crate used by foreign-types")
778 "An internal crate used by foreign-types.")
779 (license (list license:asl2.0
782 (define-public rust-fs-extra
784 (name "rust-fs-extra")
789 (uri (crate-uri "fs_extra" version))
790 (file-name (string-append name "-" version ".tar.gz"))
793 "0x6675wdhsx277k1k1235jwcv38naf20d8kwrk948ds26hh4lajz"))))
794 (build-system cargo-build-system)
795 (home-page "https://github.com/webdesus/fs_extra")
796 (synopsis "Extra filesystem methods")
797 (description "Expanding opportunities standard library @code{std::fs} and
798 @code{std::io}. Recursively copy folders with recept information about
799 process and much more.")
800 (license license:expat)))
802 (define-public rust-fuchsia-cprng
804 (name "rust-fuchsia-cprng")
809 (uri (crate-uri "fuchsia-cprng" version))
810 (file-name (string-append name "-" version ".tar.gz"))
813 "1fnkqrbz7ixxzsb04bsz9p0zzazanma8znfdqjvh39n14vapfvx0"))))
814 (build-system cargo-build-system)
816 `(#:tests? #f)) ; tests require zircon
817 (home-page "https://fuchsia.googlesource.com/fuchsia/+/master/garnet/public/rust/fuchsia-cprng")
818 (synopsis "Fuchsia cryptographically secure pseudorandom number generator")
819 (description "Rust crate for the Fuchsia cryptographically secure
820 pseudorandom number generator")
821 (license license:bsd-3)))
823 (define-public rust-fuchsia-zircon
825 (name "rust-fuchsia-zircon")
830 (uri (crate-uri "fuchsia-zircon" version))
831 (file-name (string-append name "-" version ".tar.gz"))
834 "10jxc5ks1x06gpd0xg51kcjrxr35nj6qhx2zlc5n7bmskv3675rf"))))
835 (build-system cargo-build-system)
838 (("rust-bitflags" ,rust-bitflags)
839 ("rust-fuchsia-zircon-sys" ,rust-fuchsia-zircon-sys))
840 #:tests? #f)) ; tests require zircon
841 (home-page "https://fuchsia.googlesource.com/garnet/")
842 (synopsis "Rust bindings for the Zircon kernel")
843 (description "Rust bindings for the Zircon kernel.")
844 (license license:bsd-3)))
846 (define-public rust-fuchsia-zircon-sys
848 (name "rust-fuchsia-zircon-sys")
853 (uri (crate-uri "fuchsia-zircon-sys" version))
854 (file-name (string-append name "-" version ".tar.gz"))
857 "19zp2085qsyq2bh1gvcxq1lb8w6v6jj9kbdkhpdjrl95fypakjix"))))
858 (build-system cargo-build-system)
860 `(#:tests? #f)) ; tests require zircon
861 (home-page "https://fuchsia.googlesource.com/garnet/")
862 (synopsis "Low-level Rust bindings for the Zircon kernel")
863 (description "Low-level Rust bindings for the Zircon kernel.")
864 (license license:bsd-3)))
866 (define-public rust-futures
868 (name "rust-futures")
873 (uri (crate-uri "futures" version))
874 (file-name (string-append name "-" version ".tar.gz"))
877 "0saq8ffjw1pwf1pzhw3kq1z7dfq6wpd8x93dnni6vbkc799kkp25"))))
878 (build-system cargo-build-system)
879 (home-page "https://github.com/rust-lang-nursery/futures-rs")
880 (synopsis "Implementation of zero-cost futures in Rust")
881 (description "An implementation of @code{futures} and @code{streams}
882 featuring zero allocations, composability, and iterator-like interfaces.")
883 (license (list license:asl2.0
886 (define-public rust-futures-cpupool
888 (name "rust-futures-cpupool")
893 (uri (crate-uri "futures-cpupool" version))
894 (file-name (string-append name "-" version ".tar.gz"))
897 "1r32456gpblzfvnkf60545v8acqk7gh5zhyhi1jn669k9gicv45b"))))
898 (build-system cargo-build-system)
901 (("rust-futures" ,rust-futures)
902 ("rust-num-cpus" ,rust-num-cpus))))
903 (home-page "https://github.com/alexcrichton/futures-rs")
904 (synopsis "Implementation of thread pools which hand out futures")
906 "An implementation of thread pools which hand out futures to the results of
907 the computation on the threads themselves.")
908 (license (list license:asl2.0
911 (define-public rust-futures-io-preview
913 (name "rust-futures-io-preview")
914 (version "0.3.0-alpha.17")
918 (uri (crate-uri "futures-io-preview" version))
919 (file-name (string-append name "-" version ".tar.gz"))
922 "0fhvwhdb8ywjjbfng0ra1r8yyc9yzpyxg9sv3spb3f7w0lk40bh8"))))
923 (build-system cargo-build-system)
924 (home-page "https://rust-lang-nursery.github.io/futures-rs/")
925 (synopsis "Async read and write traits for the futures library")
926 (description "This crate provides the @code{AsyncRead} and
927 @code{AsyncWrite} traits for the @code{futures-rs} library.")
928 (license (list license:asl2.0
931 (define-public rust-gcc
939 (uri (crate-uri "gcc" version))
940 (file-name (string-append name "-" version ".tar.gz"))
943 "1hng1sajn4r67hndvhjysswz8niayjwvcj42zphpxzhbz89kjpwg"))))
944 (build-system cargo-build-system)
947 ;(("rust-rayon" ,rust-rayon))
948 #:cargo-development-inputs
949 (("rust-tempdir" ,rust-tempdir))
951 (modify-phases %standard-phases
952 (add-after 'unpack 'remove-optional-deps
954 (substitute* "Cargo.toml.orig"
955 ((".*optional.*") "\n")
956 ((".*features.*") "")
957 ((".*parallel.*") ""))
958 (delete-file "Cargo.toml")
959 (copy-file "Cargo.toml.orig" "Cargo.toml")
962 (home-page "https://github.com/alexcrichton/cc-rs")
963 (synopsis "Library to compile C/C++ code into a Rust library/application")
965 "This package provides a build-time dependency for Cargo build scripts to
966 assist in invoking the native C compiler to compile native C code into a static
967 archive to be linked into Rustcode.")
968 (license (list license:asl2.0
971 (define-public rust-glob
978 (uri (crate-uri "glob" version))
979 (file-name (string-append name "-" version ".tar.gz"))
982 "0x25wfr7vg3mzxc9x05dcphvd3nwlcmbnxrvwcvrrdwplcrrk4cv"))))
983 (build-system cargo-build-system)
985 `(#:cargo-development-inputs
986 (("rust-tempdir" ,rust-tempdir))
988 (modify-phases %standard-phases
989 (add-after 'unpack 'fix-tests
990 ;; This test assumes /root exists but is unreadable by the user.
992 (substitute* "src/lib.rs"
993 (("cfg\\(all\\(unix,.*") "cfg(windows)]\n"))
995 (home-page "https://github.com/rust-lang-nursery/glob")
996 (synopsis "Match file paths against Unix shell style patterns")
998 "This package provides support for matching file paths against Unix
999 shell style patterns.")
1000 (license (list license:asl2.0
1003 (define-public rust-glob-0.2
1011 (uri (crate-uri "glob" version))
1012 (file-name (string-append name "-" version ".tar.gz"))
1015 "1ysvi72slkw784fcsymgj4308c3y03gwjjzqxp80xdjnkbh8vqcb"))))
1017 `(#:cargo-development-inputs
1018 (("rust-tempdir" ,rust-tempdir))
1020 (modify-phases %standard-phases
1021 (add-after 'unpack 'fix-tests
1022 ;; This test assumes /root exists but is unreadable by the user.
1024 (substitute* "src/lib.rs"
1025 (("cfg\\(unix") "cfg(windows"))
1028 (define-public rust-heapsize
1030 (name "rust-heapsize")
1035 (uri (crate-uri "heapsize" version))
1036 (file-name (string-append name "-" version ".tar.gz"))
1039 "0q94q9ppqjgrw71swiyia4hgby2cz6dldp7ij57nkvhd6zmfcy8n"))))
1040 (build-system cargo-build-system)
1042 `(#:cargo-inputs (("rust-winapi" ,rust-winapi))
1043 ;; Tests assume rust is built with jemalloc.
1044 ;; https://github.com/servo/heapsize/issues/74
1045 #:cargo-test-flags '("--features" "flexible-tests")))
1046 (home-page "https://github.com/servo/heapsize")
1047 (synopsis "Measure the total runtime size of an object on the heap")
1049 "Infrastructure for measuring the total runtime size of an object on the
1051 (license (list license:asl2.0
1054 (define-public rust-heapsize-0.3
1056 (inherit rust-heapsize)
1057 (name "rust-heapsize")
1062 (uri (crate-uri "heapsize" version))
1063 (file-name (string-append name "-" version ".tar.gz"))
1066 "0dmwc37vgsdjzk10443dj4f23439i9gch28jcwzmry3chrwx8v2m"))))
1068 `(#:cargo-inputs (("rust-kernel32-sys" ,rust-kernel32-sys))
1069 #:tests? #f)))) ;; No flexible-tests feature flags on this release.
1071 ;; This package makes use of removed features
1072 (define-public rust-heapsize-plugin
1074 (name "rust-heapsize-plugin")
1079 (uri (crate-uri "heapsize_plugin" version))
1080 (file-name (string-append name "-" version ".tar.gz"))
1083 "1i72isf699q9jl167g2kg4xd6h3cd05rc79zaph58aqjy0g0m9y9"))))
1084 (build-system cargo-build-system)
1086 `(#:cargo-development-inputs (("rust-heapsize" ,rust-heapsize-0.3))
1088 (modify-phases %standard-phases
1089 (add-after 'unpack 'fix-Cargo-toml
1091 (substitute* "Cargo.toml"
1092 (("path = \"..\", ") ""))
1094 (home-page "https://github.com/servo/heapsize")
1095 (synopsis "Measure runtime size of an object on the heap")
1097 "This package automatically generates infrastructure for measuring the
1098 total runtime size of an object on the heap")
1099 (properties `((hidden? . #t)))
1100 (license license:mpl2.0)))
1102 (define-public rust-hex
1109 (uri (crate-uri "hex" version))
1110 (file-name (string-append name "-" version ".tar.gz"))
1113 "0xsdcjiik5j750j67zk42qdnmm4ahirk3gmkmcqgq7qls2jjcl40"))))
1114 (build-system cargo-build-system)
1115 (home-page "https://github.com/KokaKiwi/rust-hex")
1116 (synopsis "Encode and decode data to/from hexadecimals")
1117 (description "This crate allows for encoding and decoding data into/from
1118 hexadecimal representation.")
1119 (license (list license:asl2.0
1122 (define-public rust-hostname
1124 (name "rust-hostname")
1129 (uri (crate-uri "hostname" version))
1130 (file-name (string-append name "-" version ".tar.gz"))
1133 "0kprf862qaa7lwdms6aw7f3275h0j2rwhs9nz5784pm8hdmb9ki1"))))
1134 (build-system cargo-build-system)
1137 (("rust-libc" ,rust-libc)
1138 ("rust-winutil" ,rust-winutil))))
1139 (home-page "https://github.com/fengcen/hostname")
1140 (synopsis "Get hostname for Rust")
1142 "Get hostname for Rust.")
1143 (license license:expat)))
1145 (define-public rust-iovec
1152 (uri (crate-uri "iovec" version))
1153 (file-name (string-append name "-" version ".tar.gz"))
1156 "025vi072m22299z3fg73qid188z2iip7k41ba6v5v5yhwwby9rnv"))))
1157 (build-system cargo-build-system)
1160 (("rust-libc" ,rust-libc)
1161 ("rust-winapi" ,rust-winapi-0.2))))
1162 (home-page "https://github.com/carllerche/iovec")
1163 (synopsis "Portable buffer type for scatter/gather I/O operations")
1165 "Portable buffer type for scatter/gather I/O operations.")
1166 (license (list license:asl2.0
1169 (define-public rust-itoa
1176 (uri (crate-uri "itoa" version))
1177 (file-name (string-append name "-" version ".tar.gz"))
1180 "0zvg2d9qv3avhf3d8ggglh6fdyw8kkwqg3r4622ly5yhxnvnc4jh"))))
1181 (build-system cargo-build-system)
1182 (home-page "https://github.com/dtolnay/itoa")
1183 (synopsis "Fast functions for printing integer primitives")
1184 (description "This crate provides fast functions for printing integer
1185 primitives to an @code{io::Write}.")
1186 (license (list license:asl2.0
1189 (define-public rust-jemalloc-sys
1191 (name "rust-jemalloc-sys")
1196 (uri (crate-uri "jemalloc-sys" version))
1197 (file-name (string-append name "-" version ".tar.gz"))
1200 "0ify9vlql01qhfxlj7d4p9jvcp90mj2h69nkbq7slccvbhzryfqd"))))
1201 (build-system cargo-build-system)
1204 (("rust-libc" ,rust-libc)
1205 ("rust-cc" ,rust-cc)
1206 ("rust-fs-extra" ,rust-fs-extra))
1208 (modify-phases %standard-phases
1209 (add-after 'unpack 'override-jemalloc
1210 (lambda* (#:key inputs #:allow-other-keys)
1211 (let ((jemalloc (assoc-ref inputs "jemalloc")))
1212 (delete-file-recursively "jemalloc")
1213 (setenv "JEMALLOC_OVERRIDE"
1214 (string-append jemalloc "/lib/libjemalloc_pic.a")))
1217 `(("jemalloc" ,jemalloc)))
1218 (home-page "https://github.com/gnzlbg/jemallocator")
1219 (synopsis "Rust FFI bindings to jemalloc")
1220 (description "This package provides Rust FFI bindings to jemalloc.")
1221 (license (list license:asl2.0
1224 (define-public rust-json
1231 (uri (crate-uri "json" version))
1232 (file-name (string-append name "-" version ".tar.gz"))
1235 "1hj8c6xj5c2aqqszi8naaflmcdbya1i9byyjrq4iybxjb4q91mq1"))))
1236 (build-system cargo-build-system)
1237 (home-page "https://github.com/maciejhirsz/json-rust")
1238 (synopsis "JSON implementation in Rust")
1239 (description "This crate provides a JSON implementation in Rust, reducing
1240 friction with idiomatic Rust structs to ease interopability.")
1241 (license (list license:asl2.0
1244 (define-public rust-kernel32-sys
1246 (name "rust-kernel32-sys")
1251 (uri (crate-uri "kernel32-sys" version))
1252 (file-name (string-append name "-" version ".tar.gz"))
1255 "1389av0601a9yz8dvx5zha9vmkd6ik7ax0idpb032d28555n41vm"))))
1256 (build-system cargo-build-system)
1259 (("rust-winapi" ,rust-winapi-0.2)
1260 ("rust-winapi-build" ,rust-winapi-build))
1262 (modify-phases %standard-phases
1263 (add-after 'unpack 'fix-Cargo-toml
1265 (substitute* "Cargo.toml"
1266 ((", path =.* }") "}\n"))
1268 (home-page "https://github.com/retep998/winapi-rs")
1269 (synopsis "Function definitions for the Windows API library kernel32")
1270 (description "Contains function definitions for the Windows API library
1272 (license license:expat)))
1274 (define-public rust-language-tags
1276 (name "rust-language-tags")
1281 (uri (crate-uri "language-tags" version))
1282 (file-name (string-append name "-" version ".tar.gz"))
1285 "16hrjdpa827carq5x4b8zhas24d8kg4s16m6nmmn1kb7cr5qh7d9"))))
1286 (build-system cargo-build-system)
1289 (("rust-heapsize" ,rust-heapsize-0.3))
1290 #:cargo-development-inputs
1291 (("rust-heapsize-plugin" ,rust-heapsize-plugin))))
1292 (home-page "https://github.com/pyfisch/rust-language-tags")
1293 (synopsis "Language tags for Rust")
1295 "Language tags can be used identify human languages, scripts e.g. Latin
1296 script, countries and other regions. They are commonly used in HTML and HTTP
1297 @code{Content-Language} and @code{Accept-Language} header fields. This package
1298 currently supports parsing (fully conformant parser), formatting and comparing
1300 (license license:expat)))
1302 (define-public rust-lazy-static
1304 (name "rust-lazy-static")
1309 (uri (crate-uri "lazy_static" version))
1310 (file-name (string-append name "-" version ".tar.gz"))
1313 "052ac27w189hrf1j3hz7sga46rp84zl2hqnzyihxv78mgzr2jmxw"))))
1314 (build-system cargo-build-system)
1316 `(#:cargo-inputs (("rust-spin" ,rust-spin))))
1317 (home-page "https://github.com/rust-lang-nursery/lazy-static.rs")
1318 (synopsis "Macro for declaring lazily evaluated statics in Rust")
1320 "This package provides a macro for declaring lazily evaluated statics in
1321 Rust. Using this macro, it is possible to have @code{static}s that require code
1322 to be executed at runtime in order to be initialized. This includes anything
1323 requiring heap allocations, like vectors or hash maps, as well as anything that
1324 requires non-const function calls to be computed.")
1325 (license (list license:asl2.0
1328 (define-public rust-libc
1335 (uri (crate-uri "libc" version))
1337 (string-append name "-" version ".tar.gz"))
1340 "1fh69kpjg8hqff36kdczx7sax98gk4qs4ws1dwvjz0rgip0d5z1l"))))
1341 (build-system cargo-build-system)
1344 (("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core))))
1345 (home-page "https://github.com/rust-lang/libc")
1346 (synopsis "Raw FFI bindings to platform libraries like libc")
1348 "libc provides all of the definitions necessary to easily
1349 interoperate with C code (or \"C-like\" code) on each of the platforms
1350 that Rust supports. This includes type definitions (e.g., c_int),
1351 constants (e.g., EINVAL) as well as function headers (e.g., malloc).
1353 This crate exports all underlying platform types, functions, and
1354 constants under the crate root, so all items are accessible as
1355 @samp{libc::foo}. The types and values of all the exported APIs match
1356 the platform that libc is compiled for.")
1357 (license (list license:expat
1360 (define-public rust-libloading
1362 (name "rust-libloading")
1367 (uri (crate-uri "libloading" version))
1368 (file-name (string-append name "-" version ".tar.gz"))
1371 "0lyply8rcqc8agajzxs7bq6ivba9dnn1i68kgb9z2flnfjh13cgj"))))
1372 (build-system cargo-build-system)
1375 (("rust-cc" ,rust-cc)
1376 ("rust-winapi" ,rust-winapi))))
1377 (home-page "https://github.com/nagisa/rust_libloading/")
1378 (synopsis "Rust library for loading dynamic libraries")
1380 "A memory-safer wrapper around system dynamic library loading primitives.
1381 The most important safety guarantee by this library is prevention of
1382 dangling-Symbols that may occur after a Library is unloaded. Using this library
1383 allows loading dynamic libraries (also known as shared libraries) as well as use
1384 functions and static variables these libraries contain.")
1385 (license license:isc)))
1387 (define-public rust-log
1394 (uri (crate-uri "log" version))
1395 (file-name (string-append name "-" version ".tar.gz"))
1398 "0nsn28syc49vvjhxcfc8261rd1frhjc0r4bn9v3mqvps3ra7f3w8"))))
1399 (build-system cargo-build-system)
1400 (home-page "https://github.com/rust-lang-nursery/log")
1401 (synopsis "Lightweight logging")
1403 "This package provides a lightweight logging facade for Rust")
1404 (license (list license:asl2.0
1407 (define-public rust-lzma-sys
1409 (name "rust-lzma-sys")
1414 (uri (crate-uri "lzma-sys" version))
1415 (file-name (string-append name "-" version ".tar.gz"))
1418 "14gyj256yh0wm77jbvmlc39v7lfn0navpfrja4alczarzlc8ir2k"))))
1419 (build-system cargo-build-system)
1422 (("rust-cc" ,rust-cc)
1423 ("rust-libc" ,rust-libc)
1424 ("rust-pkg-config" ,rust-pkg-config))
1426 (modify-phases %standard-phases
1427 (add-after 'unpack 'unbundle-xz
1428 (lambda* (#:key inputs #:allow-other-keys)
1429 (let ((xz (assoc-ref inputs "xz")))
1430 (delete-file-recursively "xz-5.2"))
1433 `(("pkg-config" ,pkg-config)
1435 (home-page "https://github.com/alexcrichton/xz2-rs")
1436 (synopsis "Bindings to liblzma for lzma and xz stream encoding/decoding")
1438 "This package contains the raw bindings to liblzma which contains an
1439 implementation of LZMA and xz stream encoding/decoding.")
1440 (license (list license:asl2.0
1443 (define-public rust-maplit
1445 (name "rust-maplit")
1450 (uri (crate-uri "maplit" version))
1451 (file-name (string-append name "-" version ".tar.gz"))
1454 "0hsczmvd6zkqgzqdjp5hfyg7f339n68w83n4pxvnsszrzssbdjq8"))))
1455 (build-system cargo-build-system)
1456 (home-page "https://github.com/bluss/maplit")
1457 (synopsis "Collection of Map macros")
1458 (description "This crate provides a collection of @code{literal} macros for
1459 @code{HashMap}, @code{HashSet}, @code{BTreeMap}, and @code{BTreeSet.}")
1460 (license (list license:asl2.0
1463 (define-public rust-matches
1465 (name "rust-matches")
1470 (uri (crate-uri "matches" version))
1471 (file-name (string-append name "-" version ".tar.gz"))
1474 "020axl4q7rk9vz90phs7f8jas4imxal9y9kxl4z4v7a6719mrz3z"))))
1475 (build-system cargo-build-system)
1476 (home-page "https://github.com/SimonSapin/rust-std-candidates")
1477 (synopsis "Macro to evaluate whether an expression matches a pattern.")
1478 (description "This package provides a macro to evaluate, as a boolean,
1479 whether an expression matches a pattern.")
1480 (license license:expat)))
1482 (define-public rust-md5
1489 (uri (crate-uri "md5" version))
1490 (file-name (string-append name "-" version ".tar.gz"))
1493 "17b2xm4h4cvxsdjsf3kdrzqv2za60kak961xzi5kmw6g6djcssvy"))))
1494 (build-system cargo-build-system)
1495 (home-page "https://github.com/stainless-steel/md5")
1496 (synopsis "MD5 hash function in Rust")
1497 (description "The package provides the MD5 hash function.")
1498 (license (list license:asl2.0
1501 (define-public rust-memmap
1503 (name "rust-memmap")
1508 (uri (crate-uri "memmap" version))
1509 (file-name (string-append name "-" version ".tar.gz"))
1512 "0ns7kkd1h4pijdkwfvw4qlbbmqmlmzwlq3g2676dcl5vwyazv1b5"))))
1513 (build-system cargo-build-system)
1516 (("rust-libc" ,rust-libc)
1517 ("rust-winapi" ,rust-winapi))
1518 #:cargo-development-inputs
1519 (("rust-tempdir" ,rust-tempdir))))
1520 (home-page "https://github.com/danburkert/memmap-rs")
1521 (synopsis "Rust library for cross-platform memory mapped IO")
1523 "This package provides a cross-platform Rust API for memory-mapped
1525 (license (list license:asl2.0
1528 (define-public rust-memmap-0.6
1530 (inherit rust-memmap)
1531 (name "rust-memmap")
1536 (uri (crate-uri "memmap" version))
1537 (file-name (string-append name "-" version ".tar.gz"))
1540 "1zy6s0ni0lx9rjzq3gq2zz9r8zgjmbp02332g3gsj4fyhv4s5zz2"))))
1543 (("rust-libc" ,rust-libc)
1544 ("rust-winapi" ,rust-winapi))
1545 #:cargo-development-inputs
1546 (("rust-tempdir" ,rust-tempdir))))))
1548 (define-public rust-mime
1555 (uri (crate-uri "mime" version))
1556 (file-name (string-append name "-" version ".tar.gz"))
1559 "09clbyvdkwflp8anwjhqdib0sw8191gphcchdp80nc8ayhhwl9ry"))))
1560 (build-system cargo-build-system)
1563 (("rust-unicase" ,rust-unicase))))
1564 (home-page "https://github.com/hyperium/mime")
1565 (synopsis "Strongly Typed Mimes")
1567 "Support MIME (HTTP Media Types) as strong types in Rust.")
1568 (license (list license:asl2.0
1571 (define-public rust-miniz-oxide
1573 (name "rust-miniz-oxide")
1578 (uri (crate-uri "miniz_oxide" version))
1579 (file-name (string-append name "-" version ".tar.gz"))
1582 "041s41l5w7z8pkp93pdzn8rngxr93q4wxp034pr0cvc7bgway23i"))))
1583 (build-system cargo-build-system)
1586 (("rust-adler32" ,rust-adler32))
1588 (modify-phases %standard-phases
1589 (add-after 'unpack 'fix-tests
1591 (substitute* "tests/test.rs"
1592 (("../miniz/miniz.c") "Cargo.toml"))
1594 (home-page "https://github.com/Frommi/miniz_oxide/tree/master/miniz_oxide")
1595 (synopsis "Pure rust replacement for the miniz DEFLATE/zlib encoder/decoder")
1597 "A pure rust replacement for the miniz DEFLATE/zlib encoder/decoder. Using
1598 @code{flate2} with the @code{rust_backend} feature provides an easy to use
1599 streaming API for miniz_oxide.")
1600 (license license:expat)))
1602 (define-public rust-miniz-sys
1604 (name "rust-miniz-sys")
1609 (uri (crate-uri "miniz-sys" version))
1610 (file-name (string-append name "-" version ".tar.gz"))
1613 "00l2r4anm8g35x0js2zfdnwfbrih9m43vphdpb77c5ga3kjkm7hy"))))
1614 (build-system cargo-build-system)
1617 (("rust-cc" ,rust-cc)
1618 ("rust-libc" ,rust-libc))))
1619 (home-page "https://github.com/alexcrichton/flate2-rs")
1620 (synopsis "Bindings to the miniz.c library")
1622 "This package provides bindings to the @code{miniz.c} library.")
1623 (license (list license:asl2.0
1626 (define-public rust-miow
1633 (uri (crate-uri "miow" version))
1634 (file-name (string-append name "-" version ".tar.gz"))
1637 "09ljvx6wg30f2xlv7b7hhpkw7k312n3hjgmrbhwzhz9x03ra0sir"))))
1638 (build-system cargo-build-system)
1641 (("rust-socket2" ,rust-socket2)
1642 ("rust-winapi" ,rust-winapi))
1643 #:cargo-development-inputs
1644 (("rust-rand" ,rust-rand))))
1645 (home-page "https://github.com/alexcrichton/miow")
1646 (synopsis "Rust I/O library for Windows")
1648 "This package provides a zero overhead I/O library for Windows, focusing on
1649 IOCP and Async I/O abstractions.")
1650 (license (list license:asl2.0
1653 (define-public rust-miow-0.2
1661 (uri (crate-uri "miow" version))
1662 (file-name (string-append name "-" version ".tar.gz"))
1665 "06g9b8sqlh5gxakwqq4rrib07afwanfnxgxajrldwcgk3hxjy7wc"))))
1668 (("rust-kernel32-sys" ,rust-kernel32-sys)
1669 ("rust-net2" ,rust-net2)
1670 ("rust-winapi" ,rust-winapi-0.2)
1671 ("rust-ws2-32-sys" ,rust-ws2-32-sys))
1672 #:cargo-development-inputs
1673 (("rust-rand" ,rust-rand-0.3))))))
1675 (define-public rust-modifier
1677 (name "rust-modifier")
1682 (uri (crate-uri "modifier" version))
1683 (file-name (string-append name "-" version ".tar.gz"))
1686 "0n3fmgli1nsskl0whrfzm1gk0rmwwl6pw1q4nb9sqqmn5h8wkxa1"))))
1687 (build-system cargo-build-system)
1688 (home-page "https://github.com/reem/rust-modifier")
1690 "Chaining APIs for both self -> Self and &mut self methods.")
1692 "Chaining APIs for both self -> Self and &mut self methods.")
1693 (license license:expat)))
1695 (define-public rust-net2
1702 (uri (crate-uri "net2" version))
1703 (file-name (string-append name "-" version ".tar.gz"))
1706 "126g3fgfxp06zimc1l9iyxnn9cif1hjsg7sd81nlls5nnyghsma2"))))
1707 (build-system cargo-build-system)
1710 (("rust-cfg-if" ,rust-cfg-if)
1711 ("rust-libc" ,rust-libc)
1712 ("rust-winapi" ,rust-winapi))))
1713 (home-page "https://github.com/rust-lang-nursery/net2-rs")
1714 (synopsis "Extensions to the standard library's networking types")
1716 "This library contains extensions to the standard library's networking
1717 types as proposed in RFC 1158.")
1718 (license (list license:asl2.0
1721 (define-public rust-netlib-src
1723 (name "rust-netlib-src")
1728 (uri (crate-uri "netlib-src" version))
1729 (file-name (string-append name "-" version ".tar.gz"))
1732 "112hwfw1zzdj10h3j213xxqjrq38iygb3nb3ijay65ycmrg819s4"))))
1733 (build-system cargo-build-system)
1735 `(#:cargo-development-inputs
1736 (("rust-cmake" ,rust-cmake)
1737 ("rust-libc" ,rust-libc))
1739 (modify-phases %standard-phases
1740 (add-after 'unpack 'use-system-lapack
1742 (delete-file-recursively "source")
1743 (substitute* "Cargo.toml"
1745 "default = [\"system\"]\n"))
1748 `(("gfortran:lib" ,gfortran "lib")
1749 ("lapack" ,lapack)))
1750 (home-page "https://github.com/blas-lapack-rs/netlib-src")
1751 (synopsis "Source of BLAS and LAPACK via Netlib")
1753 "The package provides a source of BLAS and LAPACK via Netlib.")
1754 (license (list license:asl2.0
1757 (define-public rust-nodrop
1759 (name "rust-nodrop")
1764 (uri (crate-uri "nodrop" version))
1765 (file-name (string-append name "-" version ".tar.gz"))
1768 "0if9ifn6rvar5jirx4b3qh4sl5kjkmcifycvzhxa9j3crkfng5ig"))))
1769 (build-system cargo-build-system)
1772 (("rust-nodrop-union" ,rust-nodrop-union))))
1773 (home-page "https://github.com/bluss/arrayvec")
1774 (synopsis "Wrapper type to inhibit drop (destructor)")
1775 (description "This package provides a wrapper type to inhibit drop
1776 (destructor). Use @code{std::mem::ManuallyDrop} instead!")
1777 (license (list license:asl2.0
1780 ;; This package requires features which are unavailable
1781 ;; on the stable releases of Rust.
1782 (define-public rust-nodrop-union
1784 (name "rust-nodrop-union")
1789 (uri (crate-uri "nodrop-union" version))
1790 (file-name (string-append name "-" version ".tar.gz"))
1793 "0jsnkdn9l8jlmb9h4wssi76sxnyxwnyi00p6y1p2gdq7c1gdw2b7"))))
1794 (build-system cargo-build-system)
1795 (home-page "https://github.com/bluss/arrayvec")
1796 (synopsis "Wrapper type to inhibit drop (destructor)")
1797 (description "This package provides a wrapper type to inhibit drop
1798 (destructor). Implementation crate for nodrop, the untagged unions
1799 implementation (which is unstable / requires nightly).")
1800 (properties '((hidden? . #t)))
1801 (license (list license:asl2.0
1804 (define-public rust-num-cpus
1806 (name "rust-num-cpus")
1811 (uri (crate-uri "num_cpus" version))
1812 (file-name (string-append name "-" version ".tar.gz"))
1815 "0wrj3zvj6h3q26sqj9zxpd59frjb54n7jhjwf307clq31ic47vxw"))))
1816 (build-system cargo-build-system)
1819 (("rust-libc" ,rust-libc))
1820 #:cargo-development-inputs
1821 (("rust-doc-comment" ,rust-doc-comment))))
1822 (home-page "https://github.com/seanmonstar/num_cpus")
1823 (synopsis "Get the number of CPUs on a machine")
1825 "Get the number of CPUs on a machine.")
1826 (license (list license:asl2.0
1829 (define-public rust-num-integer
1831 (name "rust-num-integer")
1836 (uri (crate-uri "num-integer" version))
1838 (string-append name "-" version ".tar.gz"))
1841 "02dwjjpfbi16c71fq689s4sw3ih52cvfzr5z5gs6qpr5z0g58pmq"))))
1842 (build-system cargo-build-system)
1845 (("rust-autocfg" ,rust-autocfg)
1846 ("rust-num-traits" ,rust-num-traits))))
1847 (home-page "https://github.com/rust-num/num-integer")
1848 (synopsis "Integer traits and functions")
1849 (description "Integer traits and functions.")
1851 (license (list license:asl2.0
1854 (define-public rust-num-iter
1856 (name "rust-num-iter")
1861 (uri (crate-uri "num-iter" version))
1862 (file-name (string-append name "-" version ".tar.gz"))
1865 "0bhk2qbr3261r6zvfc58lz4spfqjhvdripxgz5mks5rd85r55gbn"))))
1866 (build-system cargo-build-system)
1869 (("rust-num-integer" ,rust-num-integer)
1870 ("rust-num-traits" ,rust-num-traits))
1871 #:cargo-development-inputs
1872 (("rust-autocfg" ,rust-autocfg))))
1873 (home-page "https://github.com/rust-num/num-iter")
1874 (synopsis "External iterators for generic mathematics")
1876 "This crate provides external iterators for generic mathematics.")
1877 (license (list license:asl2.0
1880 (define-public rust-num-traits
1882 (name "rust-num-traits")
1887 (uri (crate-uri "num-traits" version))
1889 (string-append name "-" version ".tar.gz"))
1892 "0clvrm34rrqc8p6gq5ps5fcgws3kgq5knh7nlqxf2ayarwks9abb"))))
1893 (build-system cargo-build-system)
1896 (("rust-autocfg" ,rust-autocfg))))
1897 (home-page "https://github.com/rust-num/num-traits")
1898 (synopsis "Numeric traits for generic mathematics")
1899 (description "Numeric traits for generic mathematics.")
1901 (license (list license:asl2.0
1904 (define-public rust-openssl-probe
1906 (name "rust-openssl-probe")
1911 (uri (crate-uri "openssl-probe" version))
1912 (file-name (string-append name "-" version ".tar.gz"))
1915 "1pijrdifgsdwd45b08c2g0dsmnhz7c3kmagb70839ngrd7d29bvp"))))
1916 (build-system cargo-build-system)
1917 (home-page "https://github.com/alexcrichton/openssl-probe")
1918 (synopsis "Find SSL certificate locations")
1920 "This package provides a tool to find SSL certificate locations on the
1921 system for OpenSSL.")
1922 (license (list license:asl2.0
1925 (define-public rust-owning-ref
1927 (name "rust-owning-ref")
1932 (uri (crate-uri "owning_ref" version))
1933 (file-name (string-append name "-" version ".tar.gz"))
1936 "04zgwy77lin8qz398s6g44467pd6kjhbrlqifkia5rkr47mbi929"))))
1937 (build-system cargo-build-system)
1940 (("rust-stable-deref-trait" ,rust-stable-deref-trait))))
1941 (home-page "https://github.com/Kimundi/owning-ref-rs")
1942 (synopsis "Create references that carry their owner with them")
1944 "This package provides a library for creating references that carry their
1945 owner with them. This can sometimes be useful because Rust borrowing rules
1946 normally prevent moving a type that has been borrowed from.")
1947 (license license:expat)))
1949 (define-public rust-peeking-take-while
1951 (name "rust-peeking-take-while")
1956 (uri (crate-uri "peeking_take_while" version))
1957 (file-name (string-append name "-" version ".tar.gz"))
1960 "16bhqr6rdyrp12zv381cxaaqqd0pwysvm1q8h2ygihvypvfprc8r"))))
1961 (build-system cargo-build-system)
1962 (home-page "https://github.com/fitzgen/peeking_take_while")
1963 (synopsis "Provides the peeking_take_while iterator adaptor method")
1965 "Like @code{Iterator::take_while}, but calls the predicate on a peeked
1966 value. This allows you to use @code{Iterator::by_ref} and
1967 @code{Iterator::take_while} together, and still get the first value for which
1968 the @code{take_while} predicate returned false after dropping the @code{by_ref}.")
1969 (license (list license:asl2.0
1972 (define-public rust-percent-encoding
1974 (name "rust-percent-encoding")
1979 (uri (crate-uri "percent-encoding" version))
1980 (file-name (string-append name "-" version ".tar.gz"))
1983 "0m6rkp3iy11la04p6z3492rns6n693pvmx585dvfmzzlzak2hkxs"))))
1984 (build-system cargo-build-system)
1985 (home-page "https://github.com/servo/rust-url/")
1986 (synopsis "Percent encoding and decoding")
1987 (description "This crate provides percent encoding and decoding.")
1988 (license (list license:asl2.0
1991 (define-public rust-permutohedron
1993 (name "rust-permutohedron")
1998 (uri (crate-uri "permutohedron" version))
1999 (file-name (string-append name "-" version ".tar.gz"))
2002 "0b1pzh48j86v46wxngch6k1kx9cdw3jr3lwa86gd6jd4bmxzz1xn"))))
2003 (build-system cargo-build-system)
2004 (home-page "https://github.com/bluss/permutohedron")
2005 (synopsis "Generate permutations of sequences")
2007 "Generate permutations of sequences. Either lexicographical order
2008 permutations, or a minimal swaps permutation sequence implemented using Heap's
2010 (license (list license:asl2.0
2013 (define-public rust-pico-sys
2015 (name "rust-pico-sys")
2020 (uri (crate-uri "pico-sys" version))
2021 (file-name (string-append name "-" version ".tar.gz"))
2024 "1q5pg0ms6szz6b5h26h4k40zb76zbwwjgyigac4wly9qngdj4yl5"))))
2025 (build-system cargo-build-system)
2028 (("rust-gcc" ,rust-gcc)
2029 ("rust-libc" ,rust-libc))))
2030 (home-page "https://github.com/reem/rust-pico-sys.git")
2031 (synopsis "Bindings to the PicoHTTPParser")
2033 "This package provides bindings to the PicoHTTPParser.")
2034 (license license:expat)))
2036 (define-public rust-pin-utils
2038 (name "rust-pin-utils")
2039 (version "0.1.0-alpha.4")
2043 (uri (crate-uri "pin-utils" version))
2044 (file-name (string-append name "-" version ".tar.gz"))
2047 "11xmyx00n4m37d546by2rxb8ryxs12v55cc172i3yak1rqccd52q"))))
2048 (build-system cargo-build-system)
2049 (home-page "https://github.com/rust-lang-nursery/pin-utils")
2050 (synopsis "Utilities for pinning")
2051 (description "This crate provides utilities for pinning values on the stack.")
2052 (license (list license:asl2.0
2055 (define-public rust-pkg-config
2057 (name "rust-pkg-config")
2062 (uri (crate-uri "pkg-config" version))
2063 (file-name (string-append name "-" version ".tar.gz"))
2066 "135ia995lqzr0gxpk85h0bjxf82kj6hbxdx924sh9jdln6r8wvk7"))))
2067 (build-system cargo-build-system)
2069 `(#:cargo-development-inputs
2070 (("rust-lazy-static" ,rust-lazy-static))))
2072 `(("pkg-config" ,pkg-config)))
2073 (home-page "https://github.com/alexcrichton/pkg-config-rs")
2074 (synopsis "Library to run the pkg-config system tool")
2076 "A library to run the pkg-config system tool at build time in order to be
2077 used in Cargo build scripts.")
2078 (license (list license:asl2.0
2081 (define-public rust-plain
2088 (uri (crate-uri "plain" version))
2089 (file-name (string-append name "-" version ".tar.gz"))
2092 "19n1xbxb4wa7w891268bzf6cbwq4qvdb86bik1z129qb0xnnnndl"))))
2093 (build-system cargo-build-system)
2094 (home-page "https://github.com/randomites/plain")
2095 (synopsis "Rust library that allows reinterpreting data safely")
2096 (description "This package provides a small Rust library that allows users
2097 to reinterpret data of certain types safely.")
2098 (license (list license:asl2.0
2101 (define-public rust-plugin
2103 (name "rust-plugin")
2108 (uri (crate-uri "plugin" version))
2109 (file-name (string-append name "-" version ".tar.gz"))
2112 "1q7nghkpvxxr168y2jnzh3w7qc9vfrby9n7ygy3xpj0bj71hsshs"))))
2113 (build-system cargo-build-system)
2116 (("rust-typemap" ,rust-typemap))
2117 #:cargo-development-inputs
2118 (("rust-void" ,rust-void))))
2119 (home-page "https://github.com/reem/rust-plugin")
2120 (synopsis "Lazily evaluated, order-independent plugins for extensible types")
2122 "Lazily evaluated, order-independent plugins for extensible types.")
2123 (license license:expat)))
2125 (define-public rust-pocket-resources
2127 (name "rust-pocket-resources")
2132 (uri (crate-uri "pocket-resources" version))
2133 (file-name (string-append name "-" version ".tar.gz"))
2136 "1n2i5vmi8fdbw89wm5nz1ws1z9f1qax911p6ksg4scmdg23z6df1"))))
2137 (build-system cargo-build-system)
2138 (home-page "https://github.com/tomaka/pocket-resources")
2139 (synopsis "Include resources in your applications")
2140 (description "This crate allows you to include resources in your
2142 (license license:expat)))
2144 (define-public rust-ppv-lite86
2146 (name "rust-ppv-lite86")
2151 (uri (crate-uri "ppv-lite86" version))
2152 (file-name (string-append name "-" version ".tar.gz"))
2155 "06snnv338w341nicfqba2jgln5dsla72ndkgrw7h1dfdb3vgkjz3"))))
2156 (build-system cargo-build-system)
2157 (home-page "https://github.com/cryptocorrosion/cryptocorrosion")
2158 (synopsis "Implementation of the crypto-simd API for x86")
2159 (description "This crate provides an implementation of the crypto-simd API
2161 (license (list license:asl2.0
2164 (define-public rust-proc-macro2
2166 (name "rust-proc-macro2")
2171 (uri (crate-uri "proc-macro2" version))
2173 (string-append name "-" version ".tar.gz"))
2176 "0nd71fl24sys066jrha6j7i34nfkjv44yzw8yww9742wmc8j0gfg"))))
2177 (build-system cargo-build-system)
2179 `(#:cargo-inputs (("rust-unicode-xid" ,rust-unicode-xid-0.1))
2180 #:cargo-development-inputs (("rust-quote" ,rust-quote))))
2181 (home-page "https://github.com/alexcrichton/proc-macro2")
2182 (synopsis "Stable implementation of the upcoming new `proc_macro` API")
2183 (description "This package provides a stable implementation of the upcoming new
2184 `proc_macro` API. Comes with an option, off by default, to also reimplement itself
2185 in terms of the upstream unstable API.")
2187 (license (list license:asl2.0 license:expat))))
2189 (define-public rust-quick-error
2191 (name "rust-quick-error")
2196 (uri (crate-uri "quick-error" version))
2197 (file-name (string-append name "-" version ".tar.gz"))
2200 "1w6kgwwv7p7zr0yyg5rb315lkk24bimywklwx7fsvsbwi10bjx4j"))))
2201 (build-system cargo-build-system)
2202 (home-page "http://github.com/tailhook/quick-error")
2203 (synopsis "Macro which makes error types pleasant to write")
2204 (description "This crate provides a macro which makes error types pleasant
2206 (license (list license:asl2.0
2209 (define-public rust-quote
2216 (uri (crate-uri "quote" version))
2218 (string-append name "-" version ".tar.gz"))
2221 "1nw0klza45hf127kfyrpxsxd5jw2l6h21qxalil3hkr7bnf7kx7s"))))
2222 (build-system cargo-build-system)
2224 `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2))))
2225 (home-page "https://github.com/dtolnay/quote")
2226 (synopsis "Quasi-quoting macro quote!(...)")
2227 (description "Quasi-quoting macro quote!(...)")
2229 (license (list license:asl2.0 license:expat))))
2231 (define-public rust-rand
2238 (uri (crate-uri "rand" version))
2239 (file-name (string-append name "-" version ".tar.gz"))
2242 "1gfgnqfj2pyh27dcb720jpawskllwnbvxh816ddyykv269xz8ml3"))))
2243 (build-system cargo-build-system)
2246 (("rust-fuchsia-zircon" ,rust-fuchsia-zircon)
2247 ("rust-libc" ,rust-libc)
2248 ("rust-winapi" ,rust-winapi))))
2249 (home-page "https://crates.io/crates/rand")
2250 (synopsis "Random number generators and other randomness functionality")
2252 "Rand provides utilities to generate random numbers, to convert them to
2253 useful types and distributions, and some randomness-related algorithms.")
2254 (license (list license:asl2.0
2257 (define-public rust-rand-0.3
2265 (uri (crate-uri "rand" version))
2266 (file-name (string-append name "-" version ".tar.gz"))
2269 "0v679h38pjjqj5h4md7v2slsvj6686qgcn7p9fbw3h43iwnk1b34"))))
2272 (("rust-libc" ,rust-libc)
2273 ("rust-rand" ,rust-rand))))))
2275 (define-public rust-rawpointer
2277 (name "rust-rawpointer")
2282 (uri (crate-uri "rawpointer" version))
2283 (file-name (string-append name "-" version ".tar.gz"))
2286 "06ghpm9y7gacks78s3maakha07kbnwrxif5q37r2l7z1sali3b7b"))))
2287 (build-system cargo-build-system)
2288 (home-page "https://github.com/bluss/rawpointer/")
2289 (synopsis "Extra methods for raw pointers")
2290 (description "Extra methods for raw pointers. For example
2291 @code{.post_inc()} and @code{.pre_dec()} (c.f. @code{ptr++} and @code{--ptr})
2292 and @code{ptrdistance}.")
2293 (license (list license:asl2.0
2296 ;; This package requires features which are unavailable
2297 ;; on the stable releases of Rust.
2298 (define-public rust-redox-syscall ; guix upstreamable
2300 (name "rust-redox-syscall")
2305 (uri (crate-uri "redox_syscall" version))
2306 (file-name (string-append name "-" version ".tar.gz"))
2309 "110y7dyfm2vci4x5vk7gr0q551dvp31npl99fnsx2fb17wzwcf94"))))
2310 (build-system cargo-build-system)
2311 (home-page "https://gitlab.redox-os.org/redox-os/syscall")
2312 (synopsis "Rust library to access raw Redox system calls")
2313 (description "This package provides a Rust library to access raw Redox
2315 (properties '((hidden? . #t)))
2316 (license license:expat)))
2318 (define-public rust-regex-syntax
2320 (name "rust-regex-syntax")
2325 (uri (crate-uri "regex-syntax" version))
2326 (file-name (string-append name "-" version ".tar.gz"))
2329 "0p47lf38yj2g2fnmvnraccqlxwk35zr76hlnqi8yva932nzqam6d"))))
2330 (build-system cargo-build-system)
2333 (("rust-ucd-util" ,rust-ucd-util))))
2334 (home-page "https://github.com/rust-lang/regex")
2335 (synopsis "Regular expression parser")
2337 "This package provides a regular expression parser.")
2338 (license (list license:asl2.0
2341 (define-public rust-remove-dir-all
2343 (name "rust-remove-dir-all")
2348 (uri (crate-uri "remove_dir_all" version))
2349 (file-name (string-append name "-" version ".tar.gz"))
2352 "0bkrlyg26mgizpiy1yb2hhpgscxcag8r5fnckqsvk25608vzm0sa"))))
2353 (build-system cargo-build-system)
2356 (("rust-winapi" ,rust-winapi))
2357 #:cargo-development-inputs
2358 (("rust-doc-comment" ,rust-doc-comment))
2360 (modify-phases %standard-phases
2361 (add-after 'unpack 'fix-source
2362 ;; The test phase expects there to be a README.md in the root directory.
2364 (invoke "touch" "README.md"))))))
2365 (home-page "https://github.com/XAMPPRocky/remove_dir_all.git")
2366 (synopsis "Implementation of remove_dir_all for Windows")
2368 "This package provides a safe, reliable implementation of
2369 @code{remove_dir_all} for Windows")
2370 (license (list license:asl2.0
2373 (define-public rust-resolv-conf
2375 (name "rust-resolv-conf")
2380 (uri (crate-uri "resolv-conf" version))
2381 (file-name (string-append name "-" version ".tar.gz"))
2384 "1jvdsmksdf6yiipm3aqahyv8n1cjd7wqc8sa0p0gzsax3fmb8qxj"))))
2385 (build-system cargo-build-system)
2388 (("rust-quick-error" ,rust-quick-error)
2389 ("rust-hostname" ,rust-hostname))
2390 #:cargo-test-flags '("--release" "--lib" "--examples"))) ; doc tests fail
2391 (home-page "https://github.com/tailhook/resolv-conf")
2392 (synopsis "/etc/resolv.conf parser")
2394 "An /etc/resolv.conf parser crate for Rust.")
2395 (license (list license:asl2.0
2398 (define-public rust-rustc-demangle
2400 (name "rust-rustc-demangle")
2405 (uri (crate-uri "rustc-demangle" version))
2406 (file-name (string-append name "-" version ".tar.gz"))
2409 "10qp42sl1wrdbgbbh8rnay2grm976z7hqgz32c4y09l1c071qsac"))))
2410 (build-system cargo-build-system)
2413 (("rust-compiler-builtins"
2414 ,rust-compiler-builtins)
2415 ("rust-rustc-std-workspace-core"
2416 ,rust-rustc-std-workspace-core))))
2417 (home-page "https://github.com/alexcrichton/rustc-demangle")
2418 (synopsis "Rust compiler symbol demangling")
2420 "This package demanges the symbols from the Rust compiler.")
2421 (license (list license:asl2.0
2424 (define-public rust-rustc-serialize
2426 (name "rust-rustc-serialize")
2431 (uri (crate-uri "rustc-serialize" version))
2432 (file-name (string-append name "-" version ".tar.gz"))
2435 "1nkg3vasg7nk80ffkazizgiyv3hb1l9g3d8h17cajbkx538jiwfw"))))
2436 (build-system cargo-build-system)
2438 `(#:cargo-development-inputs
2439 (("rust-rand" ,rust-rand-0.3))))
2440 (home-page "https://github.com/rust-lang-deprecated/rustc-serialize")
2441 (synopsis "Generic serialization/deserialization support")
2443 "This package provides generic serialization/deserialization support
2444 corresponding to the @code{derive(RustcEncodable, RustcDecodable)} mode in the
2445 compiler. Also includes support for hex, base64, and json encoding and
2447 (license (list license:asl2.0
2450 (define-public rust-rustc-std-workspace-core
2452 (name "rust-rustc-std-workspace-core")
2457 (uri (crate-uri "rustc-std-workspace-core" version))
2458 (file-name (string-append name "-" version ".tar.gz"))
2461 "1309xhwyai9xpz128xrfjqkmnkvgjwddznmj7brbd8i8f58zamhr"))))
2462 (build-system cargo-build-system)
2463 (home-page "https://crates.io/crates/rustc-std-workspace-core")
2464 (synopsis "Explicitly empty crate for rust-lang/rust integration")
2465 (description "This crate provides an explicitly empty crate for
2466 rust-lang/rust integration.")
2467 (license (list license:asl2.0
2470 (define-public rust-safemem
2472 (name "rust-safemem")
2477 (uri (crate-uri "safemem" version))
2478 (file-name (string-append name "-" version ".tar.gz"))
2481 "1l1ljkm4lpyryrv2ndaxi1f7z1f3v9bwy1rzl9f9mbhx04iq9c6j"))))
2482 (build-system cargo-build-system)
2483 (home-page "https://github.com/abonander/safemem")
2484 (synopsis "Safe wrappers for memory-accessing functions")
2486 "Safe wrappers for memory-accessing functions, like @code{std::ptr::copy()}.")
2487 (license (list license:asl2.0
2490 (define-public rust-same-file
2492 (name "rust-same-file")
2497 (uri (crate-uri "same-file" version))
2498 (file-name (string-append name "-" version ".tar.gz"))
2501 "08a4zy10pjindf2rah320s6shgswk13mqw7s61m8i1y1xpf8spjq"))))
2502 (build-system cargo-build-system)
2505 (("rust-winapi-util" ,rust-winapi-util))))
2506 (home-page "https://github.com/BurntSushi/same-file")
2507 (synopsis "Determine whether two file paths point to the same file")
2509 "This package provides a simple crate for determining whether two file
2510 paths point to the same file.")
2511 (license (list license:unlicense
2514 (define-public rust-schannel
2516 (name "rust-schannel")
2521 (uri (crate-uri "schannel" version))
2522 (file-name (string-append name "-" version ".tar.gz"))
2525 "0f9k4pm8yc3z0n1n8hazvnrvg52f0sfxjc91bhf3r76rb3rapxpj"))))
2526 (build-system cargo-build-system)
2529 (("rust-lazy-static" ,rust-lazy-static)
2530 ("rust-winapi" ,rust-winapi))))
2531 (home-page "https://github.com/steffengy/schannel-rs")
2532 (synopsis "Rust bindings to the Windows SChannel APIs")
2534 "Rust bindings to the Windows SChannel APIs providing TLS client and
2535 server functionality.")
2536 (license license:expat)))
2538 (define-public rust-scoped-threadpool
2540 (name "rust-scoped-threadpool")
2545 (uri (crate-uri "scoped_threadpool" version))
2546 (file-name (string-append name "-" version ".tar.gz"))
2549 "1a26d3lk40s9mrf4imhbik7caahmw2jryhhb6vqv6fplbbgzal8x"))))
2550 (build-system cargo-build-system)
2552 `(#:cargo-development-inputs
2553 (("rust-lazy-static" ,rust-lazy-static))))
2554 (home-page "https://github.com/Kimundi/scoped-threadpool-rs")
2555 (synopsis "library for scoped and cached threadpools")
2557 "This crate provides a stable, safe and scoped threadpool. It can be used
2558 to execute a number of short-lived jobs in parallel without the need to respawn
2559 the underlying threads. Jobs are runnable by borrowing the pool for a given
2560 scope, during which an arbitrary number of them can be executed. These jobs can
2561 access data of any lifetime outside of the pools scope, which allows working on
2562 non-'static references in parallel.")
2563 (license (list license:asl2.0
2566 (define-public rust-scoped-tls
2568 (name "rust-scoped-tls")
2573 (uri (crate-uri "scoped-tls" version))
2574 (file-name (string-append name "-" version ".tar.gz"))
2577 "1hj8lifzvivdb1z02lfnzkshpvk85nkgzxsy2hc0zky9wf894spa"))))
2578 (build-system cargo-build-system)
2579 (home-page "https://github.com/alexcrichton/scoped-tls")
2580 (synopsis "Rust library providing the old standard library's scoped_thread_local")
2581 (description "This crate provides a library implementation of the standard
2582 library's old @code{scoped_thread_local!} macro for providing scoped access to
2583 @dfn{thread local storage} (TLS) so any type can be stored into TLS.")
2584 (license (list license:asl2.0
2587 (define-public rust-scoped-tls-0.1
2589 (inherit rust-scoped-tls)
2590 (name "rust-scoped-tls")
2595 (uri (crate-uri "scoped-tls" version))
2596 (file-name (string-append name "-" version ".tar.gz"))
2599 "0a2bn9d2mb07c6l16sadijy4p540g498zddfxyiq4rsqpwrglbrk"))))))
2601 (define-public rust-scopeguard
2603 (name "rust-scopeguard")
2608 (uri (crate-uri "scopeguard" version))
2609 (file-name (string-append name "-" version ".tar.gz"))
2612 "03aay84r1f6w87ckbpj6cc4rnsxkxcfs13n5ynxjia0qkgjiabml"))))
2613 (build-system cargo-build-system)
2614 (home-page "https://github.com/bluss/scopeguard")
2615 (synopsis "Scope guard which will run a closure even out of scope")
2616 (description "This package provides a RAII scope guard that will run a
2617 given closure when it goes out of scope, even if the code between panics
2618 (assuming unwinding panic). Defines the macros @code{defer!},
2619 @code{defer_on_unwind!}, @code{defer_on_success!} as shorthands for guards
2620 with one of the implemented strategies.")
2621 (license (list license:asl2.0
2624 (define-public rust-scopeguard-0.3
2626 (inherit rust-scopeguard)
2627 (name "rust-scopeguard")
2632 (uri (crate-uri "scopeguard" version))
2634 (string-append name "-" version ".tar.gz"))
2637 "09sy9wbqp409pkwmqni40qmwa99ldqpl48pp95m1xw8sc19qy9cl"))))))
2639 (define-public rust-security-framework-sys
2641 (name "rust-security-framework-sys")
2646 (uri (crate-uri "security-framework-sys" version))
2647 (file-name (string-append name "-" version ".tar.gz"))
2650 "0mlsakq9kmqyc0fg2hcbgm6rjk55mb0rhjw2wid3hqdzkjcghdln"))))
2651 (build-system cargo-build-system)
2654 (("rust-core-foundation-sys"
2655 ,rust-core-foundation-sys))))
2656 (home-page "https://lib.rs/crates/security-framework-sys")
2657 (synopsis "Apple `Security.framework` low-level FFI bindings")
2659 "Apple `Security.framework` low-level FFI bindings.")
2660 (license (list license:asl2.0
2663 (define-public rust-semver-parser
2665 (name "rust-semver-parser")
2670 (uri (crate-uri "semver-parser" version))
2671 (file-name (string-append name "-" version ".tar.gz"))
2674 "1ahqhvgpzhcsd28id7xnrjv4419i9yyalhm7d7zi430qx0hi2vml"))))
2675 (build-system cargo-build-system)
2676 (home-page "https://github.com/steveklabnik/semver-parser")
2677 (synopsis "Parsing of the semver spec")
2678 (description "This package provides for parsing of the semver spec.")
2679 (license (list license:asl2.0
2682 (define-public rust-shlex
2689 (uri (crate-uri "shlex" version))
2690 (file-name (string-append name "-" version ".tar.gz"))
2693 "1lmv6san7g8dv6jdfp14m7bdczq9ss7j7bgsfqyqjc3jnjfippvz"))))
2694 (build-system cargo-build-system)
2695 (home-page "https://github.com/comex/rust-shlex")
2696 (synopsis "Split a string into shell words, like Python's shlex")
2697 (description "This crate provides a method to split a string into shell
2698 words, like Python's shlex.")
2699 (license (list license:asl2.0
2702 (define-public rust-slab
2709 (uri (crate-uri "slab" version))
2710 (file-name (string-append name "-" version ".tar.gz"))
2713 "1y59xsa27jk84sxzswjk60xcjf8b4fm5960jwpznrrcmasyva4f1"))))
2714 (build-system cargo-build-system)
2715 (home-page "https://github.com/carllerche/slab")
2716 (synopsis "Pre-allocated storage for a uniform data type")
2717 (description "This create provides a pre-allocated storage for a uniform
2719 (license license:expat)))
2721 (define-public rust-socket2
2723 (name "rust-socket2")
2728 (uri (crate-uri "socket2" version))
2729 (file-name (string-append name "-" version ".tar.gz"))
2732 "11bdcz04i106g4q7swkll0qxrb4287srqd2k3aq2q6i22zjlvdz8"))))
2733 (build-system cargo-build-system)
2736 (("rust-cfg-if" ,rust-cfg-if)
2737 ("rust-libc" ,rust-libc)
2738 ("rust-redox-syscall" ,rust-redox-syscall)
2739 ("rust-winapi" ,rust-winapi))
2740 #:cargo-development-inputs
2741 (("rust-tempdir" ,rust-tempdir))
2742 #:tests? #f)) ; Tests expect network connectivity.
2743 (home-page "https://github.com/alexcrichton/socket2-rs")
2744 (synopsis "Networking sockets in Rust")
2746 "This package provides utilities for handling networking sockets with a
2747 maximal amount of configuration possible intended.")
2748 (license (list license:asl2.0
2751 (define-public rust-sourcefile
2753 (name "rust-sourcefile")
2758 (uri (crate-uri "sourcefile" version))
2759 (file-name (string-append name "-" version ".tar.gz"))
2762 "1lwa6973zs4bgj29my7agfjgk4nw9hp6j7dfnr13nid85fw7rxsb"))))
2763 (build-system cargo-build-system)
2765 `(#:cargo-development-inputs
2766 (("rust-tempfile" ,rust-tempfile))))
2767 (home-page "https://github.com/derekdreery/sourcefile-rs")
2768 (synopsis "Concatenate source from multiple files")
2770 "A library for concatenating source from multiple files, whilst keeping
2771 track of where each new file and line starts.")
2772 (license (list license:asl2.0
2775 (define-public rust-spin
2782 (uri (crate-uri "spin" version))
2783 (file-name (string-append name "-" version ".tar.gz"))
2786 "0m9clchsj0rf13bggsgvbv9haiy0f6rhvnvkpvkk8720a5pkydj4"))))
2787 (build-system cargo-build-system)
2788 (home-page "https://github.com/mvdnes/spin-rs.git")
2789 (synopsis "Synchronization primitives based on spinning")
2790 (description "This crate provides synchronization primitives based on
2791 spinning. They may contain data, are usable without @code{std},and static
2792 initializers are available.")
2793 (license license:expat)))
2795 (define-public rust-stable-deref-trait
2797 (name "rust-stable-deref-trait")
2802 (uri (crate-uri "stable_deref_trait" version))
2803 (file-name (string-append name "-" version ".tar.gz"))
2806 "1j2lkgakksmz4vc5hfawcch2ipiskrhjs1sih0f3br7s7rys58fv"))))
2807 (build-system cargo-build-system)
2808 (home-page "https://github.com/storyyeller/stable_deref_trait0")
2809 (synopsis "Defines an unsafe marker trait, StableDeref")
2811 "This crate defines an unsafe marker trait, StableDeref, for container
2812 types which deref to a fixed address which is valid even when the containing
2813 type is moved. For example, Box, Vec, Rc, Arc and String implement this trait.
2814 Additionally, it defines CloneStableDeref for types like Rc where clones deref
2815 to the same address.")
2816 (license (list license:asl2.0
2819 (define-public rust-stacker
2821 (name "rust-stacker")
2826 (uri (crate-uri "stacker" version))
2827 (file-name (string-append name "-" version ".tar.gz"))
2830 "0js0axz5nla1mkr2dm2vrv9rj964ng1lrv4l43sqlnfgawplhygv"))))
2831 (build-system cargo-build-system)
2834 (("rust-cfg-if" ,rust-cfg-if)
2835 ("rust-libc" ,rust-libc)
2836 ("rust-winapi" ,rust-winapi)
2837 ("rust-cc" ,rust-cc))))
2838 (home-page "https://github.com/rust-lang/stacker")
2839 (synopsis "Manual segmented stacks for Rust")
2841 "This package provides a stack growth library useful when implementing
2842 deeply recursive algorithms that may accidentally blow the stack.")
2843 (license (list license:asl2.0
2846 (define-public rust-stdweb-internal-runtime
2848 (name "rust-stdweb-internal-runtime")
2853 (uri (crate-uri "stdweb-internal-runtime" version))
2854 (file-name (string-append name "-" version ".tar.gz"))
2857 "1nhpyra7glbwcpakhpj5a3d7h7kx1ynif473nzshmk226m91f8ym"))))
2858 (build-system cargo-build-system)
2859 (home-page "https://github.com/koute/stdweb")
2860 (synopsis "Internal runtime for the @code{stdweb} crate")
2861 (description "This crate provides internal runtime for the @code{stdweb}
2863 (license (list license:asl2.0
2866 (define-public rust-stdweb-internal-test-macro
2868 (name "rust-stdweb-internal-test-macro")
2873 (uri (crate-uri "stdweb-internal-test-macro" version))
2874 (file-name (string-append name "-" version ".tar.gz"))
2877 "12rrm7p77xnm3xacgn3rgniiyyjb4gq7902wpbljsvbx045z69l2"))))
2878 (build-system cargo-build-system)
2881 (("rust-proc-macro2" ,rust-proc-macro2)
2882 ("rust-quote" ,rust-quote))))
2883 (home-page "https://github.com/koute/stdweb")
2884 (synopsis "Internal crate of the `stdweb` crate")
2886 "Internal crate of the @code{stdweb} crate.")
2887 (license (list license:asl2.0
2890 (define-public rust-streaming-stats
2892 (name "rust-streaming-stats")
2897 (uri (crate-uri "streaming-stats" version))
2898 (file-name (string-append name "-" version ".tar.gz"))
2901 "0l7xz4g6709s80zqpvlhrg0qhgz64r94cwhmfsg8xhabgznbp2px"))))
2902 (build-system cargo-build-system)
2905 (("rust-num-traits" ,rust-num-traits))))
2906 (home-page "https://github.com/BurntSushi/rust-stats")
2907 (synopsis "Compute basic statistics on streams")
2909 "Experimental crate for computing basic statistics on streams.")
2910 (license (list license:unlicense
2913 (define-public rust-strsim
2915 (name "rust-strsim")
2920 (uri (crate-uri "strsim" version))
2921 (file-name (string-append name "-" version ".tar.gz"))
2924 "1xphwhf86yxxmcpvm4mikj8ls41f6nf7gqyjm98b74mfk81h6b03"))))
2925 (build-system cargo-build-system)
2926 (home-page "https://github.com/dguo/strsim-rs")
2927 (synopsis "Rust implementations of string similarity metrics")
2928 (description "This crate includes implementations of string similarity
2929 metrics. It includes Hamming, Levenshtein, OSA, Damerau-Levenshtein, Jaro,
2931 (license license:expat)))
2933 (define-public rust-synstructure-test-traits
2935 (name "rust-synstructure-test-traits")
2940 (uri (crate-uri "synstructure_test_traits" version))
2941 (file-name (string-append name "-" version ".tar.gz"))
2944 "1b3fs2b9kc1gy9dilaxqjbdl4z0mlrbbxjzkprdx953rif1c3q66"))))
2945 (build-system cargo-build-system)
2946 (home-page "https://crates.io/crates/synstructure_test_traits")
2947 (synopsis "Helper test traits for synstructure doctests")
2949 "This package provides helper test traits for synstructure doctests.")
2950 (license license:expat)))
2952 (define-public rust-tar
2959 (uri (crate-uri "tar" version))
2960 (file-name (string-append name "-" version ".tar.gz"))
2963 "1lr6v3cpkfxd2lk5ll2jd8wr1xdskwj35smnh5sfb8xvzzxnn6dk"))))
2964 (build-system cargo-build-system)
2967 (("rust-filetime" ,rust-filetime)
2968 ("rust-libc" ,rust-libc)
2969 ("rust-redox-syscall" ,rust-redox-syscall)
2970 ("rust-xattr" ,rust-xattr))
2971 #:cargo-development-inputs
2972 (("rust-tempdir" ,rust-tempdir))
2973 #:tests? #f)) ; Test archives are not distributed in the crate tarball.
2974 (home-page "https://github.com/alexcrichton/tar-rs")
2975 (synopsis "Tar file reading/writing for Rust")
2977 "This package provides a Rust implementation of a TAR file reader and
2978 writer. This library does not currently handle compression, but it is abstract
2979 over all I/O readers and writers. Additionally, great lengths are taken to
2980 ensure that the entire contents are never required to be entirely resident in
2981 memory all at once.")
2982 (license (list license:asl2.0
2985 (define-public rust-tempdir
2987 (name "rust-tempdir")
2992 (uri (crate-uri "tempdir" version))
2993 (file-name (string-append name "-" version ".tar.gz"))
2996 "1n5n86zxpgd85y0mswrp5cfdisizq2rv3la906g6ipyc03xvbwhm"))))
2997 (build-system cargo-build-system)
3000 (("rust-rand" ,rust-rand)
3001 ("rust-remove-dir-all" ,rust-remove-dir-all))))
3003 "https://github.com/rust-lang/tempdir")
3004 (synopsis "Temporary directory management for Rust")
3006 "This package provides a library for managing a temporary directory and
3007 deleting all contents when it's dropped.")
3008 (license (list license:asl2.0
3011 (define-public rust-tempfile
3013 (name "rust-tempfile")
3018 (uri (crate-uri "tempfile" version))
3019 (file-name (string-append name "-" version ".tar.gz"))
3022 "0ny1cdbcsrmwjpy4k9366xm6p0jqkrmrvr0cln2djxspp1inyxs7"))))
3023 (build-system cargo-build-system)
3026 (("rust-libc" ,rust-libc)
3027 ("rust-rand" ,rust-rand)
3028 ("rust-redox-syscall" ,rust-redox-syscall)
3029 ("rust-remove-dir-all" ,rust-remove-dir-all)
3030 ("rust-winapi" ,rust-winapi))))
3031 (home-page "http://stebalien.com/projects/tempfile-rs")
3032 (synopsis "Library for managing temporary files and directories")
3034 "This package provides a library for managing temporary files and
3036 (license (list license:asl2.0
3039 (define-public rust-termcolor
3041 (name "rust-termcolor")
3046 (uri (crate-uri "termcolor" version))
3047 (file-name (string-append name "-" version ".tar.gz"))
3050 "0vjfsn1a8zvqhnrbygrz1id6yckwv1dncw3w4zj65qdx0f00kmln"))))
3051 (build-system cargo-build-system)
3054 (("rust-wincolor" ,rust-wincolor))))
3055 (home-page "https://github.com/BurntSushi/termcolor")
3056 (synopsis "Library for writing colored text to a terminal")
3057 (description "This package provides a simple cross platform library for
3058 writing colored text to a terminal.")
3059 (license (list license:unlicense
3062 (define-public rust-termios
3064 (name "rust-termios")
3069 (uri (crate-uri "termios" version))
3070 (file-name (string-append name "-" version ".tar.gz"))
3073 "09any1p4jp4bphvb5ikagnvwjc3xn2djchy96nkpa782xb2j1dkj"))))
3074 (build-system cargo-build-system)
3076 `(#:cargo-inputs (("rust-libc" ,rust-libc))))
3077 (home-page "https://github.com/dcuddeback/termios-rs")
3078 (synopsis "Safe bindings for the termios library")
3080 "The termios crate provides safe bindings for the Rust programming language
3081 to the terminal I/O interface implemented by Unix operating systems. The safe
3082 bindings are a small wrapper around the raw C functions, which converts integer
3083 return values to @code{std::io::Result} to indicate success or failure.")
3084 (license license:expat)))
3086 (define-public rust-thread-id
3088 (name "rust-thread-id")
3093 (uri (crate-uri "thread-id" version))
3094 (file-name (string-append name "-" version ".tar.gz"))
3097 "1h90v19fjz3x9b25ywh68z5yf2zsmm6h5zb4rl302ckbsp4z9yy7"))))
3098 (build-system cargo-build-system)
3101 (("rust-libc" ,rust-libc)
3102 ("rust-redox-syscall" ,rust-redox-syscall)
3103 ("rust-winapi" ,rust-winapi))))
3104 (home-page "https://github.com/ruuda/thread-id")
3105 (synopsis "Get a unique ID for the current thread in Rust")
3107 "For diagnostics and debugging it can often be useful to get an ID that is
3108 different for every thread.")
3109 (license (list license:asl2.0
3112 (define-public rust-thread-local
3114 (name "rust-thread-local")
3119 (uri (crate-uri "thread_local" version))
3120 (file-name (string-append name "-" version ".tar.gz"))
3123 "06rzik99p8c5js8238yhc8rk6np543ylb1dy9nrw5v80j0r3xdf6"))))
3124 (build-system cargo-build-system)
3127 (("rust-lazy-static" ,rust-lazy-static))))
3128 (home-page "https://github.com/Amanieu/thread_local-rs")
3129 (synopsis "Per-object thread-local storage")
3130 (description "Per-object thread-local storage")
3131 (license (list license:asl2.0
3134 (define-public rust-threadpool
3136 (name "rust-threadpool")
3141 (uri (crate-uri "threadpool" version))
3142 (file-name (string-append name "-" version ".tar.gz"))
3145 "0rd89n1q7vy47w4c32cnynibffv9kj3jy3dwr0536n9lbw5ckw72"))))
3146 (build-system cargo-build-system)
3149 (("rust-num-cpus" ,rust-num-cpus))))
3150 (home-page "https://github.com/rust-threadpool/rust-threadpool")
3151 (synopsis "Thread pool for running jobs on a fixed set of worker threads")
3153 "This package provides a thread pool for running a number of jobs on a
3154 fixed set of worker threads.")
3155 (license (list license:asl2.0
3158 (define-public rust-tokio-mock-task
3160 (name "rust-tokio-mock-task")
3165 (uri (crate-uri "tokio-mock-task" version))
3166 (file-name (string-append name "-" version ".tar.gz"))
3169 "1y7q83qfk9ljjfvs82b453pmz9x1v3d6kr4x55j8mal01s6790dw"))))
3170 (build-system cargo-build-system)
3172 `(#:cargo-inputs (("rust-futures" ,rust-futures))))
3173 (home-page "https://github.com/carllerche/tokio-mock-task")
3174 (synopsis "Mock a Tokio task")
3175 (description "Mock a Tokio task")
3176 (license license:expat)))
3178 (define-public rust-tracing-core
3180 (name "rust-tracing-core")
3185 (uri (crate-uri "tracing-core" version))
3186 (file-name (string-append name "-" version ".tar.gz"))
3189 "01fa73wzw2m5ybi3kkd52dgrw97mgc3i6inmhwys46ab28giwnxi"))))
3190 (build-system cargo-build-system)
3193 (("rust-lazy-static" ,rust-lazy-static))))
3194 (home-page "https://tokio.rs")
3195 (synopsis "Core primitives for application-level tracing")
3197 "Core primitives for application-level tracing.")
3198 (license (list license:asl2.0
3201 (define-public rust-traitobject
3203 (name "rust-traitobject")
3208 (uri (crate-uri "traitobject" version))
3209 (file-name (string-append name "-" version ".tar.gz"))
3212 "0yb0n8822mr59j200fyr2fxgzzgqljyxflx9y8bdy3rlaqngilgg"))))
3213 (build-system cargo-build-system)
3214 (home-page "https://github.com/reem/rust-traitobject.git")
3215 (synopsis "Unsafe helpers for dealing with raw trait objects")
3216 (description "Unsafe helpers for dealing with raw trait objects.")
3217 (license (list license:asl2.0
3220 (define-public rust-try-from
3222 (name "rust-try-from")
3227 (uri (crate-uri "try_from" version))
3228 (file-name (string-append name "-" version ".tar.gz"))
3231 "12wdd4ja7047sd3rx70hv2056hyc8gcdllcx3a41g1rnw64kng98"))))
3232 (build-system cargo-build-system)
3235 (("rust-cfg-if" ,rust-cfg-if))))
3236 (home-page "https://github.com/derekjw/try_from")
3237 (synopsis "TryFrom and TryInto traits for failable conversions")
3239 "TryFrom and TryInto traits for failable conversions that return a Result.")
3240 (license license:expat)))
3242 (define-public rust-try-lock
3244 (name "rust-try-lock")
3249 (uri (crate-uri "try-lock" version))
3250 (file-name (string-append name "-" version ".tar.gz"))
3253 "10p36rx6pqi9d0zr876xa8vksx2m66ha45myakl50rn08dxyn176"))))
3254 (build-system cargo-build-system)
3255 (home-page "https://github.com/seanmonstar/try-lock")
3256 (synopsis "Lightweight atomic lock")
3258 "This package provides a lightweight atomic lock.")
3259 (license license:expat)))
3261 (define-public rust-typeable
3263 (name "rust-typeable")
3268 (uri (crate-uri "typeable" version))
3269 (file-name (string-append name "-" version ".tar.gz"))
3272 "11w8dywgnm32hb291izjvh4zjd037ccnkk77ahk63l913zwzc40l"))))
3273 (build-system cargo-build-system)
3274 (home-page "https://github.com/reem/rust-typeable")
3275 (synopsis "Exposes Typeable, for getting TypeIds at runtime")
3276 (description "Exposes Typeable, for getting TypeIds at runtime.")
3277 (license license:expat)))
3279 (define-public rust-typemap
3281 (name "rust-typemap")
3286 (uri (crate-uri "typemap" version))
3287 (file-name (string-append name "-" version ".tar.gz"))
3290 "1xm1gbvz9qisj1l6d36hrl9pw8imr8ngs6qyanjnsad3h0yfcfv5"))))
3291 (build-system cargo-build-system)
3294 (("rust-unsafe-any" ,rust-unsafe-any))))
3295 (home-page "https://github.com/reem/rust-typemap")
3296 (synopsis "Typesafe store for many value types")
3298 "A typesafe store for many value types.")
3299 (license license:expat)))
3301 (define-public rust-typenum
3303 (name "rust-typenum")
3308 (uri (crate-uri "typenum" version))
3309 (file-name (string-append name "-" version ".tar.gz"))
3312 "0sc1jirllfhdi52z1xv9yqzxzpk6v7vadd13n7wvs1wnjipn6bb1"))))
3313 (build-system cargo-build-system)
3314 (home-page "https://github.com/paholg/typenum")
3315 (synopsis "Rust library for type-level numbers evaluated at compile time")
3316 (description "Typenum is a Rust library for type-level numbers evaluated at
3317 compile time. It currently supports bits, unsigned integers, and signed
3318 integers. It also provides a type-level array of type-level numbers, but its
3319 implementation is incomplete.")
3320 (license (list license:asl2.0
3323 (define-public rust-ucd-trie
3325 (name "rust-ucd-trie")
3330 (uri (crate-uri "ucd-trie" version))
3331 (file-name (string-append name "-" version ".tar.gz"))
3334 "1hh6kyzh5xygwy96wfmsf8v8czlzhps2lgbcyhj1xzy1w1xys04g"))))
3335 (build-system cargo-build-system)
3337 `(#:cargo-development-inputs
3338 (("rust-lazy-static" ,rust-lazy-static))))
3339 (home-page "https://github.com/BurntSushi/ucd-generate")
3340 (synopsis "Trie for storing Unicode codepoint sets and maps")
3342 "This package provides a trie for storing Unicode codepoint sets and maps.")
3343 (license (list license:asl2.0
3346 (define-public rust-ucd-util
3348 (name "rust-ucd-util")
3353 (uri (crate-uri "ucd-util" version))
3354 (file-name (string-append name "-" version ".tar.gz"))
3357 "0x088q5z0m09a2jqcfgsnq955y8syn1mgn35cl78qinkxm4kp6zs"))))
3358 (build-system cargo-build-system)
3359 (home-page "https://github.com/BurntSushi/ucd-generate")
3360 (synopsis "library for working with the Unicode character database")
3361 (description "This package provides a small utility library for working
3362 with the Unicode character database.")
3363 (license (list license:asl2.0
3366 (define-public rust-unicase
3368 (name "rust-unicase")
3373 (uri (crate-uri "unicase" version))
3374 (file-name (string-append name "-" version ".tar.gz"))
3377 "1xmpmkakhhblq7dzab1kwyv925kv7fqjkjsxjspg6ix9n88makm8"))))
3378 (build-system cargo-build-system)
3380 `(#:cargo-inputs (("rust-version-check" ,rust-version-check-0.1))))
3381 (home-page "https://github.com/seanmonstar/unicase")
3382 (synopsis "Case-insensitive wrapper around strings")
3384 "A case-insensitive wrapper around strings.")
3385 (license (list license:asl2.0
3388 (define-public rust-unicode-width
3390 (name "rust-unicode-width")
3395 (uri (crate-uri "unicode-width" version))
3396 (file-name (string-append name "-" version ".tar.gz"))
3399 "09k5lipygardwy0660jhls08fsgknrazzivmn804gps53hiqc8w8"))))
3400 (build-system cargo-build-system)
3401 (home-page "https://github.com/unicode-rs/unicode-width")
3402 (synopsis "Determine displayed width according to Unicode rules")
3403 (description "This crate allows you to determine displayed width of
3404 @code{char} and @code{str} types according to Unicode Standard Annex #11 rules.")
3405 (license (list license:asl2.0
3408 (define-public rust-unicode-xid
3410 (name "rust-unicode-xid")
3415 (uri (crate-uri "unicode-xid" version))
3417 (string-append name "-" version ".tar.gz"))
3420 "0z09fn515xm7zyr0mmdyxa9mx2f7azcpv74pqmg611iralwpcvl2"))))
3421 (build-system cargo-build-system)
3423 "https://github.com/unicode-rs/unicode-xid")
3424 (synopsis "Determine Unicode XID related properties")
3425 (description "Determine whether characters have the XID_Start
3426 or XID_Continue properties according to Unicode Standard Annex #31.")
3428 (license (list license:asl2.0 license:expat))))
3430 (define-public rust-unicode-xid-0.1
3432 (inherit rust-unicode-xid)
3433 (name "rust-unicode-xid")
3438 (uri (crate-uri "unicode-xid" version))
3439 (file-name (string-append name "-" version ".tar.gz"))
3442 "1z57lqh4s18rr4x0j4fw4fmp9hf9346h0kmdgqsqx0fhjr3k0wpw"))))))
3444 (define-public rust-unindent
3446 (name "rust-unindent")
3451 (uri (crate-uri "unindent" version))
3452 (file-name (string-append name "-" version ".tar.gz"))
3455 "1x21ilf78aqcq9xzb9b7i628wm10rhk0jp0chlv06rkc690l8jw3"))))
3456 (build-system cargo-build-system)
3457 (home-page "https://github.com/dtolnay/indoc")
3458 (synopsis "Remove a column of leading whitespace from a string")
3459 (description "This crate allows you to remove a column of leading
3460 whitespace from a string.")
3461 (license (list license:asl2.0
3464 (define-public rust-unsafe-any
3466 (name "rust-unsafe-any")
3471 (uri (crate-uri "unsafe-any" version))
3472 (file-name (string-append name "-" version ".tar.gz"))
3475 "0zwwphsqkw5qaiqmjwngnfpv9ym85qcsyj7adip9qplzjzbn00zk"))))
3476 (build-system cargo-build-system)
3479 (("rust-traitobject" ,rust-traitobject))))
3480 (home-page "https://tokio.rs")
3481 (synopsis "Traits and implementations for unchecked downcasting")
3483 "Traits and implementations for unchecked downcasting.")
3484 (license license:expat)))
3486 (define-public rust-untrusted
3488 (name "rust-untrusted")
3493 (uri (crate-uri "untrusted" version))
3494 (file-name (string-append name "-" version ".tar.gz"))
3497 "1kmfykcwif6ashkwg54gcnhxj03kpba2i9vc7z5rpr0xlgvrwdk0"))))
3498 (build-system cargo-build-system)
3499 (home-page "https://github.com/briansmith/untrusted")
3500 (synopsis "Zero-allocation parsing of untrusted inputs in Rust")
3502 "Safe, fast, zero-panic, zero-crashing, zero-allocation parsing of
3503 untrusted inputs in Rust.")
3504 (license license:isc)))
3506 (define-public rust-vcpkg
3513 (uri (crate-uri "vcpkg" version))
3514 (file-name (string-append name "-" version ".tar.gz"))
3517 "15dzk1b96q946v9aisbd1bbhi33n93wvgziwh1shmscn1xflbp9k"))))
3518 (build-system cargo-build-system)
3520 `(#:cargo-development-inputs
3521 (("rust-lazy-static" ,rust-lazy-static)
3522 ("rust-tempdir" ,rust-tempdir))
3523 #:tests? #f)) ; tests try to link libmysql, graphite2, harfbuzz
3524 (home-page "https://github.com/mcgoo/vcpkg-rs")
3525 (synopsis "Find native dependencies in a vcpkg tree at build time")
3527 "This package provides a library to find native dependencies in a
3528 @code{vcpkg} tree at build time in order to be used in Cargo build scripts.")
3529 (license (list license:asl2.0
3532 (define-public rust-version-check
3534 (name "rust-version-check")
3539 (uri (crate-uri "version_check" version))
3540 (file-name (string-append name "-" version ".tar.gz"))
3543 "1kikqlnggii1rvnxrbls55sc46lxvinz5k3giscgncjj4p87b1q7"))))
3544 (build-system cargo-build-system)
3545 (home-page "https://github.com/SergioBenitez/version_check")
3546 (synopsis "Check that the installed rustc meets some version requirements")
3548 "This tiny crate checks that the running or installed rustc meets some
3549 version requirements. The version is queried by calling the Rust compiler with
3550 @code{--version}. The path to the compiler is determined first via the
3551 @code{RUSTC} environment variable. If it is not set, then @code{rustc} is used.
3552 If that fails, no determination is made, and calls return None.")
3553 (license (list license:asl2.0
3556 (define-public rust-version-check-0.1
3558 (inherit rust-version-check)
3559 (name "rust-version-check")
3564 (uri (crate-uri "version_check" version))
3565 (file-name (string-append name "-" version ".tar.gz"))
3568 "1pf91pvj8n6akh7w6j5ypka6aqz08b3qpzgs0ak2kjf4frkiljwi"))))))
3570 (define-public rust-void
3577 (uri (crate-uri "void" version))
3578 (file-name (string-append name "-" version ".tar.gz"))
3581 "0zc8f0ksxvmhvgx4fdg0zyn6vdnbxd2xv9hfx4nhzg6kbs4f80ka"))))
3582 (build-system cargo-build-system)
3583 (home-page "https://github.com/reem/rust-void.git")
3584 (synopsis "Void type for use in statically impossible cases")
3586 "The uninhabited void type for use in statically impossible cases.")
3587 (license license:expat)))
3589 (define-public rust-walkdir
3591 (name "rust-walkdir")
3596 (uri (crate-uri "walkdir" version))
3597 (file-name (string-append name "-" version ".tar.gz"))
3600 "07ppalpvxkf8cnqr64np422792y4z5bs9m8b4nrflh5rm17wjn4n"))))
3601 (build-system cargo-build-system)
3604 (("rust-same-file" ,rust-same-file)
3605 ("rust-winapi" ,rust-winapi)
3606 ("rust-winapi-util" ,rust-winapi-util))
3607 #:cargo-development-inputs
3608 (("rust-doc-comment" ,rust-doc-comment))))
3609 (home-page "https://github.com/BurntSushi/walkdir")
3610 (synopsis "Recursively walk a directory")
3611 (description "Recursively walk a directory.")
3612 (license (list license:unlicense
3615 (define-public rust-wasi
3622 (uri (crate-uri "wasi" version))
3624 (string-append name "-" version ".tar.gz"))
3627 "1ir3pd4phdfml0cbziw9bqp7mnk0vfp9biy8bh25lln6raml4m7x"))))
3628 (build-system cargo-build-system)
3629 (home-page "https://github.com/CraneStation/rust-wasi")
3630 (synopsis "Experimental WASI API bindings for Rust")
3631 (description "This package contains experimental WASI API bindings
3633 (license license:asl2.0)))
3635 (define-public rust-wasm-bindgen-shared
3637 (name "rust-wasm-bindgen-shared")
3642 (uri (crate-uri "wasm-bindgen-shared" version))
3643 (file-name (string-append name "-" version ".tar.gz"))
3646 "08rnfhjyk0f6liv8n4rdsvhx7r02glkhcbj2lp9lcbkbfpad9hnr"))))
3647 (build-system cargo-build-system)
3648 (home-page "https://rustwasm.github.io/wasm-bindgen/")
3649 (synopsis "Shared support between wasm-bindgen and wasm-bindgen cli")
3650 (description "This package provides shared support between
3651 @code{wasm-bindgen} and @code{wasm-bindgen} cli, an internal dependency.")
3652 (license (list license:asl2.0
3655 (define-public rust-wasm-bindgen-test-macro
3657 (name "rust-wasm-bindgen-test-macro")
3662 (uri (crate-uri "wasm-bindgen-test-macro" version))
3663 (file-name (string-append name "-" version ".tar.gz"))
3666 "0n28mr6vncf1k1qr2b5bvfxq4jvqkjdzq0z0ab6w2f5d6v8q3q3l"))))
3667 (build-system cargo-build-system)
3670 (("rust-proc-macro2" ,rust-proc-macro2)
3671 ("rust-quote" ,rust-quote))))
3672 (home-page "https://github.com/rustwasm/wasm-bindgen")
3673 (synopsis "Internal testing macro for wasm-bindgen")
3675 "This library contains the internal testing macro for wasm-bindgen.")
3676 (license (list license:asl2.0
3679 (define-public rust-widestring
3681 (name "rust-widestring")
3686 (uri (crate-uri "widestring" version))
3687 (file-name (string-append name "-" version ".tar.gz"))
3690 "1dhx6dndjsz1y7c9w06922412kdxyrrkqblvggm76mh8z17hxz7g"))))
3691 (build-system cargo-build-system)
3693 `(#:cargo-development-inputs
3694 (("rust-winapi" ,rust-winapi))))
3695 (home-page "https://github.com/starkat99/widestring-rs")
3696 (synopsis "Wide string Rust FFI library")
3698 "A wide string Rust FFI library for converting to and from wide strings,
3699 such as those often used in Windows API or other FFI libaries. Both UTF-16 and
3700 UTF-32 types are provided, including support for malformed encoding.")
3701 (license (list license:asl2.0
3704 (define-public rust-winapi
3706 (name "rust-winapi")
3711 (uri (crate-uri "winapi" version))
3712 (file-name (string-append name "-" version ".tar.gz"))
3715 "1ii9j9lzrhwri0902652awifzx9fpayimbp6hfhhc296xcg0k4w0"))))
3716 (build-system cargo-build-system)
3719 (("rust-winapi-i686-pc-windows-gnu"
3720 ,rust-winapi-i686-pc-windows-gnu)
3721 ("rust-winapi-x86-64-pc-windows-gnu"
3722 ,rust-winapi-x86-64-pc-windows-gnu))))
3723 (home-page "https://github.com/retep998/winapi-rs")
3724 (synopsis "Raw FFI bindings for all of Windows API.")
3726 "Raw FFI bindings for all of Windows API.")
3727 (license (list license:asl2.0
3730 (define-public rust-winapi-0.2
3732 (inherit rust-winapi)
3733 (name "rust-winapi")
3738 (uri (crate-uri "winapi" version))
3739 (file-name (string-append name "-" version ".tar.gz"))
3742 "0yh816lh6lf56dpsgxy189c2ai1z3j8mw9si6izqb6wsjkbcjz8n"))))
3743 ;; We do not want to package 48 -sys crates for a package we do not want.
3744 ;; They are all dev dependencies, so we skip building and testing.
3748 (modify-phases %standard-phases
3749 (delete 'build))))))
3751 (define-public rust-winapi-build
3753 (name "rust-winapi-build")
3758 (uri (crate-uri "winapi-build" version))
3759 (file-name (string-append name "-" version ".tar.gz"))
3762 "1g4rqsgjky0a7530qajn2bbfcrl2v0zb39idgdws9b1l7gp5wc9d"))))
3763 (build-system cargo-build-system)
3764 (home-page "https://github.com/retep998/winapi-rs")
3765 (synopsis "Common code for build.rs in WinAPI -sys crates")
3767 "Common code for build.rs in WinAPI -sys crates.")
3768 (license license:expat)))
3770 (define-public rust-winapi-i686-pc-windows-gnu
3772 (name "rust-winapi-i686-pc-windows-gnu")
3777 (uri (crate-uri "winapi-i686-pc-windows-gnu" version))
3778 (file-name (string-append name "-" version ".tar.gz"))
3781 "1dmpa6mvcvzz16zg6d5vrfy4bxgg541wxrcip7cnshi06v38ffxc"))))
3782 (build-system cargo-build-system)
3783 (home-page "https://github.com/retep998/winapi-rs")
3784 (synopsis "Import libraries for the i686-pc-windows-gnu target")
3785 (description "This crate provides import libraries for the
3786 i686-pc-windows-gnu target. Please don't use this crate directly, depend on
3787 @code{winapi} instead.")
3788 (license (list license:asl2.0
3791 (define-public rust-winapi-util
3793 (name "rust-winapi-util")
3798 (uri (crate-uri "winapi-util" version))
3799 (file-name (string-append name "-" version ".tar.gz"))
3802 "1j839dc6y8vszvrsb7yk0qvs0w6asnahxzbyans37vnsw6vbls3i"))))
3803 (build-system cargo-build-system)
3805 `(#:cargo-inputs (("rust-winapi" ,rust-winapi))))
3806 (home-page "https://github.com/BurntSushi/winapi-util")
3807 (synopsis "Dumping ground for high level safe wrappers over winapi")
3809 "This package provides a dumping ground for high level safe wrappers over
3811 (license (list license:unlicense
3814 (define-public rust-winapi-x86-64-pc-windows-gnu
3816 (name "rust-winapi-x86-64-pc-windows-gnu")
3821 (uri (crate-uri "winapi-x86_64-pc-windows-gnu" version))
3822 (file-name (string-append name "-" version ".tar.gz"))
3825 "0gqq64czqb64kskjryj8isp62m2sgvx25yyj3kpc2myh85w24bki"))))
3826 (build-system cargo-build-system)
3827 (home-page "https://github.com/retep998/winapi-rs")
3828 (synopsis "Import libraries for the x86_64-pc-windows-gnu target")
3829 (description "This package provides import libraries for the
3830 x86_64-pc-windows-gnu target. Please don't use this crate directly, depend on
3831 @code{winapi} instead.")
3832 (license (list license:asl2.0
3835 (define-public rust-wincolor
3837 (name "rust-wincolor")
3842 (uri (crate-uri "wincolor" version))
3843 (file-name (string-append name "-" version ".tar.gz"))
3846 "1agaf3hcav113i86912ajnw6jxcy4rvkrgyf8gdj8kc031mh3xcn"))))
3847 (build-system cargo-build-system)
3850 (("rust-winapi" ,rust-winapi)
3851 ("rust-winapi-util" ,rust-winapi-util))))
3852 (home-page "https://github.com/BurntSushi/termcolor/tree/master/wincolor")
3853 (synopsis "Windows API for controlling text color in a Windows console")
3855 "This package provides a simple Windows specific API for controlling text
3856 color in a Windows console.")
3857 (license (list license:unlicense
3860 (define-public rust-winutil
3862 (name "rust-winutil")
3867 (uri (crate-uri "winutil" version))
3868 (file-name (string-append name "-" version ".tar.gz"))
3871 "0vkyl3fbbf05n5ph5yz8sfaccrk9x3qsr25560w6w68ldf5i7bvx"))))
3872 (build-system cargo-build-system)
3875 (("rust-winapi" ,rust-winapi))
3876 ;; This unmaintained crate cannot find winapi when built directly.
3879 (modify-phases %standard-phases
3881 (home-page "https://bitbucket.org/DaveLancaster/winutil")
3882 (synopsis "Library wrapping a handful of useful winapi functions")
3884 "A simple library wrapping a handful of useful winapi functions.")
3885 (license license:expat)))
3887 (define-public rust-ws2-32-sys
3889 (name "rust-ws2-32-sys")
3894 (uri (crate-uri "ws2_32-sys" version))
3895 (file-name (string-append name "-" version ".tar.gz"))
3898 "0ppscg5qfqaw0gzwv2a4nhn5bn01ff9iwn6ysqnzm4n8s3myz76m"))))
3899 (build-system cargo-build-system)
3902 (("rust-winapi" ,rust-winapi-0.2)
3903 ("rust-winapi-build" ,rust-winapi-build))
3905 (modify-phases %standard-phases
3906 (add-after 'unpack 'fix-Cargo-toml
3908 (substitute* "Cargo.toml"
3909 ((", path =.* }") "}\n"))
3911 (home-page "https://github.com/retep998/winapi-rs")
3912 (synopsis "Function definitions for the Windows API library ws2_32")
3914 "Contains function definitions for the Windows API library ws2_32.")
3915 (license license:expat)))
3917 (define-public rust-xattr
3924 (uri (crate-uri "xattr" version))
3925 (file-name (string-append name "-" version ".tar.gz"))
3928 "0k556fb6f5jc907975j9c8iynl2fqz3rf0w6fiig83i4yi0kfk14"))))
3929 (build-system cargo-build-system)
3932 (("rust-libc" ,rust-libc))
3933 #:cargo-development-inputs
3934 (("rust-tempfile" ,rust-tempfile))
3935 #:tests? #f)) ; Tests assume read access to /var.
3936 (home-page "https://github.com/Stebalien/xattr")
3937 (synopsis "Unix extended filesystem attributes")
3939 "This package provide a small library for setting, getting, and listing
3940 extended attributes.")
3941 (license (list license:asl2.0
3944 (define-public rust-xdg
3951 (uri (crate-uri "xdg" version))
3952 (file-name (string-append name "-" version ".tar.gz"))
3955 "0mws8a0fr3cqk5nh7aq9lmkmhzghvasqy4mhw6nnza06l4d6i2fh"))))
3956 (build-system cargo-build-system)
3957 (home-page "https://github.com/whitequark/rust-xdg")
3958 (synopsis "Store and retrieve files according to XDG specification")
3960 "This package provides a library for storing and retrieving files according
3961 to XDG Base Directory specification")
3962 (license (list license:asl2.0