summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm1238
1 files changed, 1173 insertions, 65 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8a469785d9..e63581bf9a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18,6 +18,7 @@
;;; Copyright © 2021 Antero Mejr <[email protected]>
;;; Copyright © 2021 Maxim Cournoyer <[email protected]>
;;; Copyright © 2021 Vinicius Monego <[email protected]>
+;;; Copyright © 2021 Petr Hodina <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -57,6 +58,7 @@
#:use-module (gnu packages jemalloc)
#:use-module (gnu packages linux)
#:use-module (gnu packages llvm)
+ #:use-module (gnu packages mail)
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages nettle)
#:use-module (gnu packages pcre)
@@ -2635,6 +2637,25 @@ standard library.")
#:cargo-inputs
(("rust-quickcheck" ,rust-quickcheck-0.4))))))
+(define-public rust-ascii-utils-0.9
+ (package
+ (name "rust-ascii-utils")
+ (version "0.9.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ascii_utils" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0jpp550pwi38msflpy7lnqm2r153kn9k19bss6k9ak9yacq8z4vi"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://github.com/tredoe/ascii_utils")
+ (synopsis "Utilities to handle ASCII characters")
+ (description
+ "This library provides utilities to handle ASCII characters.")
+ (license license:mpl2.0)))
+
(define-public rust-assert-cli-0.6
(package
(name "rust-assert-cli")
@@ -2715,8 +2736,35 @@ standard library.")
#:cargo-development-inputs
(("rust-docmatic" ,rust-docmatic-0.1))))))
+(define-public rust-assert-fs-1
+ (package
+ (name "rust-assert-fs")
+ (version "1.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "assert-fs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0rcllf1d1l121fnsxy84bbqkg1sym5gs4mp0aw1nyv3f0sinmjmh"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-doc-comment" ,rust-doc-comment-0.3)
+ ("rust-globwalk" ,rust-globwalk-0.8)
+ ("rust-predicates" ,rust-predicates-2)
+ ("rust-predicates-core" ,rust-predicates-core-1)
+ ("rust-predicates-tree" ,rust-predicates-tree-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (home-page "https://github.com/assert-rs/assert_fs")
+ (synopsis "Filesystem fixtures and assertions for testing")
+ (description
+ "This crate provides file system fixtures and assertions for testing.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-assert-fs-0.11
(package
+ (inherit rust-assert-fs-1)
(name "rust-assert-fs")
(version "0.11.3")
(source
@@ -2728,7 +2776,6 @@ standard library.")
(sha256
(base32
"1h1q90qskbylv4g3jyizdanj73835q7vvq7q10y555x4gnavmrjc"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-globwalk" ,rust-globwalk-0.5)
@@ -2737,12 +2784,27 @@ standard library.")
("rust-predicates-tree" ,rust-predicates-tree-1)
("rust-tempfile" ,rust-tempfile-3))
#:cargo-development-inputs
- (("rust-docmatic" ,rust-docmatic-0.1))))
- (home-page "https://github.com/assert-rs/assert_fs")
- (synopsis "File system fixtures and assertions for testing")
+ (("rust-docmatic" ,rust-docmatic-0.1))))))
+
+(define-public rust-assert-impl-0.1
+ (package
+ (name "rust-assert-impl")
+ (version "0.1.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "assert-impl" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "17jvig9rwdc1sf1j5q8q9k69njg3k8g7x7g6wcb711hcvq9l6in3"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://github.com/upsuper/assert-impl")
+ (synopsis "Macro for static assert that types implement a trait or not")
(description
- "File system fixtures and assertions for testing.")
- (license (list license:expat license:asl2.0))))
+ "This carte provides a macro for static assert that types implement
+a trait or not.")
+ (license license:expat)))
(define-public rust-assert-json-diff-1
(package
@@ -6190,6 +6252,89 @@ system calls. Second, exposing the internal buffer allows the user to work
with data in place, which avoids another copy.")
(license license:gpl3)))
+(define-public rust-buffering-0.4
+ (package
+ (name "rust-buffering")
+ (version "0.4.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "buffering" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1wmgy84j5scbndzx7mccz07z34n98fwnfah1zd5kzqjaif5iqk76"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-buffering-nocopy-macro" ,rust-buffering-nocopy-macro-0.2))))
+ (home-page "https://github.com/jbaublitz/buffering")
+ (synopsis "Library primarily designed for network packet buffer operations")
+ (description
+ "This package provides a library primarily designed for network packet
+buffer operations.")
+ (license license:bsd-3)))
+
+(define-public rust-buffering-0.3
+ (package
+ (inherit rust-buffering-0.4)
+ (name "rust-buffering")
+ (version "0.3.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "buffering" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "11cyq2nm569j028g93jxk00h8nfwc3l6n3hqw79w34na01p3lq97"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-buffering-nocopy-macro" ,rust-buffering-nocopy-macro-0.1))))))
+
+(define-public rust-buffering-nocopy-macro-0.2
+ (package
+ (name "rust-buffering-nocopy-macro")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "buffering_nocopy_macro" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0a8zs7s5z0f977g7zx95b8sf8gqa8iwh13rj639wk080d00l5kaa"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://github.com/jbaublitz/buffering")
+ (synopsis "Proc-macro crate for buffering")
+ (description "This package provides a proc-macro crate for buffering.")
+ (license license:bsd-3)))
+
+(define-public rust-buffering-nocopy-macro-0.1
+ (package
+ (inherit rust-buffering-nocopy-macro-0.2)
+ (name "rust-buffering-nocopy-macro")
+ (version "0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "buffering_nocopy_macro" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "03b6wp4i3273jzw2nbnrnddlxyma3p465y2dszx6vc3ysq0fdlj7"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-0.4)
+ ("rust-quote" ,rust-quote-0.6)
+ ("rust-syn" ,rust-syn-0.14))))))
+
(define-public rust-bufstream-0.1
(package
(name "rust-bufstream")
@@ -7254,8 +7399,34 @@ remote procedure call protocol")
`(#:cargo-inputs
(("rust-capnp" ,rust-capnp-0.10))))))
+(define-public rust-caps-0.5
+ (package
+ (name "rust-caps")
+ (version "0.5.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "caps" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0h4m9s09plj85y5lb5j9hck36r8w63ifpc9s09mzi0zjvvfz5260"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-errno" ,rust-errno-0.2)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-thiserror" ,rust-thiserror-1))))
+ (home-page "https://github.com/lucab/caps-rs")
+ (synopsis "Pure-Rust library to work with Linux capabilities")
+ (description
+ "This package provides a pure-Rust library to work with Linux
+capabilities.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-caps-0.3
(package
+ (inherit rust-caps-0.5)
(name "rust-caps")
(version "0.3.3")
(source
@@ -7267,19 +7438,12 @@ remote procedure call protocol")
(sha256
(base32
"1vplgzx8nifzr3f0l8ca77jqnz3fdymdg0ickacgdvawc44a3n90"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-errno" ,rust-errno-0.2)
("rust-error-chain" ,rust-error-chain-0.12)
- ("rust-libc" ,rust-libc-0.2))))
- (home-page "https://github.com/lucab/caps-rs")
- (synopsis "Pure-Rust library to work with Linux capabilities")
- (description
- "This package provides a pure-Rust library to work with Linux
-capabilities")
- (license (list license:expat license:asl2.0))))
+ ("rust-libc" ,rust-libc-0.2))))))
(define-public rust-cargo-0.53
(package
@@ -7873,6 +8037,33 @@ clauses.")
"This package provides a combines the chalk-engine with chalk-ir.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-charset-0.1
+ (package
+ (name "rust-charset")
+ (version "0.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "charset" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0wzwnck82maqa03hvpprpd1zvnzmzxpkqna4pxnf4g8wvxj6whjg"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-base64" ,rust-base64-0.10)
+ ("rust-encoding-rs" ,rust-encoding-rs-0.8)
+ ("rust-serde" ,rust-serde-1))))
+ (home-page "https://docs.rs/charset/")
+ (synopsis "Thunderbird-compatible character encoding decoding for email")
+ (description
+ "charset is a wrapper around @code{encoding_rs} that
+provides (non-streaming) decoding for character encodings that occur in email
+by providing decoding for UTF-7 in addition to the encodings defined by the
+Encoding Standard.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-chrono-0.4
(package
(name "rust-chrono")
@@ -12646,8 +12837,40 @@ GF(2^n). This trait is implemented for 64, 128 and 256 bit block
sizes. Big-endian order is used. WARNING: Block must be aligned!")
(license (list license:expat license:asl2.0))))
+(define-public rust-dbus-0.9
+ (package
+ (name "rust-dbus")
+ (version "0.9.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dbus" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ny01n0gzfdmcy5ydn4q78pamidj4c5q9ixz7gr97dbrza6y15zm"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;it needs display and sockets and launches daemons
+ #:cargo-inputs
+ (("rust-futures-channel" ,rust-futures-channel-0.3)
+ ("rust-futures-executor" ,rust-futures-executor-0.3)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-libdbus-sys" ,rust-libdbus-sys-0.2))
+ #:cargo-development-inputs
+ (("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("dbus" ,dbus)))
+ (home-page "https://github.com/diwic/dbus-rs")
+ (synopsis "Rust bindings to D-Bus")
+ (description "This package provies Rust bindings to D-Bus.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-dbus-0.6
(package
+ (inherit rust-dbus-0.9)
(name "rust-dbus")
(version "0.6.5")
(source
@@ -12658,21 +12881,37 @@ sizes. Big-endian order is used. WARNING: Block must be aligned!")
(string-append name "-" version ".tar.gz"))
(sha256
(base32 "068qyxvaam34sjmhjgxz6iikklvylxly7gp6n00yksqydzrz1da8"))))
- (build-system cargo-build-system)
(arguments
`(#:tests? #f ;it needs display and sockets and launches daemons
#:cargo-inputs
(("rust-libc" ,rust-libc-0.2)
("rust-libdbus-sys" ,rust-libdbus-sys-0.2))
#:cargo-development-inputs
- (("rust-tempdir" ,rust-tempdir-0.3))))
+ (("rust-tempdir" ,rust-tempdir-0.3))))))
+
+(define-public rust-dbus-tree-0.9
+ (package
+ (name "rust-dbus-tree")
+ (version "0.9.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dbus-tree" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1l2gi8073cwvv5vxlg5lafw6sppyhgm88hhpq7hak424x4kifpmi"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-dbus" ,rust-dbus-0.9))))
(native-inputs
`(("pkg-config" ,pkg-config)))
(inputs
`(("dbus" ,dbus)))
(home-page "https://github.com/diwic/dbus-rs")
- (synopsis "Rust bindings to D-Bus")
- (description "This package provies Rust bindings to D-Bus.")
+ (synopsis "Framework for writing D-Bus method handlers (legacy)")
+ (description
+ "This crate is a framework for writing D-Bus method handlers (legacy).")
(license (list license:asl2.0 license:expat))))
(define-public rust-deadpool-0.7
@@ -14060,6 +14299,29 @@ Google's diff-match-patch.")
system libraries.")
(license license:expat)))
+(define-public rust-dlv-list-0.2
+ (package
+ (name "rust-dlv-list")
+ (version "0.2.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dlv-list" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "06r1nskj3x56p5wqz2bgl6q3rpyymrb0k0zpbvk8c6qcd4mkzpv8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-rand" ,rust-rand-0.8))))
+ (home-page "https://github.com/sgodwincs/dlv-list-rs")
+ (synopsis "Semi-doubly linked list implemented using a vector")
+ (description
+ "This crate provides semi-doubly linked lists implemented using
+a vector.")
+ (license license:expat)))
+
(define-public rust-dns-parser-0.8
(package
(name "rust-dns-parser")
@@ -14214,6 +14476,27 @@ from macros.")
("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
("rust-strsim" ,rust-strsim-0.5))))))
+(define-public rust-downcast-0.10
+ (package
+ (name "rust-downcast")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "downcast" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "07bh0l95gwrzak6rj29v8kkm577d8vivxsxhqgscf64b4bq59d2b"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://github.com/fkoep/downcast-rs")
+ (synopsis
+ "Trait for downcasting trait objects back to their original types")
+ (description
+ "This crate provides a trait for downcasting trait objects back to their
+original types.")
+ (license license:expat)))
+
(define-public rust-downcast-rs-1
(package
(name "rust-downcast-rs")
@@ -14870,6 +15153,62 @@ Emacs' support for dynamic modules.")
Emacs' support for dynamic modules.")
(license license:bsd-3)))
+(define-public rust-email-0.0.20
+ (package
+ (name "rust-email")
+ (version "0.0.20")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "email" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1r12byj69x6bkq0qn1zvi103n1pg5k3w8zym2dgich82pd8rlm4i"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-base64" ,rust-base64-0.9)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-encoding" ,rust-encoding-0.2)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-rand" ,rust-rand-0.4)
+ ("rust-time" ,rust-time-0.1)
+ ("rust-version-check" ,rust-version-check-0.1))))
+ (home-page "https://github.com/niax/rust-email")
+ (synopsis "Implementation of RFC 5322 email messages")
+ (description
+ "This crate provides an implementation of RFC 5322 email messages.")
+ (license license:expat)))
+
+(define-public rust-lettre-email-0.9
+ (package
+ (name "rust-lettre-email")
+ (version "0.9.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "lettre_email" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1mar4njchjd33q7s47r43njjj8farkb78f8ica77jj6gil7lh0px"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-base64" ,rust-base64-0.10)
+ ("rust-email" ,rust-email-0.0.20)
+ ("rust-lettre" ,rust-lettre-0.9)
+ ("rust-mime" ,rust-mime-0.3)
+ ("rust-time" ,rust-time-0.1)
+ ("rust-uuid" ,rust-uuid-0.7))))
+ (home-page "https://github.com/lettre/lettre")
+ (synopsis "Mailer library for Rust")
+ (description "Lettre is a mailer library for Rust. It provides multiple
+transport methods, unicode support, secure delivery with SMTP using encryption
+and authentication, easy email builders, and async support.")
+ (license license:expat)))
+
(define-public rust-embed-resource-1
(package
(name "rust-embed-resource")
@@ -15331,6 +15670,51 @@ implement enum_primitive.")
convert enum to u8 slice ref.")
(license license:bsd-3)))
+(define-public rust-enumflags2-0.6
+ (package
+ (name "rust-enumflags2")
+ (version "0.6.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "enumflags2" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "182xd6cxxmadx1axnz6x73d12pzgwkc712zq2lxd4z1k48lxij43"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-enumflags2-derive" ,rust-enumflags2-derive-0.6)
+ ("rust-serde" ,rust-serde-1))))
+ (home-page "https://github.com/NieDzejkob/enumflags2")
+ (synopsis "Enum-based bit flags")
+ (description "Enumflags2 is an Enum-based bit flags library.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-enumflags2-derive-0.6
+ (package
+ (name "rust-enumflags2-derive")
+ (version "0.6.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "enumflags2_derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1kkcwi4n76bi1c16ms00dyk4d393gdf29kpr4k9zsn5z7m7fjvll"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://github.com/NieDzejkob/enumflags2")
+ (synopsis "Rust library for typesystem-assisted bitflags")
+ (description "Enumflags2 implements the classic bitflags datastructure.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-env-logger-0.8
(package
(name "rust-env-logger")
@@ -16132,6 +16516,28 @@ implement features such as look-around and backtracking, which are not
supported in purely NFA-based implementations.")
(license license:expat)))
+(define-public rust-fast-chemail-0.9
+ (package
+ (name "rust-fast-chemail")
+ (version "0.9.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "fast_chemail" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1r79x2i7bhk8y4nv7q245dlifxryszmby4k3psm2qk321p9kjnj9"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-ascii-utils" ,rust-ascii-utils-0.9))))
+ (home-page "https://gitlab.com/fast_chemail/fast_chemail-rs")
+ (synopsis "Check email address")
+ (description "Fast Chemail is a library used to validate the email as it
+is defined in the HTML specification.")
+ (license license:mpl2.0)))
+
(define-public rust-fast-float-0.2
(package
(name "rust-fast-float")
@@ -17047,8 +17453,28 @@ implementation that is more efficient for smaller hash keys.")
syntax, as used by HTML forms.")
(license (list license:expat license:asl2.0))))
+(define-public rust-fragile-1
+ (package
+ (name "rust-fragile")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "fragile" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1wlihmkjyhvl5rckal32p010piy1l15s6l81h7z31jcd971kk839"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://github.com/mitsuhiko/rust-fragile")
+ (synopsis "Wrapper types for sending non-send values to other threads")
+ (description "This package provides wrapper types for sending non-send
+values to other threads.")
+ (license license:asl2.0)))
+
(define-public rust-fragile-0.3
(package
+ (inherit rust-fragile-1)
(name "rust-fragile")
(version "0.3.0")
(source
@@ -17059,13 +17485,7 @@ syntax, as used by HTML forms.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1yf2hmkw52x2dva3c9km1x8c2z5kwby7qqn8kz5ms3gs480i9y05"))))
- (build-system cargo-build-system)
- (home-page "https://github.com/mitsuhiko/rust-fragile")
- (synopsis "Wrapper types for sending non-send values to other threads")
- (description "This package provides wrapper types for sending non-send
-values to other threads.")
- (license license:asl2.0)))
+ "1yf2hmkw52x2dva3c9km1x8c2z5kwby7qqn8kz5ms3gs480i9y05"))))))
(define-public rust-freetype-0.4
(package
@@ -18721,6 +19141,31 @@ interfaces on the system.")
@code{_getch} on Windows, and @code{termios} on Unix.")
(license license:asl2.0)))
+(define-public rust-gethostname-0.2
+ (package
+ (name "rust-gethostname")
+ (version "0.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gethostname" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0a609j9dhk816il2f2a01avvi5sqzxh0p38nxwrja7dcpybf54p6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; test panics
+ #:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs
+ (("rust-pretty-assertions" ,rust-pretty-assertions-0.6))))
+ (home-page "https://github.com/lunaryorn/gethostname.rs")
+ (synopsis "Gethostname for all platforms")
+ (description "This library provides @code{gethostname()} for all
+platforms.")
+ (license license:asl2.0)))
+
(define-public rust-getopts-0.2
(package
(name "rust-getopts")
@@ -24138,6 +24583,38 @@ requires non-const function calls to be computed.")
"This package provides a library providing a lazily filled Cell struct.")
(license (list license:expat license:asl2.0))))
+(define-public rust-lettre-0.9
+ (package
+ (name "rust-lettre")
+ (version "0.9.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "lettre" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1pk0jsbjlzijl1m8l2nxxbfll6lk2dbc6ja9mdrvaxc92dvqdvc6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-base64" ,rust-base64-0.10)
+ ("rust-bufstream" ,rust-bufstream-0.1)
+ ("rust-fast-chemail" ,rust-fast-chemail-0.9)
+ ("rust-hostname" ,rust-hostname-0.1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-native-tls" ,rust-native-tls-0.2)
+ ("rust-nom" ,rust-nom-4)
+ ("rust-r2d2" ,rust-r2d2)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-serde-json" ,rust-serde-json-1))))
+ (home-page "https://lettre.rs")
+ (synopsis "Rust email client")
+ (description "lettre is an email client for Rust programs allowing easily
+sending emails from Rust applications.")
+ (license license:expat)))
+
(define-public rust-lexical-core-0.7
(package
(name "rust-lexical-core")
@@ -25911,6 +26388,57 @@ Mach 3.0 kernel that underlies OSX.")
library")
(license (list license:asl2.0 license:expat))))
+(define-public rust-maildir-0.5
+ (package
+ (name "rust-maildir")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "maildir" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0pivq6njjmfnf0jn6i8sihbfgly6v674zwncd6f5nwiw79lz9p3a"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-gethostname" ,rust-gethostname-0.2)
+ ("rust-mailparse" ,rust-mailparse-0.13)
+ ("rust-memmap" ,rust-memmap-0.7))
+ #:cargo-development-inputs
+ (("rust-percent-encoding" ,rust-percent-encoding-1)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-walkdir" ,rust-walkdir-2))))
+ (home-page "https://github.com/staktrace/maildir")
+ (synopsis "Simple library for maildir manipulation")
+ (description
+ "This package provides a simple library for maildir manipulation.")
+ (license license:bsd-0)))
+
+(define-public rust-mailparse-0.13
+ (package
+ (name "rust-mailparse")
+ (version "0.13.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "mailparse" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1qacyzfl3wsl745b92w9gj0mjg43rcwg99l96rmg8l1sq5pm4vy0"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-base64" ,rust-base64-0.13)
+ ("rust-charset" ,rust-charset-0.1)
+ ("rust-quoted-printable" ,rust-quoted-printable-0.4))))
+ (home-page "https://github.com/staktrace/mailparse")
+ (synopsis "Simple parser for MIME e-mail messages")
+ (description
+ "This package provides a simple parser for MIME e-mail messages.")
+ (license license:bsd-0)))
+
(define-public rust-make-cmd-0.1
(package
(name "rust-make-cmd")
@@ -27501,6 +28029,91 @@ IOCP and Async I/O abstractions.")
#:cargo-development-inputs
(("rust-rand" ,rust-rand-0.3))))))
+(define-public rust-mockall-0.10
+ (package
+ (name "rust-mockall")
+ (version "0.10.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "mockall" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1h4s2bpkkm0zyd6mnc3718p0ysmcxyiwrjlk4hrawy7si8r73dba"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-downcast" ,rust-downcast-0.10)
+ ("rust-fragile" ,rust-fragile-1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-mockall-derive" ,rust-mockall-derive-0.10)
+ ("rust-predicates" ,rust-predicates-1)
+ ("rust-predicates-tree" ,rust-predicates-tree-1))
+ #:cargo-development-inputs
+ (("rust-async-trait" ,rust-async-trait-0.1)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-mockall-double" ,rust-mockall-double-0.2)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-tracing" ,rust-tracing-0.1))))
+ (home-page "https://github.com/asomers/mockall")
+ (synopsis "Mock object library for Rust")
+ (description "This package provides a powerful mock object library for
+Rust.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-mockall-derive-0.10
+ (package
+ (name "rust-mockall-derive")
+ (version "0.10.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "mockall_derive" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0cwhcfsc16b8p4yrsrxnhfxfdn0n89cmjja13wb6kxik8hhmpqp7"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://github.com/asomers/mockall")
+ (synopsis "Procedural macros for Mockall")
+ (description "This crate provides procedural macros for Mockall.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-mockall-double-0.2
+ (package
+ (name "rust-mockall-double")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "mockall_double" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ib7ahq98ah13i69ypx6wrkc3ksmjw3jkmh0s2qi7dxj6j6vf99y"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://github.com/asomers/mockall")
+ (synopsis "Test double adapter for Mockall")
+ (description "This crate tests double adapter for Mockall.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-mockito-0.23
(package
(name "rust-mockito")
@@ -28470,6 +29083,32 @@ general elements and for numerics.")
(description "This package provides FFI bindings for the Android NDK.")
(license (list license:expat license:asl2.0))))
+(define-public rust-neli-0.4
+ (package
+ (name "rust-neli")
+ (version "0.4.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "neli" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1lxnns9vfrsiwksscjgr7yvgpc5658lw07d745ir37r5pn19fpp8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-buffering" ,rust-buffering-0.4)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-mio" ,rust-mio-0.6)
+ ("rust-tokio" ,rust-tokio-0.1))))
+ (home-page "https://github.com/jbaublitz/neli")
+ (synopsis "Type safe netlink library written in Rust")
+ (description
+ "This crate is a type safe netlink library written in Rust.")
+ (license license:bsd-3)))
+
(define-public rust-neso-0.5
(package
(name "rust-neso")
@@ -29001,6 +29640,30 @@ while still providing platform specific APIs.")
(base32
"1kmxdlmvnmq8cfpmr3g6wk37rwi2ybdvp1z6z3831m1p23p2nwkc"))))))
+(define-public rust-nl80211-0.0.2
+ (package
+ (name "rust-nl80211")
+ (version "0.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "nl80211" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0jgx12qy0a004sc4qpr3ahgn9gma3rln9gsxiq4cdw6dd8h4dmx0"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-buffering" ,rust-buffering-0.3)
+ ("rust-hex" ,rust-hex-0.4)
+ ("rust-neli" ,rust-neli-0.4))))
+ (home-page "https://github.com/Eonm/nl80211")
+ (synopsis "Send commands to nl80211 and receive messages")
+ (description
+ "This crate provides a low level access to nl80211. It can send commands
+to nl80211 and receive messages.")
+ (license license:expat)))
+
(define-public rust-no-panic-0.1
(package
(name "rust-no-panic")
@@ -29417,6 +30080,47 @@ with all line endings.")
(("rust-tempfile" ,rust-tempfile-3))))
(license license:cc0)))
+(define-public rust-notmuch-0.6
+ (package
+ (name "rust-notmuch")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "notmuch" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "19q93iyvx4liksm09mhq9ibm8zj7i3dizc1s40f916z0kbpn9k5w"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;see https://github.com/vhdirk/notmuch-rs/issues/35
+ #:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-supercow" ,rust-supercow-0.1))
+ #:cargo-development-inputs
+ (("rust-dirs" ,rust-dirs-1)
+ ("rust-gethostname" ,rust-gethostname-0.2)
+ ("rust-lettre" ,rust-lettre-0.9)
+ ("rust-lettre-email" ,rust-lettre-email-0.9)
+ ("rust-maildir" ,rust-maildir-0.5)
+ ("rust-tempfile" ,rust-tempfile-3))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-maildir-version
+ (lambda* _
+ (substitute* "Cargo.toml"
+ (("version = \"0.3.2\"") "version = \"0.5.0\"")))))))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("openssl" ,openssl)
+ ("notmuch" ,notmuch)))
+ (home-page "https://github.com/vhdirk/notmuch-rs")
+ (synopsis "Rust interface and bindings for Notmuch")
+ (description
+ "This crate provides a Rust interface and bindings for Notmuch.")
+ (license license:gpl3+)))
+
(define-public rust-ntapi-0.3
(package
(name "rust-ntapi")
@@ -30782,18 +31486,20 @@ contents.")
(define-public rust-open-1
(package
(name "rust-open")
- (version "1.4.0")
+ (version "1.7.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "open" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0j6ci7jc2aabvw0rvq7a51sw9s2rk3mfsq0s5zjakzjf27q3na3w"))))
+ (base32 "00828zcxdy3r38inz48jgnszgvqgi1a3bi2rrhij86mqsqq7msnw"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
- (("rust-winapi" ,rust-winapi-0.3))))
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-pathdiff" ,rust-pathdiff-0.2)
+ ("rust-winapi" ,rust-winapi-0.3))))
(home-page "https://github.com/Byron/open-rs")
(synopsis "Open a path or URL using the program configured on the system")
(description
@@ -31091,6 +31797,30 @@ PartialOrd types, like floats.")
(base32
"0625x96987kspdxbikry5mb7hsf5pdc5bbanxd8wjwqlx0ar71hq"))))))
+(define-public rust-ordered-multimap-0.3
+ (package
+ (name "rust-ordered-multimap")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ordered-multimap" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1194q7sb2d6chbllsn7237dhhvx04iqr3sq0ii16w1pcv5x2qrqw"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-dlv-list" ,rust-dlv-list-0.2)
+ ("rust-hashbrown" ,rust-hashbrown-0.9)
+ ("rust-serde" ,rust-serde-1))))
+ (home-page "https://github.com/sgodwincs/ordered-multimap-rs")
+ (synopsis "Insertion ordered multimap")
+ (description "This crate provides a multimap type object that maintains
+insertion order across all keys and values.")
+ (license license:expat)))
+
(define-public rust-ordermap-0.3
(package
(name "rust-ordermap")
@@ -31124,6 +31854,33 @@ iteration. NOTE: This crate was renamed to @code{indexmap}. Please use it
under its new name.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-os-info-3
+ (package
+ (name "rust-os-info")
+ (version "3.0.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "os_info" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1pbcf2in8i9w6zjzk6jmrd89gm5h7qpyqi3hvkl0axpzp1m57lmk"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-development-inputs
+ (("rust-doc-comment" ,rust-doc-comment-0.3)
+ ("rust-pretty-assertions" ,rust-pretty-assertions-0.7))
+ #:cargo-inputs
+ (("rust-log" ,rust-log-0.4)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://github.com/stanislav-tkach/os_info")
+ (synopsis "Detect the operating system type and version")
+ (description
+ "This library detects the operating system type and version.")
+ (license license:expat)))
+
(define-public rust-os-pipe-0.8
(package
(name "rust-os-pipe")
@@ -31364,6 +32121,30 @@ normally prevent moving a type that has been borrowed from.")
"This package provides a library for padding strings at runtime.")
(license license:expat)))
+(define-public rust-pager-0.15
+ (package
+ (name "rust-pager")
+ (version "0.15.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pager" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0a35mg68s0p63ya2k5hsg620c4llkjw2fx1sfi0laz4pz8myv75n"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-errno" ,rust-errno-0.2)
+ ("rust-libc" ,rust-libc-0.2))))
+ (home-page "https://gitlab.com/imp/pager-rs.git")
+ (synopsis "Helps pipe your output through an external pager")
+ (description
+ "This package pipes your Rust output through an external pager.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-palette-0.5
(package
(name "rust-palette")
@@ -32105,10 +32886,10 @@ Rust with reasonable performance.")
path.Clean.")
(license (list license:expat license:asl2.0))))
-(define-public rust-pathdiff-0.1
+(define-public rust-pathdiff-0.2
(package
(name "rust-pathdiff")
- (version "0.1.0")
+ (version "0.2.0")
(source
(origin
(method url-fetch)
@@ -32117,8 +32898,9 @@ path.Clean.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0cfg3isnx6mf3wbi7rsg4nmvywby40sbcs589n20fgi09l4p1gx3"))))
+ "0d2aqgrqhdn5kxlnd5dxv7d6pgsgf92r6r9gqm6bdh0mvsrk0xl7"))))
(build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
(home-page "https://github.com/Manishearth/pathdiff")
(synopsis "Library for diffing paths to obtain relative paths")
(description
@@ -32126,6 +32908,21 @@ path.Clean.")
directory path to the provided path.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-pathdiff-0.1
+ (package
+ (inherit rust-pathdiff-0.2)
+ (name "rust-pathdiff")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pathdiff" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0cfg3isnx6mf3wbi7rsg4nmvywby40sbcs589n20fgi09l4p1gx3"))))))
+
(define-public rust-pbkdf2-0.4
(package
(name "rust-pbkdf2")
@@ -34686,21 +35483,26 @@ replacements, adding colorful diffs.")
formatted tables in terminal.")
(license license:bsd-3)))
-(define-public rust-proc-macro-crate-0.1
+(define-public rust-proc-macro-crate-1
(package
(name "rust-proc-macro-crate")
- (version "0.1.5")
+ (version "1.0.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "proc-macro-crate" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "11cpihdk9ba68hzw95aa8zxn0i5g6kdrfd4l2cy3d5jvb72a6vhx"))))
+ (base32 "14pzgkpnlzq6y7yc749h2lwd1mv44min4iszjk2znmi1yqfvvza1"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-toml" ,rust-toml-0.5))))
+ (("rust-thiserror" ,rust-thiserror-1)
+ ("rust-toml" ,rust-toml-0.5))
+ #:cargo-development-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
(home-page "https://github.com/bkchr/proc-macro-crate")
(synopsis "Support for @code{$crate} in procedural macros")
(description
@@ -34708,6 +35510,22 @@ formatted tables in terminal.")
renamed in @file{Cargo.toml}.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-proc-macro-crate-0.1
+ (package
+ (inherit rust-proc-macro-crate-1)
+ (name "rust-proc-macro-crate")
+ (version "0.1.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "proc-macro-crate" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "11cpihdk9ba68hzw95aa8zxn0i5g6kdrfd4l2cy3d5jvb72a6vhx"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-toml" ,rust-toml-0.5))))))
+
(define-public rust-proc-macro-error-1
(package
(name "rust-proc-macro-error")
@@ -35004,6 +35822,54 @@ macro use case.")
@code{proc_macro_derive} pretend to be @code{proc_macro}.")
(license (list license:expat license:asl2.0))))
+(define-public rust-process-control-3
+ (package
+ (name "rust-process-control")
+ (version "3.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "process_control" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1v5j6ajr3fprpay8754874rmi622a1vk5rld88p1jk04wha413pm"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://github.com/dylni/process_control")
+ (synopsis "Methods for ergonomically running processes with timeouts")
+ (description
+ "This crate allows running a process with a timeout, with the option to
+terminate it automatically afterward.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-progress-0.2
+ (package
+ (name "rust-progress")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "progress" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0i0w5zh2hm4l16ibg5mgr9pf3vpybhhx0zrs0nb8d191awq21f0p"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; 2 tests fail
+ #:cargo-inputs
+ (("rust-terminal-size" ,rust-terminal-size-0.1))))
+ (home-page "https://github.com/TheKK/progress")
+ (synopsis "Library for showing text based progress bar and job status")
+ (description
+ "This library is used for showing text based progress bar and job
+status.")
+ (license license:expat)))
+
(define-public rust-progressing-3
(package
(name "rust-progressing")
@@ -36065,6 +36931,26 @@ integers, floats, tuples, booleans, lists, strings, options and results.")
"0yhnnix4dzsv8y4wwz4csbnqjfh73al33j35msr10py6cl5r4vks"))))
(arguments '())))
+(define-public rust-quoted-printable-0.4
+ (package
+ (name "rust-quoted-printable")
+ (version "0.4.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "quoted_printable" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ig9b5nr2i2f72smsjkkx8pwpxp9vz2090dhi7n4jdlj15mjaf0j"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://github.com/staktrace/quoted-printable")
+ (synopsis "Simple encoder/decoder for quoted-printable data")
+ (description
+ "This package provides a simple encoder/decoder for quoted-printable
+data.")
+ (license license:bsd-0)))
+
(define-public rust-r2d2
(package
(name "rust-r2d2")
@@ -37802,14 +38688,7 @@ uses finite automata and guarantees linear time matching on all inputs.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1rzqbsgkmr053bxxl04vmvsd1njyz0nxvly97aip6aa2cmb15k9s"))
- (modules '((guix build utils)))
- (snippet
- '(begin
- ;; 'doctest' isn't stable until rust-1.40
- (substitute* "src/lib.rs"
- (("\\(doctest") "(test"))
- #t))))
+ "1rzqbsgkmr053bxxl04vmvsd1njyz0nxvly97aip6aa2cmb15k9s"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -37824,6 +38703,29 @@ uses finite automata and guarantees linear time matching on all inputs.")
(license (list license:asl2.0
license:expat))))
+;; rust-remove-dir-all-0.5.2 is only needed for tealdeer at 1.4.1
+;; Remove rust-remove-dir-all-0.5.2 when tealdeer is updated
+(define-public rust-remove-dir-all-0.5.2
+ (package
+ (inherit rust-remove-dir-all-0.5)
+ (name "rust-remove-dir-all")
+ (version "0.5.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "remove_dir_all" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0bkrlyg26mgizpiy1yb2hhpgscxcag8r5fnckqsvk25608vzm0sa"))))
+ (arguments
+ `(#:tests? #f ; README.md is missing.
+ #:cargo-inputs
+ (("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs
+ (("rust-doc-comment" ,rust-doc-comment-0.3))))))
+
(define-public rust-reopen-0.3
(package
(name "rust-reopen")
@@ -39456,25 +40358,44 @@ the file-system during development.")
"This package provides a sys crate for the rust_hawktracer library.")
(license (list license:expat license:asl2.0))))
-(define-public rust-rust-ini-0.13
+(define-public rust-rust-ini-0.17
(package
(name "rust-rust-ini")
- (version "0.13.0")
+ (version "0.17.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "rust-ini" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1hifnbgaz01zja5995chy6vjacbif2m76nlxsisw7y1pxx4c2liy"))))
+ (base32 "08hfh6p2svznza3m07vavsc4c8x4g6d715sz58rzh73sm551qiv3"))))
(build-system cargo-build-system)
- (arguments `(#:skip-build? #t))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-ordered-multimap" ,rust-ordered-multimap-0.3)
+ ("rust-unicase" ,rust-unicase-2))))
(home-page "https://github.com/zonyitoo/rust-ini")
(synopsis "INI configuration file parsing library in Rust")
(description
"This package is an INI configuration file parsing library in Rust.")
(license license:expat)))
+(define-public rust-rust-ini-0.13
+ (package
+ (inherit rust-rust-ini-0.17)
+ (name "rust-rust-ini")
+ (version "0.13.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rust-ini" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1hifnbgaz01zja5995chy6vjacbif2m76nlxsisw7y1pxx4c2liy"))))
+ (arguments `(#:skip-build? #t))))
+
(define-public rust-rustbox-0.11
(package
(name "rust-rustbox")
@@ -41994,8 +42915,31 @@ macOS and iOS.")
(description "Rust semaphore library.")
(license license:expat)))
+(define-public rust-semver-1
+ (package
+ (name "rust-semver")
+ (version "1.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "semver" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1gna1p10i86sf1pqfqndkwl0wks35x84yvjw77c74ckzxrbsqfjz"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-serde" ,rust-serde-1))))
+ (home-page "https://docs.rs/crate/semver")
+ (synopsis "Semantic version parsing and comparison")
+ (description
+ "This package provides semantic version parsing and comparison.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-semver-0.11
(package
+ (inherit rust-semver-1)
(name "rust-semver")
(version "0.11.0")
(source
@@ -42005,17 +42949,11 @@ macOS and iOS.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1dn6064fipjymnmjccyjhb70miyvqvp08gvw1wbg8vbg4c8ay0gk"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-diesel" ,rust-diesel-1)
("rust-semver-parser" ,rust-semver-parser-0.10)
- ("rust-serde" ,rust-serde-1))))
- (home-page "https://docs.rs/crate/semver/")
- (synopsis "Semantic version parsing and comparison")
- (description
- "This package provides semantic version parsing and comparison.")
- (license (list license:expat license:asl2.0))))
+ ("rust-serde" ,rust-serde-1))))))
(define-public rust-semver-0.10
(package
@@ -43112,6 +44050,31 @@ for later processing.")
(("rust-ordered-float" ,rust-ordered-float-1)
("rust-serde" ,rust-serde-1))))))
+(define-public rust-serde-xml-rs-0.4
+ (package
+ (name "rust-serde-xml-rs")
+ (version "0.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "serde-xml-rs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ykx1xkfd59gf0ijnp93xhpd457xy4zi8xv2hrr0ikvcd6h1pgzh"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-log" ,rust-log-0.4)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-xml-rs" ,rust-xml-rs-0.8))))
+ (home-page "https://github.com/RReverser/serde-xml-rs")
+ (synopsis "XML based deserializer for Serde")
+ (description
+ "This crate provides an XML based deserializer for Serde.")
+ (license license:expat)))
+
(define-public rust-serde-yaml-0.8
(package
(name "rust-serde-yaml")
@@ -44522,6 +45485,27 @@ data type.")
(base32 "08xw8w61zdfn1094qkq1d554vh5wmm9bqdys8gqqxc4sv2pgrd0p"))))
(arguments `(#:skip-build? #t))))
+(define-public rust-path-slash-0.1
+ (package
+ (name "rust-path-slash")
+ (version "0.1.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "path-slash" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "06dnnmd3fvmr9ngwgj0xrfj9s8h09m9dgf3zlqsbalzk9wybpb1w"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://github.com/rhysd/path-slash")
+ (synopsis "Conversion to/from a file path from/to slash path")
+ (description
+ "Path-slash is a tiny library to convert a file path (e.g., @samp{foo/bar},
+@samp{foo\bar} or @samp{C:\foo\bar}) from or to slash path (e.g.,
+@samp{foo/bar}, @samp{C:/foo/bar}).")
+ (license license:expat)))
+
;; TODO: Unbundle sleef.
(define-public rust-sleef-sys-0.1
(package
@@ -45481,6 +46465,31 @@ deeply recursive algorithms that may accidentally blow the stack.")
(description "New standard library, old compiler.")
(license (list license:expat license:asl2.0))))
+(define-public rust-starship-module-config-derive-0.2
+ (package
+ (name "rust-starship-module-config-derive")
+ (version "0.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "starship_module_config_derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "09327jvaf2b4xwg0s8l3afrrg140illa0ff6wkwfi4i8pl7dpacp"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://starship.rs")
+ (synopsis "Minimal, fast and customizable prompt for any shell")
+ (description
+ "This crate provides a minimal, fast, and customizable prompt for any
+shell.")
+ (license license:isc)))
+
(define-public rust-state-0.4
(package
(name "rust-state")
@@ -46539,6 +47548,25 @@ cryptographic implementations.")
alike. It's completely modular, and built directly for @code{async/await}.")
(license (list license:expat license:asl2.0))))
+(define-public rust-supercow-0.1
+ (package
+ (name "rust-supercow")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "supercow" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0qxxk2z4pa7ni17bdhix9syhax0nnnpbjjpsinkhd8vsnknmh5qp"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/altsysrq/supercow")
+ (synopsis "Generic way to accept general reference-like values")
+ (description
+ "This package provides a generic way to accept general reference-like
+values without proliferating generics.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-surf-1
(package
(inherit rust-surf-2)
@@ -46702,6 +47730,51 @@ alike. It's completely modular, and built directly for @code{async/await}.")
("rust-syn" ,rust-syn-1)
("rust-quote" ,rust-quote-1))))))
+(define-public rust-swayipc-2
+ (package
+ (name "rust-swayipc")
+ (version "2.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "swayipc" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "03r15c2sijyrxmpsyjgma4gz7zmdl1g8akjnjkw6hrml91d5dilj"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; test sync::tests::connect ... FAILED
+ #:cargo-inputs
+ (("rust-serde" ,rust-serde-1)
+ ("rust-async-std" ,rust-async-std-1)
+ ("rust-swayipc-command-builder" ,rust-swayipc-command-builder-0.1)
+ ("rust-serde-json" ,rust-serde-json-1))))
+ (home-page "https://github.com/jaycefayne/swayipc-rs")
+ (synopsis "Library for controlling sway through its IPC interface")
+ (description
+ "This package provides a library for controlling sway through its IPC
+interface.")
+ (license license:expat)))
+
+(define-public rust-swayipc-command-builder-0.1
+ (package
+ (name "rust-swayipc-command-builder")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "swayipc-command-builder" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1w7sjl05c7rpgskk11i5969mv8pdbh0qrkp8djvy46hk9df9qig7"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/jaycefayne/swayipc-command-builder")
+ (synopsis "Library for building commands that can be executed by swayipc")
+ (description
+ "This package provides a library for building commands that can be
+executed by swayipc.")
+ (license license:expat)))
+
(define-public rust-swc-1
(package
(name "rust-swc")
@@ -51685,17 +52758,18 @@ server @code{Service} tests.")
(description "This package provides utilities for working with
@code{Service}.")
(license license:expat)))
+
(define-public rust-tracing-0.1
(package
(name "rust-tracing")
- (version "0.1.22")
+ (version "0.1.23")
(source
(origin
(method url-fetch)
(uri (crate-uri "tracing" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1qzg7rcfby8f2nn1ln3gk6fjc80q0bg8fw5k95zc1020vin04iwz"))))
+ (base32 "1ww7akgck54yc9a2yrl7qnvqpqgwiz6ab2cd1lq377h2zli0mm7p"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -51719,7 +52793,7 @@ programs to collect structured, event-based diagnostic information.")
(define-public rust-tracing-attributes-0.1
(package
(name "rust-tracing-attributes")
- (version "0.1.11")
+ (version "0.1.12")
(source
(origin
(method url-fetch)
@@ -51727,7 +52801,7 @@ programs to collect structured, event-based diagnostic information.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1njady03jycfarjbmbhnrpsl6s9pd9knp50c4z70rnkq6gycrq40"))))
+ "0iwzcbcrkyn7bnhdnzp4lanw3md2dx15jr3nyi7881s1gvm81w23"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -54844,6 +55918,31 @@ updated when the crate version changes.")
("rust-toml" ,rust-toml-0.4)
("rust-url" ,rust-url-1))))))
+(define-public rust-versions-3
+ (package
+ (name "rust-versions")
+ (version "3.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "versions" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ffjw6mbsm3nrgg03b76jfc41lg44yz1pyqmv6zj37q88i6y4wri"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-itertools" ,rust-itertools-0.10)
+ ("rust-nom" ,rust-nom-6)
+ ("rust-serde" ,rust-serde-1))))
+ (home-page "https://github.com/fosskers/rs-versions")
+ (synopsis "Library for parsing and comparing software version numbers")
+ (description
+ "This package provides a library for parsing and comparing software
+version numbers.")
+ (license license:expat)))
+
(define-public rust-void-1
(package
(name "rust-void")
@@ -56291,10 +57390,14 @@ command-line, uniformly on all platforms")
(origin
(method url-fetch)
(uri (crate-uri "winapi-i686-pc-windows-gnu" version))
- (file-name (string-append name "-" version ".crate"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1dmpa6mvcvzz16zg6d5vrfy4bxgg541wxrcip7cnshi06v38ffxc"))))
+ "1dmpa6mvcvzz16zg6d5vrfy4bxgg541wxrcip7cnshi06v38ffxc"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (for-each delete-file (find-files "." "\\.a$"))))))
(build-system cargo-build-system)
(home-page "https://github.com/retep998/winapi-rs")
(synopsis "Import libraries for the i686-pc-windows-gnu target")
@@ -56335,10 +57438,14 @@ winapi.")
(origin
(method url-fetch)
(uri (crate-uri "winapi-x86_64-pc-windows-gnu" version))
- (file-name (string-append name "-" version ".crate"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0gqq64czqb64kskjryj8isp62m2sgvx25yyj3kpc2myh85w24bki"))))
+ "0gqq64czqb64kskjryj8isp62m2sgvx25yyj3kpc2myh85w24bki"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (for-each delete-file (find-files "." "\\.a$"))))))
(build-system cargo-build-system)
(home-page "https://github.com/retep998/winapi-rs")
(synopsis "Import libraries for the x86_64-pc-windows-gnu target")
@@ -56488,7 +57595,8 @@ trust these primitives.")
(base32
"0sdxcyvda4v1v6a0k1j2v1400z3ng323k9a56gxvkq51x21dn801"))))
(arguments
- `(#:cargo-inputs
+ `(#:skip-build? #t
+ #:cargo-inputs
(("rust-chrono" ,rust-chrono-0.4)
("rust-serde" ,rust-serde-1)
("rust-winapi" ,rust-winapi-0.3))
@@ -57433,7 +58541,7 @@ compression library.")
(home-page "http://www.hashmismatch.net/libraries/packed-struct/")
(synopsis "Binary-level structure packing and unpacking generator")
(description "This package provides bit-level packing an unpacking
-of structs. The library provides a meta-programming approach, using
+of structs. Tkhe library provides a meta-programming approach, using
attributes to define fields and how they should be packed. The resulting
trait implementations provide safe packing, unpacking and runtime debugging
formatters with per-field documentation generated for each structure.