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 curl)
29 #:use-module (gnu packages gcc)
30 #:use-module (gnu packages jemalloc)
31 #:use-module (gnu packages llvm)
32 #:use-module (gnu packages maths)
33 #:use-module (gnu packages pkg-config)
34 #:use-module (gnu packages tls)
35 #:use-module (gnu packages web))
38 ;;; Please: Try to add new module packages in alphabetic order.
41 (define-public rust-adler32
48 (uri (crate-uri "adler32" version))
50 (string-append name "-" version ".tar.gz"))
53 "0p7fxlnks9l7p7rwfqi7aqgnk2bps5zc0rjiw00mdw19nnbjjlky"))))
54 (build-system cargo-build-system)
56 `(#:cargo-development-inputs (("rust-rand" ,rust-rand))))
57 (home-page "https://github.com/remram44/adler32-rs")
58 (synopsis "Implementation of the Adler32 rolling hash algorithm")
60 "This library is an implementation of the Adler32 rolling hash algorithm in
61 the Rust programming language.")
62 (license (list license:bsd-3
65 (define-public rust-ansi-term
67 (name "rust-ansi-term")
72 (uri (crate-uri "ansi_term" version))
73 (file-name (string-append name "-" version ".tar.gz"))
76 "16wpvrghvd0353584i1idnsgm0r3vchg8fyrm0x8ayv1rgvbljgf"))))
77 (build-system cargo-build-system)
80 (("rust-winapi" ,rust-winapi))
82 (modify-phases %standard-phases
83 (add-after 'unpack 'fix-tests
84 ;; https://github.com/ogham/rust-ansi-term/commit/5ff6af6f38790abcb3aafee1239286c10ef69576.patch
86 (substitute* "src/debug.rs"
87 (("^ *Blue") " Blue,")
88 (("underline: false") "underline: false,"))
90 (home-page "https://github.com/ogham/rust-ansi-term")
91 (synopsis "Library for ANSI terminal colours and styles")
93 "This is a library for controlling colours and formatting, such as red bold
94 text or blue underlined text, on ANSI terminals.")
95 (license license:expat)))
97 (define-public rust-antidote
99 (name "rust-antidote")
104 (uri (crate-uri "antidote" version))
105 (file-name (string-append name "-" version ".tar.gz"))
108 "19g2sw2qa2ibnh4x7j1snk46593jgx6y7rnvva496ynq61af5z9l"))))
109 (build-system cargo-build-system)
110 (home-page "https://github.com/sfackler/rust-antidote")
111 (synopsis "Poison-free Mutex and RwLock types")
113 "These types expose identical APIs to the standard library @code{Mutex} and
114 @code{RwLock} except that they do not return @code{PoisonError}s.")
115 (license (list license:asl2.0
118 (define-public rust-atty
125 (uri (crate-uri "atty" version))
126 (file-name (string-append name "-" version ".tar.gz"))
129 "140sswp1bwqwc4zk80bxkbnfb3g936hgrb77g9g0k1zcld3wc0qq"))))
130 (build-system cargo-build-system)
133 (("rust-libc" ,rust-libc)
134 ("rust-winapi" ,rust-winapi))
135 #:tests? #f)) ; tests fail in our sandbox
136 (home-page "https://github.com/softprops/atty")
137 (synopsis "A simple interface for querying atty")
139 "This package provides a simple interface for querying atty.")
140 (license license:expat)))
142 (define-public rust-autocfg
144 (name "rust-autocfg")
149 (uri (crate-uri "autocfg" version))
150 (file-name (string-append name "-" version ".tar.gz"))
153 "0asl6fnc35yk5l2rxwhp25v128jgm45dp754h9z8x51b6n90w4r2"))))
154 (build-system cargo-build-system)
155 (home-page "https://github.com/cuviper/autocfg")
156 (synopsis "Automatic cfg for Rust compiler features")
157 (description "Rust library for build scripts to automatically configure
158 code based on compiler support. Code snippets are dynamically tested to see
159 if the @code{rustc} will accept them, rather than hard-coding specific version
161 (license (list license:asl2.0
164 (define-public rust-backtrace-sys
166 (name "rust-backtrace-sys")
171 (uri (crate-uri "backtrace-sys" version))
172 (file-name (string-append name "-" version ".tar.gz"))
175 "0as2pk77br4br04daywhivpi1ixxb8y2c7f726kj849dxys31a42"))))
176 (build-system cargo-build-system)
179 (("rust-compiler-builtins"
180 ,rust-compiler-builtins)
181 ("rust-libc" ,rust-libc)
182 ("rust-rustc-std-workspace-core"
183 ,rust-rustc-std-workspace-core))
184 #:cargo-development-inputs
185 (("rust-cc" ,rust-cc))))
186 (home-page "https://github.com/rust-lang/backtrace-rs")
187 (synopsis "Bindings to the libbacktrace gcc library")
189 "This package provides bindings to the libbacktrace gcc library.")
190 (license (list license:asl2.0
193 (define-public rust-base-x
200 (uri (crate-uri "base-x" version))
201 (file-name (string-append name "-" version ".tar.gz"))
204 "0hv4y5cdhv6bk0ghk2434clw8v4mmk5cc9lsh6qrpri92zlfmx3n"))))
205 (build-system cargo-build-system)
207 `(#:cargo-development-inputs
208 (("rust-bencher" ,rust-bencher)
209 ("rust-json" ,rust-json)
210 ("rust-rand" ,rust-rand-0.3))))
211 (home-page "https://github.com/OrKoN/base-x-rs")
212 (synopsis "Encode/decode any base")
213 (description "This library provides for encoding and decoding any base.")
214 (license license:expat)))
216 (define-public rust-bencher
218 (name "rust-bencher")
223 (uri (crate-uri "bencher" version))
224 (file-name (string-append name "-" version ".tar.gz"))
227 "1x8p2xblgqssay8cdykp5pkfc0np0jk5bs5cx4f5av097aav9zbx"))))
228 (build-system cargo-build-system)
229 (home-page "https://github.com/bluss/bencher/")
230 (synopsis "Port of the libtest benchmark runner to Rust stable")
231 (description "This package provides a port of the libtest (unstable Rust)
232 benchmark runner to Rust stable releases. Supports running benchmarks and
233 filtering based on the name. Benchmark execution works exactly the same way
234 and no more (caveat: black_box is still missing!).")
235 (license (list license:asl2.0
238 (define-public rust-bitflags
240 (name "rust-bitflags")
245 (uri (crate-uri "bitflags" version))
246 (file-name (string-append name "-" version ".tar.gz"))
249 "1zc1qb1hwsnl2d8rhzicsv9kqd5b2hwbrscrcfw5as4sfr35659x"))))
250 (build-system cargo-build-system)
251 (home-page "https://github.com/bitflags/bitflags")
252 (synopsis "Macro to generate structures which behave like bitflags")
253 (description "This package provides a macro to generate structures which
254 behave like a set of bitflags.")
255 (license (list license:asl2.0
258 (define-public rust-blas-sys
260 (name "rust-blas-sys")
265 (uri (crate-uri "blas-sys" version))
266 (file-name (string-append name "-" version ".tar.gz"))
269 "0h14zjycwc76v15h8qll9z1xiryvmpvsb5gam97pqpdjrrwv5c8k"))))
270 (build-system cargo-build-system)
272 `(#:cargo-inputs (("rust-libc" ,rust-libc))))
273 (home-page "https://github.com/blas-lapack-rs/blas-sys")
274 (synopsis "Bindings to BLAS (Fortran)")
276 "Ths package provides bindings to BLAS (Fortran).")
277 (license (list license:asl2.0
280 (define-public rust-cargon
287 (uri (crate-uri "cargon" version))
288 (file-name (string-append name "-" version ".tar.gz"))
291 "1cszlab7jk736p0lb50ag4l9nv72m7j41bwrmygl0lr4iz0350w2"))))
292 (build-system cargo-build-system)
295 (("rust-gcc" ,rust-gcc))))
296 (home-page "https://github.com/bryant/argon2rs")
297 (synopsis "Thin wrapper around the Argon2 C library")
299 "This package provides a thin wrapper around the Argon2 C library. It is
300 used in argon2rs' bench suite.")
301 (license license:wtfpl2)))
303 (define-public rust-cblas-sys
305 (name "rust-cblas-sys")
310 (uri (crate-uri "cblas-sys" version))
311 (file-name (string-append name "-" version ".tar.gz"))
314 "0rgsn3klhhh09d8qf3b87zl4rwk93l2g0qzh9hhb0lff5kcfrzmn"))))
315 (build-system cargo-build-system)
317 `(#:cargo-inputs (("rust-libc" ,rust-libc))))
318 (home-page "https://github.com/blas-lapack-rs/cblas-sys")
319 (synopsis "Bindings to CBLAS (C)")
321 "The package provides bindings to CBLAS (C).")
322 (license (list license:asl2.0
325 (define-public rust-cc
332 (uri (crate-uri "cc" version))
333 (file-name (string-append name "-" version ".tar.gz"))
336 "1zxzd559dbbf1iwdzmkj7czapzccs17kqqmsj9ayijpdix5rrbld"))))
337 (build-system cargo-build-system)
340 ;(("rust-rayon" ,rust-rayon))
341 #:cargo-development-inputs
342 (("rust-tempdir" ,rust-tempdir))
344 (modify-phases %standard-phases
345 (add-after 'unpack 'remove-optional-deps
347 (substitute* "Cargo.toml.orig"
348 ((".*optional.*") "\n")
349 ((".*features.*") "")
350 ((".*parallel.*") ""))
351 (delete-file "Cargo.toml")
352 (copy-file "Cargo.toml.orig" "Cargo.toml")
354 #:tests? #f)) ; Tests require cc-test from git repo.
355 (home-page "https://github.com/alexcrichton/cc-rs")
356 (synopsis "Invoke the native C compiler")
358 "This package provides a build-time dependency for Cargo build scripts to
359 assist in invoking the native C compiler to compile native C code into a static
360 archive to be linked into Rustcode.")
361 (license (list license:asl2.0
364 (define-public rust-cfg-if
371 (uri (crate-uri "cfg-if" version))
372 (file-name (string-append name "-" version ".tar.gz"))
375 "0csygklgz3ybpr0670rkip49zh76m43ar3k7xgypkzbzrwycx1ml"))))
376 (build-system cargo-build-system)
377 (home-page "https://github.com/alexcrichton/cfg-if")
378 (synopsis "Define an item depending on parameters")
379 (description "This package provides a macro to ergonomically define an item
380 depending on a large number of #[cfg] parameters. Structured like an
381 @code{if-else} chain, the first matching branch is the item that gets emitted.")
382 (license (list license:asl2.0
385 (define-public rust-clang-sys
387 (name "rust-clang-sys")
392 (uri (crate-uri "clang-sys" version))
393 (file-name (string-append name "-" version ".tar.gz"))
396 "0ls8zcqi5bmmrvrk3b6r1ym4wlivinbv590d2dvg2xn9f44mbpl1"))))
397 (build-system cargo-build-system)
400 (("rust-glob" ,rust-glob)
401 ("rust-libc" ,rust-libc)
402 ("rust-libloading" ,rust-libloading))
403 #:cargo-development-inputs
404 (("rust-glob" ,rust-glob))
406 (modify-phases %standard-phases
407 (add-after 'unpack 'set-environmental-variable
408 (lambda* (#:key inputs #:allow-other-keys)
409 (let ((clang (assoc-ref inputs "libclang")))
410 (setenv "LIBCLANG_PATH"
411 (string-append clang "/lib")))
414 `(("libclang" ,clang)))
415 (home-page "https://github.com/KyleMayes/clang-sys")
416 (synopsis "Rust bindings for libclang")
418 "This package provides Rust bindings for @code{libclang}.")
419 (license license:asl2.0)))
421 (define-public rust-clang-sys-0.26
423 (inherit rust-clang-sys)
424 (name "rust-clang-sys")
429 (uri (crate-uri "clang-sys" version))
430 (file-name (string-append name "-" version ".tar.gz"))
433 "1r50dwy5hj5gq07dn0qf8222d07qv0970ymx0j8n9779yayc3w3f"))))
436 (("rust-glob" ,rust-glob-0.2)
437 ("rust-libc" ,rust-libc)
438 ("rust-libloading" ,rust-libloading))
439 #:cargo-development-inputs
440 (("rust-glob" ,rust-glob-0.2))
442 (modify-phases %standard-phases
443 (add-after 'unpack 'set-environmental-variable
444 (lambda* (#:key inputs #:allow-other-keys)
445 (let ((clang (assoc-ref inputs "libclang")))
446 (setenv "LIBCLANG_PATH"
447 (string-append clang "/lib")))
450 (define-public rust-clicolors-control
452 (name "rust-clicolors-control")
457 (uri (crate-uri "clicolors-control" version))
458 (file-name (string-append name "-" version ".tar.gz"))
461 "1y80cgarxhrd1bz5yjm81r444v6flvy36aaxrrsac0yhfd6gvavk"))))
462 (build-system cargo-build-system)
465 (("rust-atty" ,rust-atty)
466 ("rust-lazy-static" ,rust-lazy-static)
467 ("rust-libc" ,rust-libc)
468 ("rust-winapi" ,rust-winapi))))
469 (home-page "https://github.com/mitsuhiko/clicolors-control")
470 (synopsis "Common utility library to control CLI colorization")
472 "This package provides a common utility library to control CLI
474 (license license:expat)))
476 (define-public rust-clippy
483 (uri (crate-uri "clippy" version))
485 (string-append name "-" version ".tar.gz"))
488 "1562x3sq9mgmc8j39gd34wqm7ybrdvpmj7cc1n450gwsawayw4fr"))))
489 (build-system cargo-build-system)
492 (("rust-term" ,rust-term))))
493 (home-page "https://github.com/rust-lang/rust-clippy")
495 "A bunch of helpful lints to avoid common pitfalls in Rust.")
497 "This package provides a bunch of helpful lints to avoid common pitfalls in Rust.")
498 (license (list license:asl2.0
501 (define-public rust-cloudabi
503 (name "rust-cloudabi")
508 (uri (crate-uri "cloudabi" version))
509 (file-name (string-append name "-" version ".tar.gz"))
512 "0kxcg83jlihy0phnd2g8c2c303px3l2p3pkjz357ll6llnd5pz6x"))))
513 (build-system cargo-build-system)
516 (("rust-bitflags" ,rust-bitflags))))
517 (home-page "https://nuxi.nl/cloudabi/")
518 (synopsis "Low level interface to CloudABI")
520 "Low level interface to CloudABI. Contains all syscalls and related types.")
521 (license license:bsd-2)))
523 (define-public rust-cmake
530 (uri (crate-uri "cmake" version))
531 (file-name (string-append name "-" version ".tar.gz"))
534 "0qkwibkvx5xjazvv9v8gvdlpky2jhjxvcz014nrixgzqfyv2byw1"))))
535 (build-system cargo-build-system)
537 `(#:cargo-inputs (("rust-cc" ,rust-cc))))
538 (home-page "https://github.com/alexcrichton/cmake-rs")
539 (synopsis "Rust build dependency for running cmake")
541 "This package provides a build dependency for running @code{cmake} to build
542 a native library. The CMake executable is assumed to be @code{cmake} unless the
543 CMAKE environmental variable is set.")
544 (license (list license:asl2.0
547 ;; This package requires features which are unavailable
548 ;; on the stable releases of Rust.
549 (define-public rust-compiler-builtins
551 (name "rust-compiler-builtins")
556 (uri (crate-uri "compiler_builtins" version))
557 (file-name (string-append name "-" version ".tar.gz"))
560 "1fpabpmg8paj4r5a37vmidh1jx1b7a6ilxm4s3xsxczx27ybjcjf"))))
561 (build-system cargo-build-system)
564 (("rust-cc" ,rust-cc)
565 ("rust-rustc-std-workspace-core"
566 ,rust-rustc-std-workspace-core))))
567 (home-page "https://github.com/rust-lang-nursery/compiler-builtins")
568 (synopsis "Compiler intrinsics used by the Rust compiler")
570 "This package provides compiler intrinsics used by the Rust compiler. This
571 package is primarily useful when building the @code{core} crate yourself and you
572 need compiler-rt intrinsics.")
573 (properties `((hidden? . #t)))
574 (license (list license:asl2.0
577 (define-public rust-constant-time-eq
579 (name "rust-constant-time-eq")
584 (uri (crate-uri "constant_time_eq" version))
585 (file-name (string-append name "-" version ".tar.gz"))
588 "083icpr9xb72rrdxw3p4068dcspn6ai22jy7rhl2a8grfz448nlr"))))
589 (build-system cargo-build-system)
590 (home-page "https://github.com/cesarb/constant_time_eq")
592 "Compares two equal-sized byte strings in constant time")
594 "This package compares two equal-sized byte strings in constant time.
595 It is inspired by the Linux kernel's @code{crypto_memneq}.")
596 (license license:cc0)))
598 (define-public rust-core-foundation-sys
600 (name "rust-core-foundation-sys")
605 (uri (crate-uri "core-foundation-sys" version))
606 (file-name (string-append name "-" version ".tar.gz"))
609 "0fzsw1j9g1x598yhwklg59l15hwzc0pyvs01w9fg2kin4598mjp7"))))
610 (build-system cargo-build-system)
611 (home-page "https://github.com/servo/core-foundation-rs")
612 (synopsis "Bindings to Core Foundation for OS X")
614 "Bindings to Core Foundation for OS X.")
615 (license (list license:asl2.0
618 (define-public rust-curl-sys
620 (name "rust-curl-sys")
625 (uri (crate-uri "curl-sys" version))
626 (file-name (string-append name "-" version ".tar.gz"))
629 "02542zmvl3fpdqf7ai4cqnamm4albx9j645dkjx5qr1myq8ax42y"))))
630 (build-system cargo-build-system)
633 (("rust-libc" ,rust-libc)
634 ("rust-libnghttp2-sys" ,rust-libnghttp2-sys)
635 ("rust-libz-sys" ,rust-libz-sys)
636 ("rust-openssl-sys" ,rust-openssl-sys)
637 ("rust-winapi" ,rust-winapi))
638 #:cargo-development-inputs
639 (("rust-cc" ,rust-cc)
640 ("rust-pkg-config" ,rust-pkg-config)
641 ("rust-openssl-src" ,rust-openssl-src)
642 ("rust-vcpkg" ,rust-vcpkg))
644 (modify-phases %standard-phases
645 (add-after 'unpack 'find-openssl
646 (lambda* (#:key inputs #:allow-other-keys)
647 (let ((openssl (assoc-ref inputs "openssl")))
648 (setenv "OPENSSL_DIR" openssl))
651 `(("pkg-config" ,pkg-config)))
657 (home-page "https://github.com/alexcrichton/curl-rust")
658 (synopsis "Native bindings to the libcurl library")
660 "This package provides native bindings to the @code{libcurl} library.")
661 (license license:expat)))
663 (define-public rust-data-encoding
665 (name "rust-data-encoding")
670 (uri (crate-uri "data-encoding" version))
671 (file-name (string-append name "-" version ".tar.gz"))
674 "15xd6afhsjl08285piwczrafmckpp8i29padj8v12xhahshprx7l"))))
675 (build-system cargo-build-system)
676 (home-page "https://github.com/ia0/data-encoding")
677 (synopsis "Efficient and customizable data-encoding functions")
679 "This library provides encodings for many different common cases, including
680 hexadecimal, bas32, and base64.")
681 (license license:expat)))
683 (define-public rust-defmac
690 (uri (crate-uri "defmac" version))
691 (file-name (string-append name "-" version ".tar.gz"))
694 "01ff3jdmcc5waffkwllndnx5hsn414r7x1rq4ib73n7awsyzxkxv"))))
695 (build-system cargo-build-system)
696 (home-page "https://github.com/bluss/defmac")
697 (synopsis "Macro to define lambda-like macros inline")
698 (description "A macro to define lambda-like macros inline.")
699 (license (list license:asl2.0
702 (define-public rust-defmac-0.1
704 (inherit rust-defmac)
710 (uri (crate-uri "defmac" version))
711 (file-name (string-append name "-" version ".tar.gz"))
714 "17giv0n0n1r64z0dahfvkjy3ys517jxyhs8sd9lmgvcljpjyryxa"))))))
716 (define-public rust-dirs
723 (uri (crate-uri "dirs" version))
724 (file-name (string-append name "-" version ".tar.gz"))
727 "02vigc566z5i6n9wr2x8sch39qp4arn89xhhrh18fhpm3jfc0ygn"))))
728 (build-system cargo-build-system)
731 (("rust-libc" ,rust-libc)
732 ("rust-winapi" ,rust-winapi))))
733 (home-page "https://github.com/soc/dirs-rs")
734 (synopsis "Abstractions for standard locations for various platforms")
736 "This package provides a tiny low-level library that provides
737 platform-specific standard locations of directories for config, cache and other
738 data on Linux, Windows, macOS and Redox by leveraging the mechanisms defined by
739 the XDG base/user directory specifications on Linux, the Known Folder API on
740 Windows, and the Standard Directory guidelines on macOS.")
741 (license (list license:expat license:asl2.0))))
743 (define-public rust-discard
745 (name "rust-discard")
750 (uri (crate-uri "discard" version))
751 (file-name (string-append name "-" version ".tar.gz"))
754 "1h67ni5bxvg95s91wgicily4ix7lcw7cq0a5gy9njrybaibhyb91"))))
755 (build-system cargo-build-system)
756 (home-page "https://github.com/Pauan/rust-discard")
757 (synopsis "Allow for intentionally leaking memory")
758 (description "There are situations where you need to intentionally leak some
759 memory but not other memory. This package provides a discard trait which allows
760 for intentionally leaking memory")
761 (license license:expat)))
763 (define-public rust-doc-comment
765 (name "rust-doc-comment")
770 (uri (crate-uri "doc-comment" version))
771 (file-name (string-append name "-" version ".tar.gz"))
774 "15rsqxgarfpb1yim9sbp9yfgj7p2dq6v51c6bq1a62paii9ylgcj"))))
775 (build-system cargo-build-system)
776 (home-page "https://github.com/GuillaumeGomez/doc-comment")
777 (synopsis "Macro to generate doc comments")
778 (description "This package provides a way to generate doc comments
780 (license license:expat)))
782 (define-public rust-dtoa
789 (uri (crate-uri "dtoa" version))
790 (file-name (string-append name "-" version ".tar.gz"))
793 "0phbm7i0dpn44gzi07683zxaicjap5064w62pidci4fhhciv8mza"))))
794 (build-system cargo-build-system)
795 (home-page "https://github.com/dtolnay/dtoa")
796 (synopsis "Fast functions for printing floating-point primitives")
797 (description "This crate provides fast functions for printing
798 floating-point primitives to an @code{io::Write}.")
799 (license (list license:asl2.0
802 (define-public rust-dtoa-0.2
810 (uri (crate-uri "dtoa" version))
811 (file-name (string-append name "-" version ".tar.gz"))
814 "0g96cap6si1g6wi62hsdk2fnj3sf5vd4i97zj6163j8hhnsl3n0d"))))))
816 (define-public rust-fallible-iterator
818 (name "rust-fallible-iterator")
823 (uri (crate-uri "fallible-iterator" version))
824 (file-name (string-append name "-" version ".tar.gz"))
827 "1xq759lsr8gqss7hva42azn3whgrbrs2sd9xpn92c5ickxm1fhs4"))))
828 (build-system cargo-build-system)
829 (home-page "https://github.com/sfackler/rust-fallible-iterator")
830 (synopsis "Fallible iterator traits")
831 (description "If the @code{std} or @code{alloc} features are enabled, this
832 crate provides implementations for @code{Box}, @code{Vec}, @code{BTreeMap}, and
833 @code{BTreeSet}. If the @code{std} feature is enabled, this crate additionally
834 provides implementations for @code{HashMap} and @code{HashSet}.")
835 (license (list license:asl2.0
838 (define-public rust-filetime
840 (name "rust-filetime")
845 (uri (crate-uri "filetime" version))
846 (file-name (string-append name "-" version ".tar.gz"))
849 "0sflihq2l77xjrza7yjalnxsc7dxzg25rhzcfbd9vmyfah5kimvb"))))
850 (build-system cargo-build-system)
853 (("rust-cfg-if" ,rust-cfg-if)
854 ("rust-libc" ,rust-libc)
855 ("rust-redox-syscall" ,rust-redox-syscall)
856 ("rust-winapi" ,rust-winapi))
857 #:cargo-development-inputs
858 (("rust-tempdir" ,rust-tempdir))))
859 (home-page "https://github.com/alexcrichton/filetime")
860 (synopsis "Platform-agnostic accessors of timestamps in File metadata")
862 "This library contains a helper library for inspecting and setting the
863 various timestamps of files in Rust. This library takes into account
864 cross-platform differences in terms of where the timestamps are located, what
865 they are called, and how to convert them into a platform-independent
867 (license (list license:asl2.0
870 (define-public rust-findshlibs
872 (name "rust-findshlibs")
877 (uri (crate-uri "findshlibs" version))
878 (file-name (string-append name "-" version ".tar.gz"))
881 "1n2vagn0q5yim32hxkwi1cjgp3yn1dm45p7z8nw6lapywihhs9mi"))))
882 (build-system cargo-build-system)
885 (("rust-lazy-static" ,rust-lazy-static)
886 ("rust-libc" ,rust-libc))))
887 (home-page "https://github.com/gimli-rs/findshlibs")
888 (synopsis "Find the set of shared libraries loaded in the current process")
890 "Find the set of shared libraries loaded in the current process with a
891 cross platform API.")
892 (license (list license:asl2.0
895 (define-public rust-fixedbitset
897 (name "rust-fixedbitset")
902 (uri (crate-uri "fixedbitset" version))
903 (file-name (string-append name "-" version ".tar.gz"))
906 "0czam11mi80dbyhf4rd4lz0ihcf7vkfchrdcrn45wbs0h40dxm46"))))
907 (build-system cargo-build-system)
908 (home-page "https://github.com/petgraph/fixedbitset")
909 (synopsis "FixedBitSet is a simple bitset collection")
910 (description "FixedBitSet is a simple bitset collection.")
911 (license (list license:asl2.0
914 (define-public rust-fnv
921 (uri (crate-uri "fnv" version))
922 (file-name (string-append name "-" version ".tar.gz"))
925 "1ww56bi1r5b8id3ns9j3qxbi7w5h005rzhiryy0zi9h97raqbb9g"))))
926 (build-system cargo-build-system)
927 (home-page "https://github.com/servo/rust-fnv")
928 (synopsis "implementation of the Fowler-Noll-Vo hash function")
929 (description "The @code{fnv} hash function is a custom @code{Hasher}
930 implementation that is more efficient for smaller hash keys.")
931 (license (list license:asl2.0
934 (define-public rust-foreign-types-shared
936 (name "rust-foreign-types-shared")
941 (uri (crate-uri "foreign-types-shared" version))
942 (file-name (string-append name "-" version ".tar.gz"))
945 "0kanxlif1vp0ffh2r9l610jqbkmb3183yqykxq1z5w1vay2rn7y6"))))
946 (build-system cargo-build-system)
947 (home-page "https://github.com/sfackler/foreign-types")
948 (synopsis "An internal crate used by foreign-types")
950 "An internal crate used by foreign-types.")
951 (license (list license:asl2.0
954 (define-public rust-fs-extra
956 (name "rust-fs-extra")
961 (uri (crate-uri "fs_extra" version))
962 (file-name (string-append name "-" version ".tar.gz"))
965 "0x6675wdhsx277k1k1235jwcv38naf20d8kwrk948ds26hh4lajz"))))
966 (build-system cargo-build-system)
967 (home-page "https://github.com/webdesus/fs_extra")
968 (synopsis "Extra filesystem methods")
969 (description "Expanding opportunities standard library @code{std::fs} and
970 @code{std::io}. Recursively copy folders with recept information about
971 process and much more.")
972 (license license:expat)))
974 (define-public rust-fuchsia-cprng
976 (name "rust-fuchsia-cprng")
981 (uri (crate-uri "fuchsia-cprng" version))
982 (file-name (string-append name "-" version ".tar.gz"))
985 "1fnkqrbz7ixxzsb04bsz9p0zzazanma8znfdqjvh39n14vapfvx0"))))
986 (build-system cargo-build-system)
988 `(#:tests? #f)) ; tests require zircon
989 (home-page "https://fuchsia.googlesource.com/fuchsia/+/master/garnet/public/rust/fuchsia-cprng")
990 (synopsis "Fuchsia cryptographically secure pseudorandom number generator")
991 (description "Rust crate for the Fuchsia cryptographically secure
992 pseudorandom number generator")
993 (license license:bsd-3)))
995 (define-public rust-fuchsia-zircon
997 (name "rust-fuchsia-zircon")
1002 (uri (crate-uri "fuchsia-zircon" version))
1003 (file-name (string-append name "-" version ".tar.gz"))
1006 "10jxc5ks1x06gpd0xg51kcjrxr35nj6qhx2zlc5n7bmskv3675rf"))))
1007 (build-system cargo-build-system)
1010 (("rust-bitflags" ,rust-bitflags)
1011 ("rust-fuchsia-zircon-sys" ,rust-fuchsia-zircon-sys))
1012 #:tests? #f)) ; tests require zircon
1013 (home-page "https://fuchsia.googlesource.com/garnet/")
1014 (synopsis "Rust bindings for the Zircon kernel")
1015 (description "Rust bindings for the Zircon kernel.")
1016 (license license:bsd-3)))
1018 (define-public rust-fuchsia-zircon-sys
1020 (name "rust-fuchsia-zircon-sys")
1025 (uri (crate-uri "fuchsia-zircon-sys" version))
1026 (file-name (string-append name "-" version ".tar.gz"))
1029 "19zp2085qsyq2bh1gvcxq1lb8w6v6jj9kbdkhpdjrl95fypakjix"))))
1030 (build-system cargo-build-system)
1032 `(#:tests? #f)) ; tests require zircon
1033 (home-page "https://fuchsia.googlesource.com/garnet/")
1034 (synopsis "Low-level Rust bindings for the Zircon kernel")
1035 (description "Low-level Rust bindings for the Zircon kernel.")
1036 (license license:bsd-3)))
1038 (define-public rust-futures
1040 (name "rust-futures")
1045 (uri (crate-uri "futures" version))
1046 (file-name (string-append name "-" version ".tar.gz"))
1049 "0saq8ffjw1pwf1pzhw3kq1z7dfq6wpd8x93dnni6vbkc799kkp25"))))
1050 (build-system cargo-build-system)
1051 (home-page "https://github.com/rust-lang-nursery/futures-rs")
1052 (synopsis "Implementation of zero-cost futures in Rust")
1053 (description "An implementation of @code{futures} and @code{streams}
1054 featuring zero allocations, composability, and iterator-like interfaces.")
1055 (license (list license:asl2.0
1058 (define-public rust-futures-cpupool
1060 (name "rust-futures-cpupool")
1065 (uri (crate-uri "futures-cpupool" version))
1066 (file-name (string-append name "-" version ".tar.gz"))
1069 "1r32456gpblzfvnkf60545v8acqk7gh5zhyhi1jn669k9gicv45b"))))
1070 (build-system cargo-build-system)
1073 (("rust-futures" ,rust-futures)
1074 ("rust-num-cpus" ,rust-num-cpus))))
1075 (home-page "https://github.com/rust-lang-nursery/futures-rs")
1076 (synopsis "Implementation of thread pools which hand out futures")
1078 "An implementation of thread pools which hand out futures to the results of
1079 the computation on the threads themselves.")
1080 (license (list license:asl2.0
1083 (define-public rust-futures-io-preview
1085 (name "rust-futures-io-preview")
1086 (version "0.3.0-alpha.17")
1090 (uri (crate-uri "futures-io-preview" version))
1091 (file-name (string-append name "-" version ".tar.gz"))
1094 "0fhvwhdb8ywjjbfng0ra1r8yyc9yzpyxg9sv3spb3f7w0lk40bh8"))))
1095 (build-system cargo-build-system)
1096 (home-page "https://rust-lang-nursery.github.io/futures-rs/")
1097 (synopsis "Async read and write traits for the futures library")
1098 (description "This crate provides the @code{AsyncRead} and
1099 @code{AsyncWrite} traits for the @code{futures-rs} library.")
1100 (license (list license:asl2.0
1103 (define-public rust-gcc
1111 (uri (crate-uri "gcc" version))
1112 (file-name (string-append name "-" version ".tar.gz"))
1115 "1hng1sajn4r67hndvhjysswz8niayjwvcj42zphpxzhbz89kjpwg"))))
1116 (build-system cargo-build-system)
1119 ;(("rust-rayon" ,rust-rayon))
1120 #:cargo-development-inputs
1121 (("rust-tempdir" ,rust-tempdir))
1123 (modify-phases %standard-phases
1124 (add-after 'unpack 'remove-optional-deps
1126 (substitute* "Cargo.toml.orig"
1127 ((".*optional.*") "\n")
1128 ((".*features.*") "")
1129 ((".*parallel.*") ""))
1130 (delete-file "Cargo.toml")
1131 (copy-file "Cargo.toml.orig" "Cargo.toml")
1134 (home-page "https://github.com/alexcrichton/cc-rs")
1135 (synopsis "Library to compile C/C++ code into a Rust library/application")
1137 "This package provides a build-time dependency for Cargo build scripts to
1138 assist in invoking the native C compiler to compile native C code into a static
1139 archive to be linked into Rustcode.")
1140 (license (list license:asl2.0
1143 (define-public rust-getopts
1145 (name "rust-getopts")
1150 (uri (crate-uri "getopts" version))
1151 (file-name (string-append name "-" version ".tar.gz"))
1154 "018yhq97zgcrcxwhj3pxh31h83704sgaiijdnpl0r1ir366c005r"))))
1155 (build-system cargo-build-system)
1157 `(#:cargo-development-inputs
1158 (("rust-log" ,rust-log))))
1159 (home-page "https://github.com/rust-lang-nursery/getopts")
1160 (synopsis "Rust library for option parsing for CLI utilities")
1161 (description "This library provides getopts-like option parsing.")
1162 (license (list license:asl2.0
1165 (define-public rust-glob
1172 (uri (crate-uri "glob" version))
1173 (file-name (string-append name "-" version ".tar.gz"))
1176 "0x25wfr7vg3mzxc9x05dcphvd3nwlcmbnxrvwcvrrdwplcrrk4cv"))))
1177 (build-system cargo-build-system)
1179 `(#:cargo-development-inputs
1180 (("rust-tempdir" ,rust-tempdir))
1182 (modify-phases %standard-phases
1183 (add-after 'unpack 'fix-tests
1184 ;; This test assumes /root exists but is unreadable by the user.
1186 (substitute* "src/lib.rs"
1187 (("cfg\\(all\\(unix,.*") "cfg(windows)]\n"))
1189 (home-page "https://github.com/rust-lang-nursery/glob")
1190 (synopsis "Match file paths against Unix shell style patterns")
1192 "This package provides support for matching file paths against Unix
1193 shell style patterns.")
1194 (license (list license:asl2.0
1197 (define-public rust-glob-0.2
1205 (uri (crate-uri "glob" version))
1206 (file-name (string-append name "-" version ".tar.gz"))
1209 "1ysvi72slkw784fcsymgj4308c3y03gwjjzqxp80xdjnkbh8vqcb"))))
1211 `(#:cargo-development-inputs
1212 (("rust-tempdir" ,rust-tempdir))
1214 (modify-phases %standard-phases
1215 (add-after 'unpack 'fix-tests
1216 ;; This test assumes /root exists but is unreadable by the user.
1218 (substitute* "src/lib.rs"
1219 (("cfg\\(unix") "cfg(windows"))
1222 (define-public rust-heapsize
1224 (name "rust-heapsize")
1229 (uri (crate-uri "heapsize" version))
1230 (file-name (string-append name "-" version ".tar.gz"))
1233 "0q94q9ppqjgrw71swiyia4hgby2cz6dldp7ij57nkvhd6zmfcy8n"))))
1234 (build-system cargo-build-system)
1236 `(#:cargo-inputs (("rust-winapi" ,rust-winapi))
1237 ;; Tests assume rust is built with jemalloc.
1238 ;; https://github.com/servo/heapsize/issues/74
1239 #:cargo-test-flags '("--features" "flexible-tests")))
1240 (home-page "https://github.com/servo/heapsize")
1241 (synopsis "Measure the total runtime size of an object on the heap")
1243 "Infrastructure for measuring the total runtime size of an object on the
1245 (license (list license:asl2.0
1248 (define-public rust-heapsize-0.3
1250 (inherit rust-heapsize)
1251 (name "rust-heapsize")
1256 (uri (crate-uri "heapsize" version))
1257 (file-name (string-append name "-" version ".tar.gz"))
1260 "0dmwc37vgsdjzk10443dj4f23439i9gch28jcwzmry3chrwx8v2m"))))
1262 `(#:cargo-inputs (("rust-kernel32-sys" ,rust-kernel32-sys))
1263 #:tests? #f)))) ;; No flexible-tests feature flags on this release.
1265 ;; This package makes use of removed features
1266 (define-public rust-heapsize-plugin
1268 (name "rust-heapsize-plugin")
1273 (uri (crate-uri "heapsize_plugin" version))
1274 (file-name (string-append name "-" version ".tar.gz"))
1277 "1i72isf699q9jl167g2kg4xd6h3cd05rc79zaph58aqjy0g0m9y9"))))
1278 (build-system cargo-build-system)
1280 `(#:cargo-development-inputs (("rust-heapsize" ,rust-heapsize-0.3))
1282 (modify-phases %standard-phases
1283 (add-after 'unpack 'fix-Cargo-toml
1285 (substitute* "Cargo.toml"
1286 (("path = \"..\", ") ""))
1288 (home-page "https://github.com/servo/heapsize")
1289 (synopsis "Measure runtime size of an object on the heap")
1291 "This package automatically generates infrastructure for measuring the
1292 total runtime size of an object on the heap")
1293 (properties `((hidden? . #t)))
1294 (license license:mpl2.0)))
1296 (define-public rust-hex
1303 (uri (crate-uri "hex" version))
1304 (file-name (string-append name "-" version ".tar.gz"))
1307 "0xsdcjiik5j750j67zk42qdnmm4ahirk3gmkmcqgq7qls2jjcl40"))))
1308 (build-system cargo-build-system)
1309 (home-page "https://github.com/KokaKiwi/rust-hex")
1310 (synopsis "Encode and decode data to/from hexadecimals")
1311 (description "This crate allows for encoding and decoding data into/from
1312 hexadecimal representation.")
1313 (license (list license:asl2.0
1316 (define-public rust-hostname
1318 (name "rust-hostname")
1323 (uri (crate-uri "hostname" version))
1324 (file-name (string-append name "-" version ".tar.gz"))
1327 "0kprf862qaa7lwdms6aw7f3275h0j2rwhs9nz5784pm8hdmb9ki1"))))
1328 (build-system cargo-build-system)
1331 (("rust-libc" ,rust-libc)
1332 ("rust-winutil" ,rust-winutil))))
1333 (home-page "https://github.com/fengcen/hostname")
1334 (synopsis "Get hostname for Rust")
1336 "Get hostname for Rust.")
1337 (license license:expat)))
1339 (define-public rust-iovec
1346 (uri (crate-uri "iovec" version))
1347 (file-name (string-append name "-" version ".tar.gz"))
1350 "025vi072m22299z3fg73qid188z2iip7k41ba6v5v5yhwwby9rnv"))))
1351 (build-system cargo-build-system)
1354 (("rust-libc" ,rust-libc)
1355 ("rust-winapi" ,rust-winapi-0.2))))
1356 (home-page "https://github.com/carllerche/iovec")
1357 (synopsis "Portable buffer type for scatter/gather I/O operations")
1359 "Portable buffer type for scatter/gather I/O operations.")
1360 (license (list license:asl2.0
1363 (define-public rust-itoa
1370 (uri (crate-uri "itoa" version))
1371 (file-name (string-append name "-" version ".tar.gz"))
1374 "0zvg2d9qv3avhf3d8ggglh6fdyw8kkwqg3r4622ly5yhxnvnc4jh"))))
1375 (build-system cargo-build-system)
1376 (home-page "https://github.com/dtolnay/itoa")
1377 (synopsis "Fast functions for printing integer primitives")
1378 (description "This crate provides fast functions for printing integer
1379 primitives to an @code{io::Write}.")
1380 (license (list license:asl2.0
1383 (define-public rust-itoa-0.1
1391 (uri (crate-uri "itoa" version))
1392 (file-name (string-append name "-" version ".tar.gz"))
1395 "18g7p2hrb3dk84z3frfgmszfc9hjb4ps9vp99qlb1kmf9gm8hc5f"))))))
1397 (define-public rust-jemalloc-sys
1399 (name "rust-jemalloc-sys")
1404 (uri (crate-uri "jemalloc-sys" version))
1405 (file-name (string-append name "-" version ".tar.gz"))
1408 "0ify9vlql01qhfxlj7d4p9jvcp90mj2h69nkbq7slccvbhzryfqd"))))
1409 (build-system cargo-build-system)
1412 (("rust-libc" ,rust-libc)
1413 ("rust-cc" ,rust-cc)
1414 ("rust-fs-extra" ,rust-fs-extra))
1416 (modify-phases %standard-phases
1417 (add-after 'unpack 'override-jemalloc
1418 (lambda* (#:key inputs #:allow-other-keys)
1419 (let ((jemalloc (assoc-ref inputs "jemalloc")))
1420 (delete-file-recursively "jemalloc")
1421 (setenv "JEMALLOC_OVERRIDE"
1422 (string-append jemalloc "/lib/libjemalloc_pic.a")))
1425 `(("jemalloc" ,jemalloc)))
1426 (home-page "https://github.com/gnzlbg/jemallocator")
1427 (synopsis "Rust FFI bindings to jemalloc")
1428 (description "This package provides Rust FFI bindings to jemalloc.")
1429 (license (list license:asl2.0
1432 (define-public rust-json
1439 (uri (crate-uri "json" version))
1440 (file-name (string-append name "-" version ".tar.gz"))
1443 "1hj8c6xj5c2aqqszi8naaflmcdbya1i9byyjrq4iybxjb4q91mq1"))))
1444 (build-system cargo-build-system)
1445 (home-page "https://github.com/maciejhirsz/json-rust")
1446 (synopsis "JSON implementation in Rust")
1447 (description "This crate provides a JSON implementation in Rust, reducing
1448 friction with idiomatic Rust structs to ease interopability.")
1449 (license (list license:asl2.0
1452 (define-public rust-kernel32-sys
1454 (name "rust-kernel32-sys")
1459 (uri (crate-uri "kernel32-sys" version))
1460 (file-name (string-append name "-" version ".tar.gz"))
1463 "1389av0601a9yz8dvx5zha9vmkd6ik7ax0idpb032d28555n41vm"))))
1464 (build-system cargo-build-system)
1467 (("rust-winapi" ,rust-winapi-0.2)
1468 ("rust-winapi-build" ,rust-winapi-build))
1470 (modify-phases %standard-phases
1471 (add-after 'unpack 'fix-Cargo-toml
1473 (substitute* "Cargo.toml"
1474 ((", path =.* }") "}\n"))
1476 (home-page "https://github.com/retep998/winapi-rs")
1477 (synopsis "Function definitions for the Windows API library kernel32")
1478 (description "Contains function definitions for the Windows API library
1480 (license license:expat)))
1482 (define-public rust-language-tags
1484 (name "rust-language-tags")
1489 (uri (crate-uri "language-tags" version))
1490 (file-name (string-append name "-" version ".tar.gz"))
1493 "16hrjdpa827carq5x4b8zhas24d8kg4s16m6nmmn1kb7cr5qh7d9"))))
1494 (build-system cargo-build-system)
1497 (("rust-heapsize" ,rust-heapsize-0.3))
1498 #:cargo-development-inputs
1499 (("rust-heapsize-plugin" ,rust-heapsize-plugin))))
1500 (home-page "https://github.com/pyfisch/rust-language-tags")
1501 (synopsis "Language tags for Rust")
1503 "Language tags can be used identify human languages, scripts e.g. Latin
1504 script, countries and other regions. They are commonly used in HTML and HTTP
1505 @code{Content-Language} and @code{Accept-Language} header fields. This package
1506 currently supports parsing (fully conformant parser), formatting and comparing
1508 (license license:expat)))
1510 (define-public rust-lazy-static
1512 (name "rust-lazy-static")
1517 (uri (crate-uri "lazy_static" version))
1518 (file-name (string-append name "-" version ".tar.gz"))
1521 "052ac27w189hrf1j3hz7sga46rp84zl2hqnzyihxv78mgzr2jmxw"))))
1522 (build-system cargo-build-system)
1524 `(#:cargo-inputs (("rust-spin" ,rust-spin))))
1525 (home-page "https://github.com/rust-lang-nursery/lazy-static.rs")
1526 (synopsis "Macro for declaring lazily evaluated statics in Rust")
1528 "This package provides a macro for declaring lazily evaluated statics in
1529 Rust. Using this macro, it is possible to have @code{static}s that require code
1530 to be executed at runtime in order to be initialized. This includes anything
1531 requiring heap allocations, like vectors or hash maps, as well as anything that
1532 requires non-const function calls to be computed.")
1533 (license (list license:asl2.0
1536 (define-public rust-libc
1543 (uri (crate-uri "libc" version))
1545 (string-append name "-" version ".tar.gz"))
1548 "1fh69kpjg8hqff36kdczx7sax98gk4qs4ws1dwvjz0rgip0d5z1l"))))
1549 (build-system cargo-build-system)
1552 (("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core))))
1553 (home-page "https://github.com/rust-lang/libc")
1554 (synopsis "Raw FFI bindings to platform libraries like libc")
1556 "libc provides all of the definitions necessary to easily
1557 interoperate with C code (or \"C-like\" code) on each of the platforms
1558 that Rust supports. This includes type definitions (e.g., c_int),
1559 constants (e.g., EINVAL) as well as function headers (e.g., malloc).
1561 This crate exports all underlying platform types, functions, and
1562 constants under the crate root, so all items are accessible as
1563 @samp{libc::foo}. The types and values of all the exported APIs match
1564 the platform that libc is compiled for.")
1565 (license (list license:expat
1568 (define-public rust-libloading
1570 (name "rust-libloading")
1575 (uri (crate-uri "libloading" version))
1576 (file-name (string-append name "-" version ".tar.gz"))
1579 "0lyply8rcqc8agajzxs7bq6ivba9dnn1i68kgb9z2flnfjh13cgj"))))
1580 (build-system cargo-build-system)
1583 (("rust-cc" ,rust-cc)
1584 ("rust-winapi" ,rust-winapi))))
1585 (home-page "https://github.com/nagisa/rust_libloading/")
1586 (synopsis "Rust library for loading dynamic libraries")
1588 "A memory-safer wrapper around system dynamic library loading primitives.
1589 The most important safety guarantee by this library is prevention of
1590 dangling-Symbols that may occur after a Library is unloaded. Using this library
1591 allows loading dynamic libraries (also known as shared libraries) as well as use
1592 functions and static variables these libraries contain.")
1593 (license license:isc)))
1595 (define-public rust-lock-api
1597 (name "rust-lock-api")
1602 (uri (crate-uri "lock_api" version))
1603 (file-name (string-append name "-" version ".tar.gz"))
1606 "0b24q9mh258xa52ap636q1sxz0j5vrnp0hwbbh7ddjka3wwz3sv2"))))
1607 (build-system cargo-build-system)
1610 (("rust-owning-ref" ,rust-owning-ref)
1611 ("rust-scopeguard" ,rust-scopeguard-0.3))))
1612 (home-page "https://github.com/Amanieu/parking_lot")
1613 (synopsis "Wrappers to create fully-featured Mutex and RwLock types")
1615 "This package provides wrappers to create fully-featured @code{Mutex} and
1616 @code{RwLock} types. It is compatible with @code{no_std}.")
1617 (license (list license:asl2.0
1620 (define-public rust-log
1627 (uri (crate-uri "log" version))
1628 (file-name (string-append name "-" version ".tar.gz"))
1631 "0nsn28syc49vvjhxcfc8261rd1frhjc0r4bn9v3mqvps3ra7f3w8"))))
1632 (build-system cargo-build-system)
1633 (home-page "https://github.com/rust-lang-nursery/log")
1634 (synopsis "Lightweight logging")
1636 "This package provides a lightweight logging facade for Rust")
1637 (license (list license:asl2.0
1640 (define-public rust-lzma-sys
1642 (name "rust-lzma-sys")
1647 (uri (crate-uri "lzma-sys" version))
1648 (file-name (string-append name "-" version ".tar.gz"))
1651 "14gyj256yh0wm77jbvmlc39v7lfn0navpfrja4alczarzlc8ir2k"))))
1652 (build-system cargo-build-system)
1655 (("rust-cc" ,rust-cc)
1656 ("rust-libc" ,rust-libc)
1657 ("rust-pkg-config" ,rust-pkg-config))
1659 (modify-phases %standard-phases
1660 (add-after 'unpack 'unbundle-xz
1661 (lambda* (#:key inputs #:allow-other-keys)
1662 (let ((xz (assoc-ref inputs "xz")))
1663 (delete-file-recursively "xz-5.2"))
1666 `(("pkg-config" ,pkg-config)
1668 (home-page "https://github.com/alexcrichton/xz2-rs")
1669 (synopsis "Bindings to liblzma for lzma and xz stream encoding/decoding")
1671 "This package contains the raw bindings to liblzma which contains an
1672 implementation of LZMA and xz stream encoding/decoding.")
1673 (license (list license:asl2.0
1676 (define-public rust-maplit
1678 (name "rust-maplit")
1683 (uri (crate-uri "maplit" version))
1684 (file-name (string-append name "-" version ".tar.gz"))
1687 "0hsczmvd6zkqgzqdjp5hfyg7f339n68w83n4pxvnsszrzssbdjq8"))))
1688 (build-system cargo-build-system)
1689 (home-page "https://github.com/bluss/maplit")
1690 (synopsis "Collection of Map macros")
1691 (description "This crate provides a collection of @code{literal} macros for
1692 @code{HashMap}, @code{HashSet}, @code{BTreeMap}, and @code{BTreeSet.}")
1693 (license (list license:asl2.0
1696 (define-public rust-matches
1698 (name "rust-matches")
1703 (uri (crate-uri "matches" version))
1704 (file-name (string-append name "-" version ".tar.gz"))
1707 "020axl4q7rk9vz90phs7f8jas4imxal9y9kxl4z4v7a6719mrz3z"))))
1708 (build-system cargo-build-system)
1709 (home-page "https://github.com/SimonSapin/rust-std-candidates")
1710 (synopsis "Macro to evaluate whether an expression matches a pattern.")
1711 (description "This package provides a macro to evaluate, as a boolean,
1712 whether an expression matches a pattern.")
1713 (license license:expat)))
1715 (define-public rust-md5
1722 (uri (crate-uri "md5" version))
1723 (file-name (string-append name "-" version ".tar.gz"))
1726 "17b2xm4h4cvxsdjsf3kdrzqv2za60kak961xzi5kmw6g6djcssvy"))))
1727 (build-system cargo-build-system)
1728 (home-page "https://github.com/stainless-steel/md5")
1729 (synopsis "MD5 hash function in Rust")
1730 (description "The package provides the MD5 hash function.")
1731 (license (list license:asl2.0
1734 (define-public rust-memmap
1736 (name "rust-memmap")
1741 (uri (crate-uri "memmap" version))
1742 (file-name (string-append name "-" version ".tar.gz"))
1745 "0ns7kkd1h4pijdkwfvw4qlbbmqmlmzwlq3g2676dcl5vwyazv1b5"))))
1746 (build-system cargo-build-system)
1749 (("rust-libc" ,rust-libc)
1750 ("rust-winapi" ,rust-winapi))
1751 #:cargo-development-inputs
1752 (("rust-tempdir" ,rust-tempdir))))
1753 (home-page "https://github.com/danburkert/memmap-rs")
1754 (synopsis "Rust library for cross-platform memory mapped IO")
1756 "This package provides a cross-platform Rust API for memory-mapped
1758 (license (list license:asl2.0
1761 (define-public rust-memmap-0.6
1763 (inherit rust-memmap)
1764 (name "rust-memmap")
1769 (uri (crate-uri "memmap" version))
1770 (file-name (string-append name "-" version ".tar.gz"))
1773 "1zy6s0ni0lx9rjzq3gq2zz9r8zgjmbp02332g3gsj4fyhv4s5zz2"))))
1776 (("rust-libc" ,rust-libc)
1777 ("rust-winapi" ,rust-winapi))
1778 #:cargo-development-inputs
1779 (("rust-tempdir" ,rust-tempdir))))))
1781 (define-public rust-mime
1788 (uri (crate-uri "mime" version))
1789 (file-name (string-append name "-" version ".tar.gz"))
1792 "09clbyvdkwflp8anwjhqdib0sw8191gphcchdp80nc8ayhhwl9ry"))))
1793 (build-system cargo-build-system)
1796 (("rust-unicase" ,rust-unicase))))
1797 (home-page "https://github.com/hyperium/mime")
1798 (synopsis "Strongly Typed Mimes")
1800 "Support MIME (HTTP Media Types) as strong types in Rust.")
1801 (license (list license:asl2.0
1804 (define-public rust-miniz-oxide
1806 (name "rust-miniz-oxide")
1811 (uri (crate-uri "miniz_oxide" version))
1812 (file-name (string-append name "-" version ".tar.gz"))
1815 "041s41l5w7z8pkp93pdzn8rngxr93q4wxp034pr0cvc7bgway23i"))))
1816 (build-system cargo-build-system)
1819 (("rust-adler32" ,rust-adler32))
1821 (modify-phases %standard-phases
1822 (add-after 'unpack 'fix-tests
1824 (substitute* "tests/test.rs"
1825 (("../miniz/miniz.c") "Cargo.toml"))
1827 (home-page "https://github.com/Frommi/miniz_oxide/tree/master/miniz_oxide")
1828 (synopsis "Pure rust replacement for the miniz DEFLATE/zlib encoder/decoder")
1830 "A pure rust replacement for the miniz DEFLATE/zlib encoder/decoder. Using
1831 @code{flate2} with the @code{rust_backend} feature provides an easy to use
1832 streaming API for miniz_oxide.")
1833 (license license:expat)))
1835 (define-public rust-miniz-sys
1837 (name "rust-miniz-sys")
1842 (uri (crate-uri "miniz-sys" version))
1843 (file-name (string-append name "-" version ".tar.gz"))
1846 "00l2r4anm8g35x0js2zfdnwfbrih9m43vphdpb77c5ga3kjkm7hy"))))
1847 (build-system cargo-build-system)
1850 (("rust-cc" ,rust-cc)
1851 ("rust-libc" ,rust-libc))))
1852 (home-page "https://github.com/alexcrichton/flate2-rs")
1853 (synopsis "Bindings to the miniz.c library")
1855 "This package provides bindings to the @code{miniz.c} library.")
1856 (license (list license:asl2.0
1859 (define-public rust-miow
1866 (uri (crate-uri "miow" version))
1867 (file-name (string-append name "-" version ".tar.gz"))
1870 "09ljvx6wg30f2xlv7b7hhpkw7k312n3hjgmrbhwzhz9x03ra0sir"))))
1871 (build-system cargo-build-system)
1874 (("rust-socket2" ,rust-socket2)
1875 ("rust-winapi" ,rust-winapi))
1876 #:cargo-development-inputs
1877 (("rust-rand" ,rust-rand))))
1878 (home-page "https://github.com/alexcrichton/miow")
1879 (synopsis "Rust I/O library for Windows")
1881 "This package provides a zero overhead I/O library for Windows, focusing on
1882 IOCP and Async I/O abstractions.")
1883 (license (list license:asl2.0
1886 (define-public rust-miow-0.2
1894 (uri (crate-uri "miow" version))
1895 (file-name (string-append name "-" version ".tar.gz"))
1898 "06g9b8sqlh5gxakwqq4rrib07afwanfnxgxajrldwcgk3hxjy7wc"))))
1901 (("rust-kernel32-sys" ,rust-kernel32-sys)
1902 ("rust-net2" ,rust-net2)
1903 ("rust-winapi" ,rust-winapi-0.2)
1904 ("rust-ws2-32-sys" ,rust-ws2-32-sys))
1905 #:cargo-development-inputs
1906 (("rust-rand" ,rust-rand-0.3))))))
1908 (define-public rust-modifier
1910 (name "rust-modifier")
1915 (uri (crate-uri "modifier" version))
1916 (file-name (string-append name "-" version ".tar.gz"))
1919 "0n3fmgli1nsskl0whrfzm1gk0rmwwl6pw1q4nb9sqqmn5h8wkxa1"))))
1920 (build-system cargo-build-system)
1921 (home-page "https://github.com/reem/rust-modifier")
1923 "Chaining APIs for both self -> Self and &mut self methods.")
1925 "Chaining APIs for both self -> Self and &mut self methods.")
1926 (license license:expat)))
1928 (define-public rust-net2
1935 (uri (crate-uri "net2" version))
1936 (file-name (string-append name "-" version ".tar.gz"))
1939 "126g3fgfxp06zimc1l9iyxnn9cif1hjsg7sd81nlls5nnyghsma2"))))
1940 (build-system cargo-build-system)
1943 (("rust-cfg-if" ,rust-cfg-if)
1944 ("rust-libc" ,rust-libc)
1945 ("rust-winapi" ,rust-winapi))))
1946 (home-page "https://github.com/rust-lang-nursery/net2-rs")
1947 (synopsis "Extensions to the standard library's networking types")
1949 "This library contains extensions to the standard library's networking
1950 types as proposed in RFC 1158.")
1951 (license (list license:asl2.0
1954 (define-public rust-netlib-src
1956 (name "rust-netlib-src")
1961 (uri (crate-uri "netlib-src" version))
1962 (file-name (string-append name "-" version ".tar.gz"))
1965 "112hwfw1zzdj10h3j213xxqjrq38iygb3nb3ijay65ycmrg819s4"))))
1966 (build-system cargo-build-system)
1968 `(#:cargo-development-inputs
1969 (("rust-cmake" ,rust-cmake)
1970 ("rust-libc" ,rust-libc))
1972 (modify-phases %standard-phases
1973 (add-after 'unpack 'use-system-lapack
1975 (delete-file-recursively "source")
1976 (substitute* "Cargo.toml"
1978 "default = [\"system\"]\n"))
1981 `(("gfortran:lib" ,gfortran "lib")
1982 ("lapack" ,lapack)))
1983 (home-page "https://github.com/blas-lapack-rs/netlib-src")
1984 (synopsis "Source of BLAS and LAPACK via Netlib")
1986 "The package provides a source of BLAS and LAPACK via Netlib.")
1987 (license (list license:asl2.0
1990 (define-public rust-libnghttp2-sys
1992 (name "rust-libnghttp2-sys")
1997 (uri (crate-uri "libnghttp2-sys" version))
1998 (file-name (string-append name "-" version ".tar.gz"))
2001 "0qr4lyh7righx9n22c7amlcpk906rn1jnb2zd6gdfpa3yi24s982"))))
2002 (build-system cargo-build-system)
2005 (("rust-libc" ,rust-libc))
2006 #:cargo-development-inputs
2007 (("rust-cc" ,rust-cc))))
2009 `(("nghttp2" ,nghttp2)))
2010 (home-page "https://github.com/alexcrichton/nghttp2-rs")
2011 (synopsis "FFI bindings for libnghttp2 (nghttp2)")
2013 "This package provides FFI bindings for libnghttp2 (nghttp2).")
2014 (license (list license:asl2.0
2017 (define-public rust-libz-sys
2019 (name "rust-libz-sys")
2024 (uri (crate-uri "libz-sys" version))
2025 (file-name (string-append name "-" version ".tar.gz"))
2028 "1gjycyl2283525abks98bhxa4r259m617xfm5z52p3p3c8ry9d9f"))))
2029 (build-system cargo-build-system)
2032 (("rust-libc" ,rust-libc)
2033 ("rust-cc" ,rust-cc)
2034 ("rust-pkg-config" ,rust-pkg-config)
2035 ("rust-vcpkg" ,rust-vcpkg))
2037 (modify-phases %standard-phases
2038 (add-after 'unpack 'delete-vendored-zlib
2040 (delete-file-recursively "src/zlib")
2043 `(("pkg-config" ,pkg-config)
2045 (home-page "https://github.com/rust-lang/libz-sys")
2046 (synopsis "Bindings to the system libz library")
2048 "This package provides bindings to the system @code{libz} library (also
2050 (license (list license:asl2.0
2053 (define-public rust-nodrop
2055 (name "rust-nodrop")
2060 (uri (crate-uri "nodrop" version))
2061 (file-name (string-append name "-" version ".tar.gz"))
2064 "0if9ifn6rvar5jirx4b3qh4sl5kjkmcifycvzhxa9j3crkfng5ig"))))
2065 (build-system cargo-build-system)
2068 (("rust-nodrop-union" ,rust-nodrop-union))))
2069 (home-page "https://github.com/bluss/arrayvec")
2070 (synopsis "Wrapper type to inhibit drop (destructor)")
2071 (description "This package provides a wrapper type to inhibit drop
2072 (destructor). Use @code{std::mem::ManuallyDrop} instead!")
2073 (license (list license:asl2.0
2076 ;; This package requires features which are unavailable
2077 ;; on the stable releases of Rust.
2078 (define-public rust-nodrop-union
2080 (name "rust-nodrop-union")
2085 (uri (crate-uri "nodrop-union" version))
2086 (file-name (string-append name "-" version ".tar.gz"))
2089 "0jsnkdn9l8jlmb9h4wssi76sxnyxwnyi00p6y1p2gdq7c1gdw2b7"))))
2090 (build-system cargo-build-system)
2091 (home-page "https://github.com/bluss/arrayvec")
2092 (synopsis "Wrapper type to inhibit drop (destructor)")
2093 (description "This package provides a wrapper type to inhibit drop
2094 (destructor). Implementation crate for nodrop, the untagged unions
2095 implementation (which is unstable / requires nightly).")
2096 (properties '((hidden? . #t)))
2097 (license (list license:asl2.0
2100 (define-public rust-num-cpus
2102 (name "rust-num-cpus")
2107 (uri (crate-uri "num_cpus" version))
2108 (file-name (string-append name "-" version ".tar.gz"))
2111 "0wrj3zvj6h3q26sqj9zxpd59frjb54n7jhjwf307clq31ic47vxw"))))
2112 (build-system cargo-build-system)
2115 (("rust-libc" ,rust-libc))
2116 #:cargo-development-inputs
2117 (("rust-doc-comment" ,rust-doc-comment))))
2118 (home-page "https://github.com/seanmonstar/num_cpus")
2119 (synopsis "Get the number of CPUs on a machine")
2121 "Get the number of CPUs on a machine.")
2122 (license (list license:asl2.0
2125 (define-public rust-num-integer
2127 (name "rust-num-integer")
2132 (uri (crate-uri "num-integer" version))
2134 (string-append name "-" version ".tar.gz"))
2137 "02dwjjpfbi16c71fq689s4sw3ih52cvfzr5z5gs6qpr5z0g58pmq"))))
2138 (build-system cargo-build-system)
2141 (("rust-autocfg" ,rust-autocfg)
2142 ("rust-num-traits" ,rust-num-traits))))
2143 (home-page "https://github.com/rust-num/num-integer")
2144 (synopsis "Integer traits and functions")
2145 (description "Integer traits and functions.")
2147 (license (list license:asl2.0
2150 (define-public rust-num-iter
2152 (name "rust-num-iter")
2157 (uri (crate-uri "num-iter" version))
2158 (file-name (string-append name "-" version ".tar.gz"))
2161 "0bhk2qbr3261r6zvfc58lz4spfqjhvdripxgz5mks5rd85r55gbn"))))
2162 (build-system cargo-build-system)
2165 (("rust-num-integer" ,rust-num-integer)
2166 ("rust-num-traits" ,rust-num-traits))
2167 #:cargo-development-inputs
2168 (("rust-autocfg" ,rust-autocfg))))
2169 (home-page "https://github.com/rust-num/num-iter")
2170 (synopsis "External iterators for generic mathematics")
2172 "This crate provides external iterators for generic mathematics.")
2173 (license (list license:asl2.0
2176 (define-public rust-num-traits
2178 (name "rust-num-traits")
2183 (uri (crate-uri "num-traits" version))
2185 (string-append name "-" version ".tar.gz"))
2188 "0clvrm34rrqc8p6gq5ps5fcgws3kgq5knh7nlqxf2ayarwks9abb"))))
2189 (build-system cargo-build-system)
2192 (("rust-autocfg" ,rust-autocfg))))
2193 (home-page "https://github.com/rust-num/num-traits")
2194 (synopsis "Numeric traits for generic mathematics")
2195 (description "Numeric traits for generic mathematics.")
2197 (license (list license:asl2.0
2200 (define-public rust-num-traits-0.1
2202 (inherit rust-num-traits)
2203 (name "rust-num-traits")
2208 (uri (crate-uri "num-traits" version))
2209 (file-name (string-append name "-" version ".tar.gz"))
2212 "0c9whknf2dm74a3cqirafy6gj83a76gl56g4v3g19k6lkwz13rcj"))))
2213 (build-system cargo-build-system)
2216 (("rust-num-traits" ,rust-num-traits))))))
2218 (define-public rust-openssl-probe
2220 (name "rust-openssl-probe")
2225 (uri (crate-uri "openssl-probe" version))
2226 (file-name (string-append name "-" version ".tar.gz"))
2229 "1pijrdifgsdwd45b08c2g0dsmnhz7c3kmagb70839ngrd7d29bvp"))))
2230 (build-system cargo-build-system)
2231 (home-page "https://github.com/alexcrichton/openssl-probe")
2232 (synopsis "Find SSL certificate locations")
2234 "This package provides a tool to find SSL certificate locations on the
2235 system for OpenSSL.")
2236 (license (list license:asl2.0
2239 (define-public rust-openssl-src
2241 (name "rust-openssl-src")
2242 (version "111.6.0+1.1.1d")
2246 (uri (crate-uri "openssl-src" version))
2247 (file-name (string-append name "-" version ".tar.gz"))
2250 "172xh95hp7aygahah1940kg1dnx60c5m80cwj5hgi8x7x0fxmhmr"))))
2251 (build-system cargo-build-system)
2253 `(#:cargo-inputs (("rust-cc" ,rust-cc))))
2254 (home-page "https://github.com/alexcrichton/openssl-src-rs")
2255 (synopsis "Source of OpenSSL for rust crates")
2257 "This package contains the source of OpenSSL and logic to build it.")
2258 (license (list license:asl2.0
2261 (define-public rust-openssl-sys
2263 (name "rust-openssl-sys")
2268 (uri (crate-uri "openssl-sys" version))
2269 (file-name (string-append name "-" version ".tar.gz"))
2272 "1168vivyqbzaxl48bvv9r1x714c03f5c1za8pv5x8fyj9gjxkypl"))))
2273 (build-system cargo-build-system)
2276 (("rust-autocfg" ,rust-autocfg)
2277 ("rust-libc" ,rust-libc))
2278 #:cargo-development-inputs
2279 (("rust-autocfg" ,rust-autocfg)
2280 ("rust-cc" ,rust-cc)
2281 ("rust-openssl-src" ,rust-openssl-src)
2282 ("rust-pkg-config" ,rust-pkg-config)
2283 ("rust-vcpkg" ,rust-vcpkg))
2285 (modify-phases %standard-phases
2286 (add-after 'unpack 'find-openssl
2287 (lambda* (#:key inputs #:allow-other-keys)
2288 (let ((openssl (assoc-ref inputs "openssl")))
2289 (setenv "OPENSSL_DIR" openssl))
2292 `(("openssl" ,openssl)
2293 ("pkg-config" ,pkg-config)))
2294 (home-page "https://github.com/sfackler/rust-openssl")
2295 (synopsis "FFI bindings to OpenSSL")
2297 "This package provides FFI bindings to OpenSSL for use in rust crates.")
2298 (license license:expat)))
2300 (define-public rust-owning-ref
2302 (name "rust-owning-ref")
2307 (uri (crate-uri "owning_ref" version))
2308 (file-name (string-append name "-" version ".tar.gz"))
2311 "04zgwy77lin8qz398s6g44467pd6kjhbrlqifkia5rkr47mbi929"))))
2312 (build-system cargo-build-system)
2315 (("rust-stable-deref-trait" ,rust-stable-deref-trait))))
2316 (home-page "https://github.com/Kimundi/owning-ref-rs")
2317 (synopsis "Create references that carry their owner with them")
2319 "This package provides a library for creating references that carry their
2320 owner with them. This can sometimes be useful because Rust borrowing rules
2321 normally prevent moving a type that has been borrowed from.")
2322 (license license:expat)))
2324 (define-public rust-parity-wasm
2326 (name "rust-parity-wasm")
2331 (uri (crate-uri "parity-wasm" version))
2332 (file-name (string-append name "-" version ".tar.gz"))
2335 "1p84f0k36q05j18jy66n122lyali794cj78hbxgy9wj6si84plqd"))))
2336 (build-system cargo-build-system)
2338 `(#:cargo-development-inputs
2339 (("rust-time" ,rust-time))
2340 #:tests? #f)) ; Test files are not included in release.
2341 (home-page "https://github.com/paritytech/parity-wasm")
2342 (synopsis "Low-level WebAssembly format library")
2344 "This package provides a WebAssembly binary format serialization,
2345 deserialization, and interpreter in Rust.")
2346 (license (list license:asl2.0
2349 (define-public rust-peeking-take-while
2351 (name "rust-peeking-take-while")
2356 (uri (crate-uri "peeking_take_while" version))
2357 (file-name (string-append name "-" version ".tar.gz"))
2360 "16bhqr6rdyrp12zv381cxaaqqd0pwysvm1q8h2ygihvypvfprc8r"))))
2361 (build-system cargo-build-system)
2362 (home-page "https://github.com/fitzgen/peeking_take_while")
2363 (synopsis "Provides the peeking_take_while iterator adaptor method")
2365 "Like @code{Iterator::take_while}, but calls the predicate on a peeked
2366 value. This allows you to use @code{Iterator::by_ref} and
2367 @code{Iterator::take_while} together, and still get the first value for which
2368 the @code{take_while} predicate returned false after dropping the @code{by_ref}.")
2369 (license (list license:asl2.0
2372 (define-public rust-percent-encoding
2374 (name "rust-percent-encoding")
2379 (uri (crate-uri "percent-encoding" version))
2380 (file-name (string-append name "-" version ".tar.gz"))
2383 "0bp3zrsk3kr47fbpipyczidbbx4g54lzxdm77ni1i3qws10mdzfl"))))
2384 (build-system cargo-build-system)
2385 (home-page "https://github.com/servo/rust-url/")
2386 (synopsis "Percent encoding and decoding")
2387 (description "This crate provides percent encoding and decoding.")
2388 (license (list license:asl2.0
2391 (define-public rust-percent-encoding-1
2393 (inherit rust-percent-encoding)
2394 (name "rust-percent-encoding")
2399 (uri (crate-uri "percent-encoding" version))
2400 (file-name (string-append name "-" version ".tar.gz"))
2403 "0cgq08v1fvr6bs5fvy390cz830lq4fak8havdasdacxcw790s09i"))))))
2405 (define-public rust-permutohedron
2407 (name "rust-permutohedron")
2412 (uri (crate-uri "permutohedron" version))
2413 (file-name (string-append name "-" version ".tar.gz"))
2416 "0b1pzh48j86v46wxngch6k1kx9cdw3jr3lwa86gd6jd4bmxzz1xn"))))
2417 (build-system cargo-build-system)
2418 (home-page "https://github.com/bluss/permutohedron")
2419 (synopsis "Generate permutations of sequences")
2421 "Generate permutations of sequences. Either lexicographical order
2422 permutations, or a minimal swaps permutation sequence implemented using Heap's
2424 (license (list license:asl2.0
2427 (define-public rust-pico-sys
2429 (name "rust-pico-sys")
2434 (uri (crate-uri "pico-sys" version))
2435 (file-name (string-append name "-" version ".tar.gz"))
2438 "1q5pg0ms6szz6b5h26h4k40zb76zbwwjgyigac4wly9qngdj4yl5"))))
2439 (build-system cargo-build-system)
2442 (("rust-gcc" ,rust-gcc)
2443 ("rust-libc" ,rust-libc))))
2444 (home-page "https://github.com/reem/rust-pico-sys")
2445 (synopsis "Bindings to the PicoHTTPParser")
2447 "This package provides bindings to the PicoHTTPParser.")
2448 (license license:expat)))
2450 (define-public rust-pin-utils
2452 (name "rust-pin-utils")
2453 (version "0.1.0-alpha.4")
2457 (uri (crate-uri "pin-utils" version))
2458 (file-name (string-append name "-" version ".tar.gz"))
2461 "11xmyx00n4m37d546by2rxb8ryxs12v55cc172i3yak1rqccd52q"))))
2462 (build-system cargo-build-system)
2463 (home-page "https://github.com/rust-lang-nursery/pin-utils")
2464 (synopsis "Utilities for pinning")
2465 (description "This crate provides utilities for pinning values on the stack.")
2466 (license (list license:asl2.0
2469 (define-public rust-pkg-config
2471 (name "rust-pkg-config")
2476 (uri (crate-uri "pkg-config" version))
2477 (file-name (string-append name "-" version ".tar.gz"))
2480 "135ia995lqzr0gxpk85h0bjxf82kj6hbxdx924sh9jdln6r8wvk7"))))
2481 (build-system cargo-build-system)
2483 `(#:cargo-development-inputs
2484 (("rust-lazy-static" ,rust-lazy-static))))
2486 `(("pkg-config" ,pkg-config)))
2487 (home-page "https://github.com/rust-lang/pkg-config-rs")
2488 (synopsis "Library to run the pkg-config system tool")
2490 "A library to run the pkg-config system tool at build time in order to be
2491 used in Cargo build scripts.")
2492 (license (list license:asl2.0
2495 (define-public rust-plain
2502 (uri (crate-uri "plain" version))
2503 (file-name (string-append name "-" version ".tar.gz"))
2506 "19n1xbxb4wa7w891268bzf6cbwq4qvdb86bik1z129qb0xnnnndl"))))
2507 (build-system cargo-build-system)
2508 (home-page "https://github.com/randomites/plain")
2509 (synopsis "Rust library that allows reinterpreting data safely")
2510 (description "This package provides a small Rust library that allows users
2511 to reinterpret data of certain types safely.")
2512 (license (list license:asl2.0
2515 (define-public rust-plugin
2517 (name "rust-plugin")
2522 (uri (crate-uri "plugin" version))
2523 (file-name (string-append name "-" version ".tar.gz"))
2526 "1q7nghkpvxxr168y2jnzh3w7qc9vfrby9n7ygy3xpj0bj71hsshs"))))
2527 (build-system cargo-build-system)
2530 (("rust-typemap" ,rust-typemap))
2531 #:cargo-development-inputs
2532 (("rust-void" ,rust-void))))
2533 (home-page "https://github.com/reem/rust-plugin")
2534 (synopsis "Lazily evaluated, order-independent plugins for extensible types")
2536 "Lazily evaluated, order-independent plugins for extensible types.")
2537 (license license:expat)))
2539 (define-public rust-pocket-resources
2541 (name "rust-pocket-resources")
2546 (uri (crate-uri "pocket-resources" version))
2547 (file-name (string-append name "-" version ".tar.gz"))
2550 "1n2i5vmi8fdbw89wm5nz1ws1z9f1qax911p6ksg4scmdg23z6df1"))))
2551 (build-system cargo-build-system)
2552 (home-page "https://github.com/tomaka/pocket-resources")
2553 (synopsis "Include resources in your applications")
2554 (description "This crate allows you to include resources in your
2556 (license license:expat)))
2558 (define-public rust-ppv-lite86
2560 (name "rust-ppv-lite86")
2565 (uri (crate-uri "ppv-lite86" version))
2566 (file-name (string-append name "-" version ".tar.gz"))
2569 "06snnv338w341nicfqba2jgln5dsla72ndkgrw7h1dfdb3vgkjz3"))))
2570 (build-system cargo-build-system)
2571 (home-page "https://github.com/cryptocorrosion/cryptocorrosion")
2572 (synopsis "Implementation of the crypto-simd API for x86")
2573 (description "This crate provides an implementation of the crypto-simd API
2575 (license (list license:asl2.0
2578 (define-public rust-proc-macro2
2580 (name "rust-proc-macro2")
2585 (uri (crate-uri "proc-macro2" version))
2587 (string-append name "-" version ".tar.gz"))
2590 "0nd71fl24sys066jrha6j7i34nfkjv44yzw8yww9742wmc8j0gfg"))))
2591 (build-system cargo-build-system)
2593 `(#:cargo-inputs (("rust-unicode-xid" ,rust-unicode-xid-0.1))
2594 #:cargo-development-inputs (("rust-quote" ,rust-quote))))
2595 (home-page "https://github.com/alexcrichton/proc-macro2")
2596 (synopsis "Stable implementation of the upcoming new `proc_macro` API")
2597 (description "This package provides a stable implementation of the upcoming new
2598 `proc_macro` API. Comes with an option, off by default, to also reimplement itself
2599 in terms of the upstream unstable API.")
2601 (license (list license:asl2.0 license:expat))))
2603 (define-public rust-quick-error
2605 (name "rust-quick-error")
2610 (uri (crate-uri "quick-error" version))
2611 (file-name (string-append name "-" version ".tar.gz"))
2614 "1w6kgwwv7p7zr0yyg5rb315lkk24bimywklwx7fsvsbwi10bjx4j"))))
2615 (build-system cargo-build-system)
2616 (home-page "https://github.com/tailhook/quick-error")
2617 (synopsis "Macro which makes error types pleasant to write")
2618 (description "This crate provides a macro which makes error types pleasant
2620 (license (list license:asl2.0
2623 (define-public rust-quote
2630 (uri (crate-uri "quote" version))
2632 (string-append name "-" version ".tar.gz"))
2635 "1nw0klza45hf127kfyrpxsxd5jw2l6h21qxalil3hkr7bnf7kx7s"))))
2636 (build-system cargo-build-system)
2638 `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2))))
2639 (home-page "https://github.com/dtolnay/quote")
2640 (synopsis "Quasi-quoting macro quote!(...)")
2641 (description "Quasi-quoting macro quote!(...)")
2643 (license (list license:asl2.0 license:expat))))
2645 (define-public rust-rand
2652 (uri (crate-uri "rand" version))
2653 (file-name (string-append name "-" version ".tar.gz"))
2656 "1gfgnqfj2pyh27dcb720jpawskllwnbvxh816ddyykv269xz8ml3"))))
2657 (build-system cargo-build-system)
2660 (("rust-fuchsia-zircon" ,rust-fuchsia-zircon)
2661 ("rust-libc" ,rust-libc)
2662 ("rust-winapi" ,rust-winapi))))
2663 (home-page "https://crates.io/crates/rand")
2664 (synopsis "Random number generators and other randomness functionality")
2666 "Rand provides utilities to generate random numbers, to convert them to
2667 useful types and distributions, and some randomness-related algorithms.")
2668 (license (list license:asl2.0
2671 (define-public rust-rand-0.3
2679 (uri (crate-uri "rand" version))
2680 (file-name (string-append name "-" version ".tar.gz"))
2683 "0v679h38pjjqj5h4md7v2slsvj6686qgcn7p9fbw3h43iwnk1b34"))))
2686 (("rust-libc" ,rust-libc)
2687 ("rust-rand" ,rust-rand))))))
2689 (define-public rust-rawpointer
2691 (name "rust-rawpointer")
2696 (uri (crate-uri "rawpointer" version))
2697 (file-name (string-append name "-" version ".tar.gz"))
2700 "06ghpm9y7gacks78s3maakha07kbnwrxif5q37r2l7z1sali3b7b"))))
2701 (build-system cargo-build-system)
2702 (home-page "https://github.com/bluss/rawpointer/")
2703 (synopsis "Extra methods for raw pointers")
2704 (description "Extra methods for raw pointers. For example
2705 @code{.post_inc()} and @code{.pre_dec()} (c.f. @code{ptr++} and @code{--ptr})
2706 and @code{ptrdistance}.")
2707 (license (list license:asl2.0
2710 ;; This package requires features which are unavailable
2711 ;; on the stable releases of Rust.
2712 (define-public rust-redox-syscall ; guix upstreamable
2714 (name "rust-redox-syscall")
2719 (uri (crate-uri "redox_syscall" version))
2720 (file-name (string-append name "-" version ".tar.gz"))
2723 "110y7dyfm2vci4x5vk7gr0q551dvp31npl99fnsx2fb17wzwcf94"))))
2724 (build-system cargo-build-system)
2725 (home-page "https://gitlab.redox-os.org/redox-os/syscall")
2726 (synopsis "Rust library to access raw Redox system calls")
2727 (description "This package provides a Rust library to access raw Redox
2729 (properties '((hidden? . #t)))
2730 (license license:expat)))
2732 (define-public rust-regex-syntax
2734 (name "rust-regex-syntax")
2739 (uri (crate-uri "regex-syntax" version))
2740 (file-name (string-append name "-" version ".tar.gz"))
2743 "0p47lf38yj2g2fnmvnraccqlxwk35zr76hlnqi8yva932nzqam6d"))))
2744 (build-system cargo-build-system)
2747 (("rust-ucd-util" ,rust-ucd-util))))
2748 (home-page "https://github.com/rust-lang/regex")
2749 (synopsis "Regular expression parser")
2751 "This package provides a regular expression parser.")
2752 (license (list license:asl2.0
2755 (define-public rust-remove-dir-all
2757 (name "rust-remove-dir-all")
2762 (uri (crate-uri "remove_dir_all" version))
2763 (file-name (string-append name "-" version ".tar.gz"))
2766 "0bkrlyg26mgizpiy1yb2hhpgscxcag8r5fnckqsvk25608vzm0sa"))))
2767 (build-system cargo-build-system)
2770 (("rust-winapi" ,rust-winapi))
2771 #:cargo-development-inputs
2772 (("rust-doc-comment" ,rust-doc-comment))
2774 (modify-phases %standard-phases
2775 (add-after 'unpack 'fix-source
2776 ;; The test phase expects there to be a README.md in the root directory.
2778 (invoke "touch" "README.md"))))))
2779 (home-page "https://github.com/XAMPPRocky/remove_dir_all")
2780 (synopsis "Implementation of remove_dir_all for Windows")
2782 "This package provides a safe, reliable implementation of
2783 @code{remove_dir_all} for Windows")
2784 (license (list license:asl2.0
2787 (define-public rust-resolv-conf
2789 (name "rust-resolv-conf")
2794 (uri (crate-uri "resolv-conf" version))
2795 (file-name (string-append name "-" version ".tar.gz"))
2798 "1jvdsmksdf6yiipm3aqahyv8n1cjd7wqc8sa0p0gzsax3fmb8qxj"))))
2799 (build-system cargo-build-system)
2802 (("rust-quick-error" ,rust-quick-error)
2803 ("rust-hostname" ,rust-hostname))
2804 #:cargo-test-flags '("--release" "--lib" "--examples"))) ; doc tests fail
2805 (home-page "https://github.com/tailhook/resolv-conf")
2806 (synopsis "/etc/resolv.conf parser")
2808 "An /etc/resolv.conf parser crate for Rust.")
2809 (license (list license:asl2.0
2812 (define-public rust-rustc-demangle
2814 (name "rust-rustc-demangle")
2819 (uri (crate-uri "rustc-demangle" version))
2820 (file-name (string-append name "-" version ".tar.gz"))
2823 "10qp42sl1wrdbgbbh8rnay2grm976z7hqgz32c4y09l1c071qsac"))))
2824 (build-system cargo-build-system)
2827 (("rust-compiler-builtins"
2828 ,rust-compiler-builtins)
2829 ("rust-rustc-std-workspace-core"
2830 ,rust-rustc-std-workspace-core))))
2831 (home-page "https://github.com/alexcrichton/rustc-demangle")
2832 (synopsis "Rust compiler symbol demangling")
2834 "This package demanges the symbols from the Rust compiler.")
2835 (license (list license:asl2.0
2838 (define-public rust-rustc-hash
2840 (name "rust-rustc-hash")
2845 (uri (crate-uri "rustc-hash" version))
2846 (file-name (string-append name "-" version ".tar.gz"))
2849 "114bf72466bl63i5hh8fgqfnhihs0w1m9c9jz505095agfixnvg0"))))
2850 (build-system cargo-build-system)
2851 (home-page "https://github.com/rust-lang-nursery/rustc-hash")
2852 (synopsis "Speedy, non-cryptographic hash used in rustc")
2854 "This package provides a speedy, non-cryptographic hash used in rustc.")
2855 (license (list license:asl2.0
2858 (define-public rust-rustc-serialize
2860 (name "rust-rustc-serialize")
2865 (uri (crate-uri "rustc-serialize" version))
2866 (file-name (string-append name "-" version ".tar.gz"))
2869 "1nkg3vasg7nk80ffkazizgiyv3hb1l9g3d8h17cajbkx538jiwfw"))))
2870 (build-system cargo-build-system)
2872 `(#:cargo-development-inputs
2873 (("rust-rand" ,rust-rand-0.3))))
2874 (home-page "https://github.com/rust-lang-deprecated/rustc-serialize")
2875 (synopsis "Generic serialization/deserialization support")
2877 "This package provides generic serialization/deserialization support
2878 corresponding to the @code{derive(RustcEncodable, RustcDecodable)} mode in the
2879 compiler. Also includes support for hex, base64, and json encoding and
2881 (license (list license:asl2.0
2884 (define-public rust-rustc-std-workspace-core
2886 (name "rust-rustc-std-workspace-core")
2891 (uri (crate-uri "rustc-std-workspace-core" version))
2892 (file-name (string-append name "-" version ".tar.gz"))
2895 "1309xhwyai9xpz128xrfjqkmnkvgjwddznmj7brbd8i8f58zamhr"))))
2896 (build-system cargo-build-system)
2897 (home-page "https://crates.io/crates/rustc-std-workspace-core")
2898 (synopsis "Explicitly empty crate for rust-lang/rust integration")
2899 (description "This crate provides an explicitly empty crate for
2900 rust-lang/rust integration.")
2901 (license (list license:asl2.0
2904 (define-public rust-safemem
2906 (name "rust-safemem")
2911 (uri (crate-uri "safemem" version))
2912 (file-name (string-append name "-" version ".tar.gz"))
2915 "1l1ljkm4lpyryrv2ndaxi1f7z1f3v9bwy1rzl9f9mbhx04iq9c6j"))))
2916 (build-system cargo-build-system)
2917 (home-page "https://github.com/abonander/safemem")
2918 (synopsis "Safe wrappers for memory-accessing functions")
2920 "Safe wrappers for memory-accessing functions, like @code{std::ptr::copy()}.")
2921 (license (list license:asl2.0
2924 (define-public rust-same-file
2926 (name "rust-same-file")
2931 (uri (crate-uri "same-file" version))
2932 (file-name (string-append name "-" version ".tar.gz"))
2935 "08a4zy10pjindf2rah320s6shgswk13mqw7s61m8i1y1xpf8spjq"))))
2936 (build-system cargo-build-system)
2939 (("rust-winapi-util" ,rust-winapi-util))))
2940 (home-page "https://github.com/BurntSushi/same-file")
2941 (synopsis "Determine whether two file paths point to the same file")
2943 "This package provides a simple crate for determining whether two file
2944 paths point to the same file.")
2945 (license (list license:unlicense
2948 (define-public rust-schannel
2950 (name "rust-schannel")
2955 (uri (crate-uri "schannel" version))
2956 (file-name (string-append name "-" version ".tar.gz"))
2959 "0f9k4pm8yc3z0n1n8hazvnrvg52f0sfxjc91bhf3r76rb3rapxpj"))))
2960 (build-system cargo-build-system)
2963 (("rust-lazy-static" ,rust-lazy-static)
2964 ("rust-winapi" ,rust-winapi))))
2965 (home-page "https://github.com/steffengy/schannel-rs")
2966 (synopsis "Rust bindings to the Windows SChannel APIs")
2968 "Rust bindings to the Windows SChannel APIs providing TLS client and
2969 server functionality.")
2970 (license license:expat)))
2972 (define-public rust-scoped-threadpool
2974 (name "rust-scoped-threadpool")
2979 (uri (crate-uri "scoped_threadpool" version))
2980 (file-name (string-append name "-" version ".tar.gz"))
2983 "1a26d3lk40s9mrf4imhbik7caahmw2jryhhb6vqv6fplbbgzal8x"))))
2984 (build-system cargo-build-system)
2986 `(#:cargo-development-inputs
2987 (("rust-lazy-static" ,rust-lazy-static))))
2988 (home-page "https://github.com/Kimundi/scoped-threadpool-rs")
2989 (synopsis "library for scoped and cached threadpools")
2991 "This crate provides a stable, safe and scoped threadpool. It can be used
2992 to execute a number of short-lived jobs in parallel without the need to respawn
2993 the underlying threads. Jobs are runnable by borrowing the pool for a given
2994 scope, during which an arbitrary number of them can be executed. These jobs can
2995 access data of any lifetime outside of the pools scope, which allows working on
2996 non-'static references in parallel.")
2997 (license (list license:asl2.0
3000 (define-public rust-scoped-tls
3002 (name "rust-scoped-tls")
3007 (uri (crate-uri "scoped-tls" version))
3008 (file-name (string-append name "-" version ".tar.gz"))
3011 "1hj8lifzvivdb1z02lfnzkshpvk85nkgzxsy2hc0zky9wf894spa"))))
3012 (build-system cargo-build-system)
3013 (home-page "https://github.com/alexcrichton/scoped-tls")
3014 (synopsis "Rust library providing the old standard library's scoped_thread_local")
3015 (description "This crate provides a library implementation of the standard
3016 library's old @code{scoped_thread_local!} macro for providing scoped access to
3017 @dfn{thread local storage} (TLS) so any type can be stored into TLS.")
3018 (license (list license:asl2.0
3021 (define-public rust-scoped-tls-0.1
3023 (inherit rust-scoped-tls)
3024 (name "rust-scoped-tls")
3029 (uri (crate-uri "scoped-tls" version))
3030 (file-name (string-append name "-" version ".tar.gz"))
3033 "0a2bn9d2mb07c6l16sadijy4p540g498zddfxyiq4rsqpwrglbrk"))))))
3035 (define-public rust-scopeguard
3037 (name "rust-scopeguard")
3042 (uri (crate-uri "scopeguard" version))
3043 (file-name (string-append name "-" version ".tar.gz"))
3046 "03aay84r1f6w87ckbpj6cc4rnsxkxcfs13n5ynxjia0qkgjiabml"))))
3047 (build-system cargo-build-system)
3048 (home-page "https://github.com/bluss/scopeguard")
3049 (synopsis "Scope guard which will run a closure even out of scope")
3050 (description "This package provides a RAII scope guard that will run a
3051 given closure when it goes out of scope, even if the code between panics
3052 (assuming unwinding panic). Defines the macros @code{defer!},
3053 @code{defer_on_unwind!}, @code{defer_on_success!} as shorthands for guards
3054 with one of the implemented strategies.")
3055 (license (list license:asl2.0
3058 (define-public rust-scopeguard-0.3
3060 (inherit rust-scopeguard)
3061 (name "rust-scopeguard")
3066 (uri (crate-uri "scopeguard" version))
3068 (string-append name "-" version ".tar.gz"))
3071 "09sy9wbqp409pkwmqni40qmwa99ldqpl48pp95m1xw8sc19qy9cl"))))))
3073 (define-public rust-security-framework-sys
3075 (name "rust-security-framework-sys")
3080 (uri (crate-uri "security-framework-sys" version))
3081 (file-name (string-append name "-" version ".tar.gz"))
3084 "0mlsakq9kmqyc0fg2hcbgm6rjk55mb0rhjw2wid3hqdzkjcghdln"))))
3085 (build-system cargo-build-system)
3088 (("rust-core-foundation-sys"
3089 ,rust-core-foundation-sys))))
3090 (home-page "https://lib.rs/crates/security-framework-sys")
3091 (synopsis "Apple `Security.framework` low-level FFI bindings")
3093 "Apple `Security.framework` low-level FFI bindings.")
3094 (license (list license:asl2.0
3097 (define-public rust-semver-parser
3099 (name "rust-semver-parser")
3104 (uri (crate-uri "semver-parser" version))
3105 (file-name (string-append name "-" version ".tar.gz"))
3108 "1ahqhvgpzhcsd28id7xnrjv4419i9yyalhm7d7zi430qx0hi2vml"))))
3109 (build-system cargo-build-system)
3110 (home-page "https://github.com/steveklabnik/semver-parser")
3111 (synopsis "Parsing of the semver spec")
3112 (description "This package provides for parsing of the semver spec.")
3113 (license (list license:asl2.0
3116 (define-public rust-semver-parser-0.7
3118 (inherit rust-semver-parser)
3119 (name "rust-semver-parser")
3124 (uri (crate-uri "semver-parser" version))
3125 (file-name (string-append name "-" version ".tar.gz"))
3128 "18vhypw6zgccnrlm5ps1pwa0khz7ry927iznpr88b87cagr1v2iq"))))))
3130 (define-public rust-shlex
3137 (uri (crate-uri "shlex" version))
3138 (file-name (string-append name "-" version ".tar.gz"))
3141 "1lmv6san7g8dv6jdfp14m7bdczq9ss7j7bgsfqyqjc3jnjfippvz"))))
3142 (build-system cargo-build-system)
3143 (home-page "https://github.com/comex/rust-shlex")
3144 (synopsis "Split a string into shell words, like Python's shlex")
3145 (description "This crate provides a method to split a string into shell
3146 words, like Python's shlex.")
3147 (license (list license:asl2.0
3150 (define-public rust-slab
3157 (uri (crate-uri "slab" version))
3158 (file-name (string-append name "-" version ".tar.gz"))
3161 "1y59xsa27jk84sxzswjk60xcjf8b4fm5960jwpznrrcmasyva4f1"))))
3162 (build-system cargo-build-system)
3163 (home-page "https://github.com/carllerche/slab")
3164 (synopsis "Pre-allocated storage for a uniform data type")
3165 (description "This create provides a pre-allocated storage for a uniform
3167 (license license:expat)))
3169 (define-public rust-socket2
3171 (name "rust-socket2")
3176 (uri (crate-uri "socket2" version))
3177 (file-name (string-append name "-" version ".tar.gz"))
3180 "11bdcz04i106g4q7swkll0qxrb4287srqd2k3aq2q6i22zjlvdz8"))))
3181 (build-system cargo-build-system)
3184 (("rust-cfg-if" ,rust-cfg-if)
3185 ("rust-libc" ,rust-libc)
3186 ("rust-redox-syscall" ,rust-redox-syscall)
3187 ("rust-winapi" ,rust-winapi))
3188 #:cargo-development-inputs
3189 (("rust-tempdir" ,rust-tempdir))
3190 #:tests? #f)) ; Tests expect network connectivity.
3191 (home-page "https://github.com/alexcrichton/socket2-rs")
3192 (synopsis "Networking sockets in Rust")
3194 "This package provides utilities for handling networking sockets with a
3195 maximal amount of configuration possible intended.")
3196 (license (list license:asl2.0
3199 (define-public rust-sourcefile
3201 (name "rust-sourcefile")
3206 (uri (crate-uri "sourcefile" version))
3207 (file-name (string-append name "-" version ".tar.gz"))
3210 "1lwa6973zs4bgj29my7agfjgk4nw9hp6j7dfnr13nid85fw7rxsb"))))
3211 (build-system cargo-build-system)
3213 `(#:cargo-development-inputs
3214 (("rust-tempfile" ,rust-tempfile))))
3215 (home-page "https://github.com/derekdreery/sourcefile-rs")
3216 (synopsis "Concatenate source from multiple files")
3218 "A library for concatenating source from multiple files, whilst keeping
3219 track of where each new file and line starts.")
3220 (license (list license:asl2.0
3223 (define-public rust-spin
3230 (uri (crate-uri "spin" version))
3231 (file-name (string-append name "-" version ".tar.gz"))
3234 "0m9clchsj0rf13bggsgvbv9haiy0f6rhvnvkpvkk8720a5pkydj4"))))
3235 (build-system cargo-build-system)
3236 (home-page "https://github.com/mvdnes/spin-rs")
3237 (synopsis "Synchronization primitives based on spinning")
3238 (description "This crate provides synchronization primitives based on
3239 spinning. They may contain data, are usable without @code{std},and static
3240 initializers are available.")
3241 (license license:expat)))
3243 (define-public rust-stable-deref-trait
3245 (name "rust-stable-deref-trait")
3250 (uri (crate-uri "stable_deref_trait" version))
3251 (file-name (string-append name "-" version ".tar.gz"))
3254 "1j2lkgakksmz4vc5hfawcch2ipiskrhjs1sih0f3br7s7rys58fv"))))
3255 (build-system cargo-build-system)
3256 (home-page "https://github.com/storyyeller/stable_deref_trait0")
3257 (synopsis "Defines an unsafe marker trait, StableDeref")
3259 "This crate defines an unsafe marker trait, StableDeref, for container
3260 types which deref to a fixed address which is valid even when the containing
3261 type is moved. For example, Box, Vec, Rc, Arc and String implement this trait.
3262 Additionally, it defines CloneStableDeref for types like Rc where clones deref
3263 to the same address.")
3264 (license (list license:asl2.0
3267 (define-public rust-stacker
3269 (name "rust-stacker")
3274 (uri (crate-uri "stacker" version))
3275 (file-name (string-append name "-" version ".tar.gz"))
3278 "0js0axz5nla1mkr2dm2vrv9rj964ng1lrv4l43sqlnfgawplhygv"))))
3279 (build-system cargo-build-system)
3282 (("rust-cfg-if" ,rust-cfg-if)
3283 ("rust-libc" ,rust-libc)
3284 ("rust-winapi" ,rust-winapi)
3285 ("rust-cc" ,rust-cc))))
3286 (home-page "https://github.com/rust-lang/stacker")
3287 (synopsis "Manual segmented stacks for Rust")
3289 "This package provides a stack growth library useful when implementing
3290 deeply recursive algorithms that may accidentally blow the stack.")
3291 (license (list license:asl2.0
3294 (define-public rust-static-assertions
3296 (name "rust-static-assertions")
3301 (uri (crate-uri "static-assertions" version))
3302 (file-name (string-append name "-" version ".tar.gz"))
3305 "1lw33i89888yb3x29c6dv4mrkg3534n0rlg3r7qzh4p58xmv6gkz"))))
3306 (build-system cargo-build-system)
3307 (home-page "https://github.com/nvzqz/static-assertions-rs")
3308 (synopsis "Compile-time assertions for rust")
3310 "This package provides compile-time assertions to ensure that invariants
3312 (license (list license:expat license:asl2.0))))
3314 (define-public rust-stdweb-internal-runtime
3316 (name "rust-stdweb-internal-runtime")
3321 (uri (crate-uri "stdweb-internal-runtime" version))
3322 (file-name (string-append name "-" version ".tar.gz"))
3325 "1nhpyra7glbwcpakhpj5a3d7h7kx1ynif473nzshmk226m91f8ym"))))
3326 (build-system cargo-build-system)
3327 (home-page "https://github.com/koute/stdweb")
3328 (synopsis "Internal runtime for the @code{stdweb} crate")
3329 (description "This crate provides internal runtime for the @code{stdweb}
3331 (license (list license:asl2.0
3334 (define-public rust-stdweb-internal-test-macro
3336 (name "rust-stdweb-internal-test-macro")
3341 (uri (crate-uri "stdweb-internal-test-macro" version))
3342 (file-name (string-append name "-" version ".tar.gz"))
3345 "12rrm7p77xnm3xacgn3rgniiyyjb4gq7902wpbljsvbx045z69l2"))))
3346 (build-system cargo-build-system)
3349 (("rust-proc-macro2" ,rust-proc-macro2)
3350 ("rust-quote" ,rust-quote))))
3351 (home-page "https://github.com/koute/stdweb")
3352 (synopsis "Internal crate of the `stdweb` crate")
3354 "Internal crate of the @code{stdweb} crate.")
3355 (license (list license:asl2.0
3358 (define-public rust-streaming-stats
3360 (name "rust-streaming-stats")
3365 (uri (crate-uri "streaming-stats" version))
3366 (file-name (string-append name "-" version ".tar.gz"))
3369 "0l7xz4g6709s80zqpvlhrg0qhgz64r94cwhmfsg8xhabgznbp2px"))))
3370 (build-system cargo-build-system)
3373 (("rust-num-traits" ,rust-num-traits))))
3374 (home-page "https://github.com/BurntSushi/rust-stats")
3375 (synopsis "Compute basic statistics on streams")
3377 "Experimental crate for computing basic statistics on streams.")
3378 (license (list license:unlicense
3381 (define-public rust-strsim
3383 (name "rust-strsim")
3388 (uri (crate-uri "strsim" version))
3389 (file-name (string-append name "-" version ".tar.gz"))
3392 "1xphwhf86yxxmcpvm4mikj8ls41f6nf7gqyjm98b74mfk81h6b03"))))
3393 (build-system cargo-build-system)
3394 (home-page "https://github.com/dguo/strsim-rs")
3395 (synopsis "Rust implementations of string similarity metrics")
3396 (description "This crate includes implementations of string similarity
3397 metrics. It includes Hamming, Levenshtein, OSA, Damerau-Levenshtein, Jaro,
3399 (license license:expat)))
3401 (define-public rust-strsim-0.8
3403 (inherit rust-strsim)
3404 (name "rust-strsim")
3409 (uri (crate-uri "strsim" version))
3410 (file-name (string-append name "-" version ".tar.gz"))
3413 "0sjsm7hrvjdifz661pjxq5w4hf190hx53fra8dfvamacvff139cf"))))))
3415 (define-public rust-synstructure-test-traits
3417 (name "rust-synstructure-test-traits")
3422 (uri (crate-uri "synstructure_test_traits" version))
3423 (file-name (string-append name "-" version ".tar.gz"))
3426 "1b3fs2b9kc1gy9dilaxqjbdl4z0mlrbbxjzkprdx953rif1c3q66"))))
3427 (build-system cargo-build-system)
3428 (home-page "https://crates.io/crates/synstructure_test_traits")
3429 (synopsis "Helper test traits for synstructure doctests")
3431 "This package provides helper test traits for synstructure doctests.")
3432 (license license:expat)))
3434 (define-public rust-tar
3441 (uri (crate-uri "tar" version))
3442 (file-name (string-append name "-" version ".tar.gz"))
3445 "1lr6v3cpkfxd2lk5ll2jd8wr1xdskwj35smnh5sfb8xvzzxnn6dk"))))
3446 (build-system cargo-build-system)
3449 (("rust-filetime" ,rust-filetime)
3450 ("rust-libc" ,rust-libc)
3451 ("rust-redox-syscall" ,rust-redox-syscall)
3452 ("rust-xattr" ,rust-xattr))
3453 #:cargo-development-inputs
3454 (("rust-tempdir" ,rust-tempdir))
3455 #:tests? #f)) ; Test archives are not distributed in the crate tarball.
3456 (home-page "https://github.com/alexcrichton/tar-rs")
3457 (synopsis "Tar file reading/writing for Rust")
3459 "This package provides a Rust implementation of a TAR file reader and
3460 writer. This library does not currently handle compression, but it is abstract
3461 over all I/O readers and writers. Additionally, great lengths are taken to
3462 ensure that the entire contents are never required to be entirely resident in
3463 memory all at once.")
3464 (license (list license:asl2.0
3467 (define-public rust-tempdir
3469 (name "rust-tempdir")
3474 (uri (crate-uri "tempdir" version))
3475 (file-name (string-append name "-" version ".tar.gz"))
3478 "1n5n86zxpgd85y0mswrp5cfdisizq2rv3la906g6ipyc03xvbwhm"))))
3479 (build-system cargo-build-system)
3482 (("rust-rand" ,rust-rand)
3483 ("rust-remove-dir-all" ,rust-remove-dir-all))))
3484 (home-page "https://github.com/rust-lang-deprecated/tempdir")
3485 (synopsis "Temporary directory management for Rust")
3487 "This package provides a library for managing a temporary directory and
3488 deleting all contents when it's dropped.")
3489 (license (list license:asl2.0
3492 (define-public rust-tempfile
3494 (name "rust-tempfile")
3499 (uri (crate-uri "tempfile" version))
3500 (file-name (string-append name "-" version ".tar.gz"))
3503 "0ny1cdbcsrmwjpy4k9366xm6p0jqkrmrvr0cln2djxspp1inyxs7"))))
3504 (build-system cargo-build-system)
3507 (("rust-libc" ,rust-libc)
3508 ("rust-rand" ,rust-rand)
3509 ("rust-redox-syscall" ,rust-redox-syscall)
3510 ("rust-remove-dir-all" ,rust-remove-dir-all)
3511 ("rust-winapi" ,rust-winapi))))
3512 (home-page "http://stebalien.com/projects/tempfile-rs")
3513 (synopsis "Library for managing temporary files and directories")
3515 "This package provides a library for managing temporary files and
3517 (license (list license:asl2.0
3520 (define-public rust-term
3527 (uri (crate-uri "term" version))
3528 (file-name (string-append name "-" version ".tar.gz"))
3531 "1wbh8ngqkqr3f6wz902yplf60bd5yapnckvrkgmzp5nffi7n8qzs"))))
3532 (build-system cargo-build-system)
3535 (("rust-kernel32-sys" ,rust-kernel32-sys)
3536 ("rust-winapi" ,rust-winapi))))
3537 (home-page "https://github.com/Stebalien/term")
3538 (synopsis "Terminal formatting library")
3540 "This package provides a terminal formatting library in rust.")
3541 (license (list license:asl2.0
3544 (define-public rust-termcolor
3546 (name "rust-termcolor")
3551 (uri (crate-uri "termcolor" version))
3552 (file-name (string-append name "-" version ".tar.gz"))
3555 "0vjfsn1a8zvqhnrbygrz1id6yckwv1dncw3w4zj65qdx0f00kmln"))))
3556 (build-system cargo-build-system)
3559 (("rust-wincolor" ,rust-wincolor))))
3560 (home-page "https://github.com/BurntSushi/termcolor")
3561 (synopsis "Library for writing colored text to a terminal")
3562 (description "This package provides a simple cross platform library for
3563 writing colored text to a terminal.")
3564 (license (list license:unlicense
3567 (define-public rust-termios
3569 (name "rust-termios")
3574 (uri (crate-uri "termios" version))
3575 (file-name (string-append name "-" version ".tar.gz"))
3578 "09any1p4jp4bphvb5ikagnvwjc3xn2djchy96nkpa782xb2j1dkj"))))
3579 (build-system cargo-build-system)
3581 `(#:cargo-inputs (("rust-libc" ,rust-libc))))
3582 (home-page "https://github.com/dcuddeback/termios-rs")
3583 (synopsis "Safe bindings for the termios library")
3585 "The termios crate provides safe bindings for the Rust programming language
3586 to the terminal I/O interface implemented by Unix operating systems. The safe
3587 bindings are a small wrapper around the raw C functions, which converts integer
3588 return values to @code{std::io::Result} to indicate success or failure.")
3589 (license license:expat)))
3591 (define-public rust-thread-id
3593 (name "rust-thread-id")
3598 (uri (crate-uri "thread-id" version))
3599 (file-name (string-append name "-" version ".tar.gz"))
3602 "1h90v19fjz3x9b25ywh68z5yf2zsmm6h5zb4rl302ckbsp4z9yy7"))))
3603 (build-system cargo-build-system)
3606 (("rust-libc" ,rust-libc)
3607 ("rust-redox-syscall" ,rust-redox-syscall)
3608 ("rust-winapi" ,rust-winapi))))
3609 (home-page "https://github.com/ruuda/thread-id")
3610 (synopsis "Get a unique ID for the current thread in Rust")
3612 "For diagnostics and debugging it can often be useful to get an ID that is
3613 different for every thread.")
3614 (license (list license:asl2.0
3617 (define-public rust-thread-local
3619 (name "rust-thread-local")
3624 (uri (crate-uri "thread_local" version))
3625 (file-name (string-append name "-" version ".tar.gz"))
3628 "06rzik99p8c5js8238yhc8rk6np543ylb1dy9nrw5v80j0r3xdf6"))))
3629 (build-system cargo-build-system)
3632 (("rust-lazy-static" ,rust-lazy-static))))
3633 (home-page "https://github.com/Amanieu/thread_local-rs")
3634 (synopsis "Per-object thread-local storage")
3635 (description "Per-object thread-local storage")
3636 (license (list license:asl2.0
3639 (define-public rust-threadpool
3641 (name "rust-threadpool")
3646 (uri (crate-uri "threadpool" version))
3647 (file-name (string-append name "-" version ".tar.gz"))
3650 "0rd89n1q7vy47w4c32cnynibffv9kj3jy3dwr0536n9lbw5ckw72"))))
3651 (build-system cargo-build-system)
3654 (("rust-num-cpus" ,rust-num-cpus))))
3655 (home-page "https://github.com/rust-threadpool/rust-threadpool")
3656 (synopsis "Thread pool for running jobs on a fixed set of worker threads")
3658 "This package provides a thread pool for running a number of jobs on a
3659 fixed set of worker threads.")
3660 (license (list license:asl2.0
3663 (define-public rust-time
3670 (uri (crate-uri "time" version))
3671 (file-name (string-append name "-" version ".tar.gz"))
3674 "161hqx0gw722ikydanpahky447vaxqncwmkj66rny282vzqpalx1"))))
3675 (build-system cargo-build-system)
3678 (("rust-libc" ,rust-libc)
3679 ("rust-redox-syscall" ,rust-redox-syscall)
3680 ("rust-rustc-serialize" ,rust-rustc-serialize)
3681 ("rust-winapi" ,rust-winapi))
3682 #:cargo-development-inputs
3683 (("rust-log" ,rust-log)
3684 ("rust-winapi" ,rust-winapi))
3685 #:tests? #f)) ; Tests have difficulty with the timezones.
3686 (home-page "https://github.com/rust-lang-deprecated/time")
3687 (synopsis "Simple time handling in Rust")
3689 "This package provides utilities for working with time-related functions
3691 (license (list license:asl2.0
3694 (define-public rust-tokio-mock-task
3696 (name "rust-tokio-mock-task")
3701 (uri (crate-uri "tokio-mock-task" version))
3702 (file-name (string-append name "-" version ".tar.gz"))
3705 "1y7q83qfk9ljjfvs82b453pmz9x1v3d6kr4x55j8mal01s6790dw"))))
3706 (build-system cargo-build-system)
3708 `(#:cargo-inputs (("rust-futures" ,rust-futures))))
3709 (home-page "https://github.com/carllerche/tokio-mock-task")
3710 (synopsis "Mock a Tokio task")
3711 (description "Mock a Tokio task")
3712 (license license:expat)))
3714 (define-public rust-tracing-core
3716 (name "rust-tracing-core")
3721 (uri (crate-uri "tracing-core" version))
3722 (file-name (string-append name "-" version ".tar.gz"))
3725 "01fa73wzw2m5ybi3kkd52dgrw97mgc3i6inmhwys46ab28giwnxi"))))
3726 (build-system cargo-build-system)
3729 (("rust-lazy-static" ,rust-lazy-static))))
3730 (home-page "https://tokio.rs")
3731 (synopsis "Core primitives for application-level tracing")
3733 "Core primitives for application-level tracing.")
3734 (license (list license:asl2.0
3737 (define-public rust-traitobject
3739 (name "rust-traitobject")
3744 (uri (crate-uri "traitobject" version))
3745 (file-name (string-append name "-" version ".tar.gz"))
3748 "0yb0n8822mr59j200fyr2fxgzzgqljyxflx9y8bdy3rlaqngilgg"))))
3749 (build-system cargo-build-system)
3750 (home-page "https://github.com/reem/rust-traitobject")
3751 (synopsis "Unsafe helpers for dealing with raw trait objects")
3752 (description "Unsafe helpers for dealing with raw trait objects.")
3753 (license (list license:asl2.0
3756 (define-public rust-try-from
3758 (name "rust-try-from")
3763 (uri (crate-uri "try_from" version))
3764 (file-name (string-append name "-" version ".tar.gz"))
3767 "12wdd4ja7047sd3rx70hv2056hyc8gcdllcx3a41g1rnw64kng98"))))
3768 (build-system cargo-build-system)
3771 (("rust-cfg-if" ,rust-cfg-if))))
3772 (home-page "https://github.com/derekjw/try_from")
3773 (synopsis "TryFrom and TryInto traits for failable conversions")
3775 "TryFrom and TryInto traits for failable conversions that return a Result.")
3776 (license license:expat)))
3778 (define-public rust-try-lock
3780 (name "rust-try-lock")
3785 (uri (crate-uri "try-lock" version))
3786 (file-name (string-append name "-" version ".tar.gz"))
3789 "10p36rx6pqi9d0zr876xa8vksx2m66ha45myakl50rn08dxyn176"))))
3790 (build-system cargo-build-system)
3791 (home-page "https://github.com/seanmonstar/try-lock")
3792 (synopsis "Lightweight atomic lock")
3794 "This package provides a lightweight atomic lock.")
3795 (license license:expat)))
3797 (define-public rust-typeable
3799 (name "rust-typeable")
3804 (uri (crate-uri "typeable" version))
3805 (file-name (string-append name "-" version ".tar.gz"))
3808 "11w8dywgnm32hb291izjvh4zjd037ccnkk77ahk63l913zwzc40l"))))
3809 (build-system cargo-build-system)
3810 (home-page "https://github.com/reem/rust-typeable")
3811 (synopsis "Exposes Typeable, for getting TypeIds at runtime")
3812 (description "Exposes Typeable, for getting TypeIds at runtime.")
3813 (license license:expat)))
3815 (define-public rust-typemap
3817 (name "rust-typemap")
3822 (uri (crate-uri "typemap" version))
3823 (file-name (string-append name "-" version ".tar.gz"))
3826 "1xm1gbvz9qisj1l6d36hrl9pw8imr8ngs6qyanjnsad3h0yfcfv5"))))
3827 (build-system cargo-build-system)
3830 (("rust-unsafe-any" ,rust-unsafe-any))))
3831 (home-page "https://github.com/reem/rust-typemap")
3832 (synopsis "Typesafe store for many value types")
3834 "A typesafe store for many value types.")
3835 (license license:expat)))
3837 (define-public rust-typenum
3839 (name "rust-typenum")
3844 (uri (crate-uri "typenum" version))
3845 (file-name (string-append name "-" version ".tar.gz"))
3848 "0sc1jirllfhdi52z1xv9yqzxzpk6v7vadd13n7wvs1wnjipn6bb1"))))
3849 (build-system cargo-build-system)
3850 (home-page "https://github.com/paholg/typenum")
3851 (synopsis "Rust library for type-level numbers evaluated at compile time")
3852 (description "Typenum is a Rust library for type-level numbers evaluated at
3853 compile time. It currently supports bits, unsigned integers, and signed
3854 integers. It also provides a type-level array of type-level numbers, but its
3855 implementation is incomplete.")
3856 (license (list license:asl2.0
3859 (define-public rust-ucd-trie
3861 (name "rust-ucd-trie")
3866 (uri (crate-uri "ucd-trie" version))
3867 (file-name (string-append name "-" version ".tar.gz"))
3870 "1hh6kyzh5xygwy96wfmsf8v8czlzhps2lgbcyhj1xzy1w1xys04g"))))
3871 (build-system cargo-build-system)
3873 `(#:cargo-development-inputs
3874 (("rust-lazy-static" ,rust-lazy-static))))
3875 (home-page "https://github.com/BurntSushi/ucd-generate")
3876 (synopsis "Trie for storing Unicode codepoint sets and maps")
3878 "This package provides a trie for storing Unicode codepoint sets and maps.")
3879 (license (list license:asl2.0
3882 (define-public rust-ucd-util
3884 (name "rust-ucd-util")
3889 (uri (crate-uri "ucd-util" version))
3890 (file-name (string-append name "-" version ".tar.gz"))
3893 "0x088q5z0m09a2jqcfgsnq955y8syn1mgn35cl78qinkxm4kp6zs"))))
3894 (build-system cargo-build-system)
3895 (home-page "https://github.com/BurntSushi/ucd-generate")
3896 (synopsis "library for working with the Unicode character database")
3897 (description "This package provides a small utility library for working
3898 with the Unicode character database.")
3899 (license (list license:asl2.0
3902 (define-public rust-unicase
3904 (name "rust-unicase")
3909 (uri (crate-uri "unicase" version))
3910 (file-name (string-append name "-" version ".tar.gz"))
3913 "1xmpmkakhhblq7dzab1kwyv925kv7fqjkjsxjspg6ix9n88makm8"))))
3914 (build-system cargo-build-system)
3916 `(#:cargo-inputs (("rust-version-check" ,rust-version-check-0.1))))
3917 (home-page "https://github.com/seanmonstar/unicase")
3918 (synopsis "Case-insensitive wrapper around strings")
3920 "A case-insensitive wrapper around strings.")
3921 (license (list license:asl2.0
3924 (define-public rust-unicode-width
3926 (name "rust-unicode-width")
3931 (uri (crate-uri "unicode-width" version))
3932 (file-name (string-append name "-" version ".tar.gz"))
3935 "09k5lipygardwy0660jhls08fsgknrazzivmn804gps53hiqc8w8"))))
3936 (build-system cargo-build-system)
3937 (home-page "https://github.com/unicode-rs/unicode-width")
3938 (synopsis "Determine displayed width according to Unicode rules")
3939 (description "This crate allows you to determine displayed width of
3940 @code{char} and @code{str} types according to Unicode Standard Annex #11 rules.")
3941 (license (list license:asl2.0
3944 (define-public rust-unicode-xid
3946 (name "rust-unicode-xid")
3951 (uri (crate-uri "unicode-xid" version))
3953 (string-append name "-" version ".tar.gz"))
3956 "0z09fn515xm7zyr0mmdyxa9mx2f7azcpv74pqmg611iralwpcvl2"))))
3957 (build-system cargo-build-system)
3959 "https://github.com/unicode-rs/unicode-xid")
3960 (synopsis "Determine Unicode XID related properties")
3961 (description "Determine whether characters have the XID_Start
3962 or XID_Continue properties according to Unicode Standard Annex #31.")
3964 (license (list license:asl2.0 license:expat))))
3966 (define-public rust-unicode-xid-0.1
3968 (inherit rust-unicode-xid)
3969 (name "rust-unicode-xid")
3974 (uri (crate-uri "unicode-xid" version))
3975 (file-name (string-append name "-" version ".tar.gz"))
3978 "1z57lqh4s18rr4x0j4fw4fmp9hf9346h0kmdgqsqx0fhjr3k0wpw"))))))
3980 (define-public rust-unindent
3982 (name "rust-unindent")
3987 (uri (crate-uri "unindent" version))
3988 (file-name (string-append name "-" version ".tar.gz"))
3991 "1x21ilf78aqcq9xzb9b7i628wm10rhk0jp0chlv06rkc690l8jw3"))))
3992 (build-system cargo-build-system)
3993 (home-page "https://github.com/dtolnay/indoc")
3994 (synopsis "Remove a column of leading whitespace from a string")
3995 (description "This crate allows you to remove a column of leading
3996 whitespace from a string.")
3997 (license (list license:asl2.0
4000 (define-public rust-unsafe-any
4002 (name "rust-unsafe-any")
4007 (uri (crate-uri "unsafe-any" version))
4008 (file-name (string-append name "-" version ".tar.gz"))
4011 "0zwwphsqkw5qaiqmjwngnfpv9ym85qcsyj7adip9qplzjzbn00zk"))))
4012 (build-system cargo-build-system)
4015 (("rust-traitobject" ,rust-traitobject))))
4016 (home-page "https://tokio.rs")
4017 (synopsis "Traits and implementations for unchecked downcasting")
4019 "Traits and implementations for unchecked downcasting.")
4020 (license license:expat)))
4022 (define-public rust-untrusted
4024 (name "rust-untrusted")
4029 (uri (crate-uri "untrusted" version))
4030 (file-name (string-append name "-" version ".tar.gz"))
4033 "1kmfykcwif6ashkwg54gcnhxj03kpba2i9vc7z5rpr0xlgvrwdk0"))))
4034 (build-system cargo-build-system)
4035 (home-page "https://github.com/briansmith/untrusted")
4036 (synopsis "Zero-allocation parsing of untrusted inputs in Rust")
4038 "Safe, fast, zero-panic, zero-crashing, zero-allocation parsing of
4039 untrusted inputs in Rust.")
4040 (license license:isc)))
4042 (define-public rust-vcpkg
4049 (uri (crate-uri "vcpkg" version))
4050 (file-name (string-append name "-" version ".tar.gz"))
4053 "15dzk1b96q946v9aisbd1bbhi33n93wvgziwh1shmscn1xflbp9k"))))
4054 (build-system cargo-build-system)
4056 `(#:cargo-development-inputs
4057 (("rust-lazy-static" ,rust-lazy-static)
4058 ("rust-tempdir" ,rust-tempdir))
4059 #:tests? #f)) ; tests try to link libmysql, graphite2, harfbuzz
4060 (home-page "https://github.com/mcgoo/vcpkg-rs")
4061 (synopsis "Find native dependencies in a vcpkg tree at build time")
4063 "This package provides a library to find native dependencies in a
4064 @code{vcpkg} tree at build time in order to be used in Cargo build scripts.")
4065 (license (list license:asl2.0
4068 (define-public rust-version-check
4070 (name "rust-version-check")
4075 (uri (crate-uri "version_check" version))
4076 (file-name (string-append name "-" version ".tar.gz"))
4079 "1kikqlnggii1rvnxrbls55sc46lxvinz5k3giscgncjj4p87b1q7"))))
4080 (build-system cargo-build-system)
4081 (home-page "https://github.com/SergioBenitez/version_check")
4082 (synopsis "Check that the installed rustc meets some version requirements")
4084 "This tiny crate checks that the running or installed rustc meets some
4085 version requirements. The version is queried by calling the Rust compiler with
4086 @code{--version}. The path to the compiler is determined first via the
4087 @code{RUSTC} environment variable. If it is not set, then @code{rustc} is used.
4088 If that fails, no determination is made, and calls return None.")
4089 (license (list license:asl2.0
4092 (define-public rust-version-check-0.1
4094 (inherit rust-version-check)
4095 (name "rust-version-check")
4100 (uri (crate-uri "version_check" version))
4101 (file-name (string-append name "-" version ".tar.gz"))
4104 "1pf91pvj8n6akh7w6j5ypka6aqz08b3qpzgs0ak2kjf4frkiljwi"))))))
4106 (define-public rust-void
4113 (uri (crate-uri "void" version))
4114 (file-name (string-append name "-" version ".tar.gz"))
4117 "0zc8f0ksxvmhvgx4fdg0zyn6vdnbxd2xv9hfx4nhzg6kbs4f80ka"))))
4118 (build-system cargo-build-system)
4119 (home-page "https://github.com/reem/rust-void")
4120 (synopsis "Void type for use in statically impossible cases")
4122 "The uninhabited void type for use in statically impossible cases.")
4123 (license license:expat)))
4125 (define-public rust-walkdir
4127 (name "rust-walkdir")
4132 (uri (crate-uri "walkdir" version))
4133 (file-name (string-append name "-" version ".tar.gz"))
4136 "07ppalpvxkf8cnqr64np422792y4z5bs9m8b4nrflh5rm17wjn4n"))))
4137 (build-system cargo-build-system)
4140 (("rust-same-file" ,rust-same-file)
4141 ("rust-winapi" ,rust-winapi)
4142 ("rust-winapi-util" ,rust-winapi-util))
4143 #:cargo-development-inputs
4144 (("rust-doc-comment" ,rust-doc-comment))))
4145 (home-page "https://github.com/BurntSushi/walkdir")
4146 (synopsis "Recursively walk a directory")
4147 (description "Recursively walk a directory.")
4148 (license (list license:unlicense
4151 (define-public rust-wasi
4158 (uri (crate-uri "wasi" version))
4160 (string-append name "-" version ".tar.gz"))
4163 "1ir3pd4phdfml0cbziw9bqp7mnk0vfp9biy8bh25lln6raml4m7x"))))
4164 (build-system cargo-build-system)
4165 (home-page "https://github.com/CraneStation/rust-wasi")
4166 (synopsis "Experimental WASI API bindings for Rust")
4167 (description "This package contains experimental WASI API bindings
4169 (license license:asl2.0)))
4171 (define-public rust-wasm-bindgen-shared
4173 (name "rust-wasm-bindgen-shared")
4178 (uri (crate-uri "wasm-bindgen-shared" version))
4179 (file-name (string-append name "-" version ".tar.gz"))
4182 "08rnfhjyk0f6liv8n4rdsvhx7r02glkhcbj2lp9lcbkbfpad9hnr"))))
4183 (build-system cargo-build-system)
4184 (home-page "https://rustwasm.github.io/wasm-bindgen/")
4185 (synopsis "Shared support between wasm-bindgen and wasm-bindgen cli")
4186 (description "This package provides shared support between
4187 @code{wasm-bindgen} and @code{wasm-bindgen} cli, an internal dependency.")
4188 (license (list license:asl2.0
4191 (define-public rust-wasm-bindgen-test-macro
4193 (name "rust-wasm-bindgen-test-macro")
4198 (uri (crate-uri "wasm-bindgen-test-macro" version))
4199 (file-name (string-append name "-" version ".tar.gz"))
4202 "0n28mr6vncf1k1qr2b5bvfxq4jvqkjdzq0z0ab6w2f5d6v8q3q3l"))))
4203 (build-system cargo-build-system)
4206 (("rust-proc-macro2" ,rust-proc-macro2)
4207 ("rust-quote" ,rust-quote))))
4208 (home-page "https://github.com/rustwasm/wasm-bindgen")
4209 (synopsis "Internal testing macro for wasm-bindgen")
4211 "This library contains the internal testing macro for wasm-bindgen.")
4212 (license (list license:asl2.0
4215 (define-public rust-widestring
4217 (name "rust-widestring")
4222 (uri (crate-uri "widestring" version))
4223 (file-name (string-append name "-" version ".tar.gz"))
4226 "1dhx6dndjsz1y7c9w06922412kdxyrrkqblvggm76mh8z17hxz7g"))))
4227 (build-system cargo-build-system)
4229 `(#:cargo-development-inputs
4230 (("rust-winapi" ,rust-winapi))))
4231 (home-page "https://github.com/starkat99/widestring-rs")
4232 (synopsis "Wide string Rust FFI library")
4234 "A wide string Rust FFI library for converting to and from wide strings,
4235 such as those often used in Windows API or other FFI libaries. Both UTF-16 and
4236 UTF-32 types are provided, including support for malformed encoding.")
4237 (license (list license:asl2.0
4240 (define-public rust-winapi
4242 (name "rust-winapi")
4247 (uri (crate-uri "winapi" version))
4248 (file-name (string-append name "-" version ".tar.gz"))
4251 "1ii9j9lzrhwri0902652awifzx9fpayimbp6hfhhc296xcg0k4w0"))))
4252 (build-system cargo-build-system)
4255 (("rust-winapi-i686-pc-windows-gnu"
4256 ,rust-winapi-i686-pc-windows-gnu)
4257 ("rust-winapi-x86-64-pc-windows-gnu"
4258 ,rust-winapi-x86-64-pc-windows-gnu))))
4259 (home-page "https://github.com/retep998/winapi-rs")
4260 (synopsis "Raw FFI bindings for all of Windows API.")
4262 "Raw FFI bindings for all of Windows API.")
4263 (license (list license:asl2.0
4266 (define-public rust-winapi-0.2
4268 (inherit rust-winapi)
4269 (name "rust-winapi")
4274 (uri (crate-uri "winapi" version))
4275 (file-name (string-append name "-" version ".tar.gz"))
4278 "0yh816lh6lf56dpsgxy189c2ai1z3j8mw9si6izqb6wsjkbcjz8n"))))
4279 ;; We do not want to package 48 -sys crates for a package we do not want.
4280 ;; They are all dev dependencies, so we skip building and testing.
4284 (modify-phases %standard-phases
4285 (delete 'build))))))
4287 (define-public rust-winapi-build
4289 (name "rust-winapi-build")
4294 (uri (crate-uri "winapi-build" version))
4295 (file-name (string-append name "-" version ".tar.gz"))
4298 "1g4rqsgjky0a7530qajn2bbfcrl2v0zb39idgdws9b1l7gp5wc9d"))))
4299 (build-system cargo-build-system)
4300 (home-page "https://github.com/retep998/winapi-rs")
4301 (synopsis "Common code for build.rs in WinAPI -sys crates")
4303 "Common code for build.rs in WinAPI -sys crates.")
4304 (license license:expat)))
4306 (define-public rust-winapi-i686-pc-windows-gnu
4308 (name "rust-winapi-i686-pc-windows-gnu")
4313 (uri (crate-uri "winapi-i686-pc-windows-gnu" version))
4314 (file-name (string-append name "-" version ".tar.gz"))
4317 "1dmpa6mvcvzz16zg6d5vrfy4bxgg541wxrcip7cnshi06v38ffxc"))))
4318 (build-system cargo-build-system)
4319 (home-page "https://github.com/retep998/winapi-rs")
4320 (synopsis "Import libraries for the i686-pc-windows-gnu target")
4321 (description "This crate provides import libraries for the
4322 i686-pc-windows-gnu target. Please don't use this crate directly, depend on
4323 @code{winapi} instead.")
4324 (license (list license:asl2.0
4327 (define-public rust-winapi-util
4329 (name "rust-winapi-util")
4334 (uri (crate-uri "winapi-util" version))
4335 (file-name (string-append name "-" version ".tar.gz"))
4338 "1j839dc6y8vszvrsb7yk0qvs0w6asnahxzbyans37vnsw6vbls3i"))))
4339 (build-system cargo-build-system)
4341 `(#:cargo-inputs (("rust-winapi" ,rust-winapi))))
4342 (home-page "https://github.com/BurntSushi/winapi-util")
4343 (synopsis "Dumping ground for high level safe wrappers over winapi")
4345 "This package provides a dumping ground for high level safe wrappers over
4347 (license (list license:unlicense
4350 (define-public rust-winapi-x86-64-pc-windows-gnu
4352 (name "rust-winapi-x86-64-pc-windows-gnu")
4357 (uri (crate-uri "winapi-x86_64-pc-windows-gnu" version))
4358 (file-name (string-append name "-" version ".tar.gz"))
4361 "0gqq64czqb64kskjryj8isp62m2sgvx25yyj3kpc2myh85w24bki"))))
4362 (build-system cargo-build-system)
4363 (home-page "https://github.com/retep998/winapi-rs")
4364 (synopsis "Import libraries for the x86_64-pc-windows-gnu target")
4365 (description "This package provides import libraries for the
4366 x86_64-pc-windows-gnu target. Please don't use this crate directly, depend on
4367 @code{winapi} instead.")
4368 (license (list license:asl2.0
4371 (define-public rust-wincolor
4373 (name "rust-wincolor")
4378 (uri (crate-uri "wincolor" version))
4379 (file-name (string-append name "-" version ".tar.gz"))
4382 "1agaf3hcav113i86912ajnw6jxcy4rvkrgyf8gdj8kc031mh3xcn"))))
4383 (build-system cargo-build-system)
4386 (("rust-winapi" ,rust-winapi)
4387 ("rust-winapi-util" ,rust-winapi-util))))
4388 (home-page "https://github.com/BurntSushi/termcolor/tree/master/wincolor")
4389 (synopsis "Windows API for controlling text color in a Windows console")
4391 "This package provides a simple Windows specific API for controlling text
4392 color in a Windows console.")
4393 (license (list license:unlicense
4396 (define-public rust-winutil
4398 (name "rust-winutil")
4403 (uri (crate-uri "winutil" version))
4404 (file-name (string-append name "-" version ".tar.gz"))
4407 "0vkyl3fbbf05n5ph5yz8sfaccrk9x3qsr25560w6w68ldf5i7bvx"))))
4408 (build-system cargo-build-system)
4411 (("rust-winapi" ,rust-winapi))
4412 ;; This unmaintained crate cannot find winapi when built directly.
4415 (modify-phases %standard-phases
4417 (home-page "https://bitbucket.org/DaveLancaster/winutil")
4418 (synopsis "Library wrapping a handful of useful winapi functions")
4420 "A simple library wrapping a handful of useful winapi functions.")
4421 (license license:expat)))
4423 (define-public rust-ws2-32-sys
4425 (name "rust-ws2-32-sys")
4430 (uri (crate-uri "ws2_32-sys" version))
4431 (file-name (string-append name "-" version ".tar.gz"))
4434 "0ppscg5qfqaw0gzwv2a4nhn5bn01ff9iwn6ysqnzm4n8s3myz76m"))))
4435 (build-system cargo-build-system)
4438 (("rust-winapi" ,rust-winapi-0.2)
4439 ("rust-winapi-build" ,rust-winapi-build))
4441 (modify-phases %standard-phases
4442 (add-after 'unpack 'fix-Cargo-toml
4444 (substitute* "Cargo.toml"
4445 ((", path =.* }") "}\n"))
4447 (home-page "https://github.com/retep998/winapi-rs")
4448 (synopsis "Function definitions for the Windows API library ws2_32")
4450 "Contains function definitions for the Windows API library ws2_32.")
4451 (license license:expat)))
4453 (define-public rust-xattr
4460 (uri (crate-uri "xattr" version))
4461 (file-name (string-append name "-" version ".tar.gz"))
4464 "0k556fb6f5jc907975j9c8iynl2fqz3rf0w6fiig83i4yi0kfk14"))))
4465 (build-system cargo-build-system)
4468 (("rust-libc" ,rust-libc))
4469 #:cargo-development-inputs
4470 (("rust-tempfile" ,rust-tempfile))
4471 #:tests? #f)) ; Tests assume read access to /var.
4472 (home-page "https://github.com/Stebalien/xattr")
4473 (synopsis "Unix extended filesystem attributes")
4475 "This package provide a small library for setting, getting, and listing
4476 extended attributes.")
4477 (license (list license:asl2.0
4480 (define-public rust-xdg
4487 (uri (crate-uri "xdg" version))
4488 (file-name (string-append name "-" version ".tar.gz"))
4491 "0mws8a0fr3cqk5nh7aq9lmkmhzghvasqy4mhw6nnza06l4d6i2fh"))))
4492 (build-system cargo-build-system)
4493 (home-page "https://github.com/whitequark/rust-xdg")
4494 (synopsis "Store and retrieve files according to XDG specification")
4496 "This package provides a library for storing and retrieving files according
4497 to XDG Base Directory specification")
4498 (license (list license:asl2.0