aboutsummaryrefslogtreecommitdiff
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.scm281
1 files changed, 252 insertions, 29 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3c83563c45..7dba764950 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31,6 +31,7 @@
;;; Copyright © 2022 Greg Hogan <code@greghogan.com>
;;; Copyright © 2022 Paul A. Patience <paul@apatience.com>
;;; Copyright © 2022 Paul Alesius <paul@unnservice.com>
+;;; Copyright © 2023 Arnav Andrew Jose <arnav.jose@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -15421,6 +15422,41 @@ conversion factors for even more numerous measurement units (meter, kilometer, f
mile, ...).")
(license (list license:expat license:asl2.0))))
+(define-public rust-cradle-0.2
+ (package
+ (name "rust-cradle")
+ (version "0.2.2")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "cradle" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "16n04y60jps91dsw5fs6p8zash052y82aclg57kkvm9320n155kh"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin (substitute* "Cargo.toml"
+ (("version = \"=") "version = \"^"))))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; Not all files included.
+ #:cargo-inputs
+ (("rust-executable-path" ,rust-executable-path-1)
+ ("rust-gag" ,rust-gag-0.1)
+ ("rust-nix" ,rust-nix-0.22)
+ ("rust-rustversion" ,rust-rustversion-1))
+ #:cargo-development-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-executable-path" ,rust-executable-path-1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-pretty-assertions" ,rust-pretty-assertions-1)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-unindent" ,rust-unindent-0.1))))
+ (home-page "https://github.com/soenkehahn/cradle")
+ (synopsis "Execute child processes with ease")
+ (description "Execute child processes with ease.")
+ (license license:cc0)))
+
(define-public rust-crates-index-0.18
(package
(name "rust-crates-index")
@@ -20966,6 +21002,37 @@ Rust.")
("rust-regex" ,rust-regex-0.2)
("rust-syn" ,rust-syn-0.11))))))
+(define-public rust-dotenvy-0.15
+ (package
+ (name "rust-dotenvy")
+ (version "0.15.7")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "dotenvy" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "16s3n973n5aqym02692i1npb079n5mb0fwql42ikmwn8wnrrbbqs"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags
+ ;; Not all files included.
+ '("--release" "--"
+ "--skip=dotenv"
+ "--skip=dotenv_iter"
+ "--skip=dotenv_override"
+ "--skip=from_filename"
+ "--skip=from_filename_override")
+ #:cargo-inputs
+ (("rust-clap" ,rust-clap-3))
+ #:cargo-development-inputs
+ (("rust-once-cell" ,rust-once-cell-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (home-page "https://github.com/allan2/dotenvy")
+ (synopsis "Fork of the dotenv crate")
+ (description "This package provides a fork of the dotenv crate.")
+ (license license:expat)))
+
(define-public rust-draw-state-0.8
(package
(name "rust-draw-state")
@@ -23179,6 +23246,23 @@ You can use this crate to turn non-blocking data structures into async or
blocking data structures.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-executable-path-1
+ (package
+ (name "rust-executable-path")
+ (version "1.0.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "executable-path" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0y0lhhrx9f9q1f81am3b20f8znixjcvqfg7kx220pjg3i5nmmg1y"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/casey/rust-executable-path")
+ (synopsis "Get the path of a binary target's executable")
+ (description "Get the path of a binary target's executable.")
+ (license license:cc0)))
+
(define-public rust-executors-0.9
(package
(name "rust-executors")
@@ -34534,6 +34618,23 @@ a no_std environment. This does not depend on any standard library features,
nor a system allocator.")
(license (list license:expat license:asl2.0))))
+(define-public rust-lexiclean-0.0.1
+ (package
+ (name "rust-lexiclean")
+ (version "0.0.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "lexiclean" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1rb8sky7gi75a7xxn6xrfkrbqkp465npm54p5s89ysqhgc0ja4j4"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/casey/lexiclean")
+ (synopsis "Lexically clean paths")
+ (description "Lexically clean paths")
+ (license license:cc0)))
+
(define-public rust-lexopt-0.3
(package
(name "rust-lexopt")
@@ -62802,21 +62903,22 @@ monotone matrix.")
clone.")
(license (list license:expat license:asl2.0))))
-(define-public rust-snafu-derive-0.6
+(define-public rust-snafu-derive-0.7
(package
(name "rust-snafu-derive")
- (version "0.6.10")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "snafu-derive" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "0nri7ma06g5kimpcdcm8359a55nmps5f3kcngy0j6bin7jhfy20m"))))
+ (version "0.7.5")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "snafu-derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1gzy9rzggs090zf7hfvgp4lm1glrmg9qzh796686jnq7bxk7j04r"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-proc-macro2" ,rust-proc-macro2-1)
+ (("rust-heck" ,rust-heck-0.4)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))
(home-page "https://github.com/shepmaster/snafu")
@@ -62825,32 +62927,70 @@ clone.")
package provides derive macros.")
(license (list license:expat license:asl2.0))))
-(define-public rust-snafu-0.6
+(define-public rust-snafu-derive-0.6
(package
- (name "rust-snafu")
+ (inherit rust-snafu-derive-0.7)
+ (name "rust-snafu-derive")
(version "0.6.10")
(source
(origin
(method url-fetch)
- (uri (crate-uri "snafu" version))
+ (uri (crate-uri "snafu-derive" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "19wwqxwb85pl040qk5xylj0vlznib3xzy9hcv2q0h8qv4qy2vcga"))))
+ (base32 "0nri7ma06g5kimpcdcm8359a55nmps5f3kcngy0j6bin7jhfy20m"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))))
+
+(define-public rust-snafu-0.7
+ (package
+ (name "rust-snafu")
+ (version "0.7.5")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "snafu" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1mj2j2gfbf8mm1hr02zrbrqrh2zp01f61xgkx0lpln2w0ankgpp4"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-backtrace" ,rust-backtrace-0.3)
("rust-doc-comment" ,rust-doc-comment-0.3)
("rust-futures" ,rust-futures-0.3)
- ("rust-futures" ,rust-futures-0.1)
("rust-futures-core" ,rust-futures-core-0.3)
- ("rust-pin-project" ,rust-pin-project-0.4)
- ("rust-snafu-derive" ,rust-snafu-derive-0.6))))
+ ("rust-pin-project" ,rust-pin-project-1)
+ ("rust-snafu-derive" ,rust-snafu-derive-0.7))))
(home-page "https://github.com/shepmaster/snafu")
(synopsis "Ergonomic error handling library")
(description "Snafu aims to be an ergonomic error handling library.")
(license (list license:expat license:asl2.0))))
+(define-public rust-snafu-0.6
+ (package
+ (inherit rust-snafu-0.7)
+ (name "rust-snafu")
+ (version "0.6.10")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "snafu" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "19wwqxwb85pl040qk5xylj0vlznib3xzy9hcv2q0h8qv4qy2vcga"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-backtrace" ,rust-backtrace-0.3)
+ ("rust-doc-comment" ,rust-doc-comment-0.3)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-futures" ,rust-futures-0.1)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-pin-project" ,rust-pin-project-0.4)
+ ("rust-snafu-derive" ,rust-snafu-derive-0.6))))))
+
(define-public rust-snap-1
(package
(name "rust-snap")
@@ -65028,22 +65168,25 @@ struct.")
"Parse command line argument by defining a struct, derive crate.")
(license (list license:asl2.0 license:expat))))
-(define-public rust-strum-0.21
+(define-public rust-strum-0.24
(package
(name "rust-strum")
- (version "0.21.0")
+ (version "0.24.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "strum" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1qnd2by1zrwgx7li0hmwy7jbzjwz1ky697qjg85nga8zzny6py5a"))))
+ (base32 "0gz6cjhlps5idwasznklxdh2zsas6mxf99vr0n27j876q12n0gh6"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
+ `(#:tests? #f ; Doc tests fail.
#:cargo-inputs
- (("rust-strum-macros" ,rust-strum-macros-0.21))))
+ (("rust-phf" ,rust-phf-0.10)
+ ("rust-strum-macros" ,rust-strum-macros-0.24))
+ #:cargo-development-inputs
+ (("rust-strum-macros" ,rust-strum-macros-0.24))))
(home-page "https://github.com/Peternator7/strum")
(synopsis "Set of traits for working with enums and strings")
(description
@@ -65051,6 +65194,23 @@ struct.")
easier in Rust.")
(license license:expat)))
+(define-public rust-strum-0.21
+ (package
+ (inherit rust-strum-0.24)
+ (name "rust-strum")
+ (version "0.21.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "strum" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1qnd2by1zrwgx7li0hmwy7jbzjwz1ky697qjg85nga8zzny6py5a"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-strum-macros" ,rust-strum-macros-0.21))))))
+
(define-public rust-strum-0.20
(package
(inherit rust-strum-0.21)
@@ -65102,31 +65262,53 @@ easier in Rust.")
`(#:cargo-inputs
(("rust-strum-macros" ,rust-strum-macros-0.18))))))
-(define-public rust-strum-macros-0.21
+(define-public rust-strum-macros-0.24
(package
(name "rust-strum-macros")
- (version "0.21.1")
+ (version "0.24.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "strum_macros" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1v55b1in7dn07s6vxr8dajqpvxkxjbfq6qamnjgcbnq9x3pawsnh"))))
+ (base32 "0naxz2y38kwq5wgirmia64vvf6qhwy8j367rw966n62gsbh5nf0y"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-heck" ,rust-heck-0.3)
+ `(#:cargo-inputs
+ (("rust-heck" ,rust-heck-0.4)
("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
- ("rust-syn" ,rust-syn-1))))
+ ("rust-rustversion" ,rust-rustversion-1)
+ ("rust-syn" ,rust-syn-1))
+ #:cargo-development-inputs
+ (("rust-strum" ,rust-strum-0.24))))
(home-page "https://github.com/Peternator7/strum")
(synopsis "Set of macros for working with enums and strings")
(description
"This crate provides helpful macros for working with enums and strings.")
(license license:expat)))
+(define-public rust-strum-macros-0.21
+ (package
+ (inherit rust-strum-macros-0.24)
+ (name "rust-strum-macros")
+ (version "0.21.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "strum_macros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1v55b1in7dn07s6vxr8dajqpvxkxjbfq6qamnjgcbnq9x3pawsnh"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-heck" ,rust-heck-0.3)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))))
+
(define-public rust-strum-macros-0.20
(package
(inherit rust-strum-macros-0.21)
@@ -66682,6 +66864,27 @@ memory all at once.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-target-2
+ (package
+ (name "rust-target")
+ (version "2.0.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "target" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0p5hi5vxcs8w95qmg9hsv985g8kaxjrzjlgsybmf4h13a1qjx1ds"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-development-inputs
+ (("rust-executable-path" ,rust-executable-path-1)
+ ("rust-pretty-assertions" ,rust-pretty-assertions-0.7))))
+ (home-page "https://github.com/casey/target")
+ (synopsis "Get information on compilation target")
+ (description "Get information on compilation target.")
+ (license license:cc0)))
+
(define-public rust-target-build-utils-0.3
(package
(name "rust-target-build-utils")
@@ -67524,6 +67727,26 @@ directories.")
"This package provides support for Linux-specific tempfile extensions.")
(license license:expat)))
+(define-public rust-temptree-0.2
+ (package
+ (name "rust-temptree")
+ (version "0.2.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "temptree" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0c461j4xrjp1mz89fb3rmv8w36m1dm1nymv9ny60hh0v4pc99nlg"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-tempfile" ,rust-tempfile-3))))
+ (home-page "https://github.com/casey/temptree")
+ (synopsis "Temporary trees of files")
+ (description "Temporary trees of files.")
+ (license license:cc0)))
+
(define-public rust-tendril-0.4
(package
(name "rust-tendril")