Toggle diff (168 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b5ce2047a9..250a60fb82 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14167,10 +14167,10 @@ (define-public rust-daemonize-0.4
(description "Daemonize is a Rust library for writing system deaemons.")
(license (list license:expat license:asl2.0))))
-(define-public rust-darling-0.12
+(define-public rust-darling-0.13
(package
(name "rust-darling")
- (version "0.12.4")
+ (version "0.13.1")
(source
(origin
(method url-fetch)
@@ -14178,13 +14178,17 @@ (define-public rust-darling-0.12
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0g4bkxpwl6i5jav5qqzny39yd5a1fdlh5l0mj020njza6ksl6b2z"))))
+ (base32 "1x7pgzjswg28798zd5gk5g6nifhcaqq0apqmclydi39zd2w21myh"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-darling-core" ,rust-darling-core-0.12)
- ("rust-darling-macro" ,rust-darling-macro-0.12))))
+ (("rust-darling-core" ,rust-darling-core-0.13)
+ ("rust-darling-macro" ,rust-darling-macro-0.13))
+ #: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/TedDriggs/darling")
(synopsis "Proc-macro library for reading attributes in custom derives")
(description
@@ -14192,6 +14196,30 @@ (define-public rust-darling-0.12
into structs when implementing custom derives.")
(license license:expat)))
+(define-public rust-darling-0.12
+ (package
+ (inherit rust-darling-0.13)
+ (name "rust-darling")
+ (version "0.12.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "darling" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0g4bkxpwl6i5jav5qqzny39yd5a1fdlh5l0mj020njza6ksl6b2z"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-darling-core" ,rust-darling-core-0.12)
+ ("rust-darling-macro" ,rust-darling-macro-0.12))
+ #:cargo-development-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))))
+
(define-public rust-darling-0.10
(package
(inherit rust-darling-0.12)
@@ -14239,17 +14267,17 @@ (define-public rust-darling-0.9
("rust-quote" ,rust-quote-0.6)
("rust-syn" ,rust-syn-0.15))))))
-(define-public rust-darling-core-0.12
+(define-public rust-darling-core-0.13
(package
(name "rust-darling-core")
- (version "0.12.4")
+ (version "0.13.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "darling_core" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0dpscl87s75h6yhrmzdsapx86lc4y16m554xg4hiq2l3hrdlb4cf"))))
+ (base32 "0933k2avb6xk9j4ryr0bvp3pww5j8i0nrqvsnkgd3vic3lj0yd3s"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -14267,6 +14295,19 @@ (define-public rust-darling-core-0.12
reading attributes into structs when implementing custom derives.")
(license license:expat)))
+(define-public rust-darling-core-0.12
+ (package
+ (inherit rust-darling-core-0.13)
+ (name "rust-darling-core")
+ (version "0.12.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "darling_core" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0dpscl87s75h6yhrmzdsapx86lc4y16m554xg4hiq2l3hrdlb4cf"))))))
+
(define-public rust-darling-core-0.10
(package
(inherit rust-darling-core-0.12)
@@ -14314,8 +14355,34 @@ (define-public rust-darling-core-0.9
("rust-strsim" ,rust-strsim-0.7)
("rust-syn" ,rust-syn-0.15))))))
+(define-public rust-darling-macro-0.13
+ (package
+ (name "rust-darling-macro")
+ (version "0.13.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "darling_macro" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0jzljnd0y7idi5lb7lhvymh3nkhaf32ksx0d38hv7zjjfcxipi3j"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-darling-core" ,rust-darling-core-0.13)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://github.com/TedDriggs/darling")
+ (synopsis "Helper crate for @code{rust-darling}")
+ (description
+ "Internal support for @code{rust-darling}, a proc-macro library for
+reading attributes into structs when implementing custom derives.")
+ (license license:expat)))
+
(define-public rust-darling-macro-0.12
(package
+ (inherit rust-darling-macro-0.13)
(name "rust-darling-macro")
(version "0.12.4")
(source
@@ -14325,19 +14392,12 @@ (define-public rust-darling-macro-0.12
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0nn9mxl7gs827rx5s6lbjvvghipxjdg2qpdjyxk7yym3vvqard99"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-darling-core" ,rust-darling-core-0.12)
("rust-quote" ,rust-quote-1)
- ("rust-syn" ,rust-syn-1))))
- (home-page "https://github.com/TedDriggs/darling")
- (synopsis "Helper crate for @code{rust-darling}")
- (description
- "Internal support for @code{rust-darling}, a proc-macro library for
-reading attributes into structs when implementing custom derives.")
- (license license:expat)))
+ ("rust-syn" ,rust-syn-1))))))
(define-public rust-darling-macro-0.10
(package
--
2.34.0