@@ -36377,8 +36377,39 @@ (define-public rust-koibumi-base32-0.0.2
(description "This package provides a Base32 encoder/decoder library.")
(license license:gpl3+)))
+(define-public rust-konst-0.3
+ (package
+ (name "rust-konst")
+ (version "0.3.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "konst" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1c7xjlryaac1j6ib30lq2hyi8g2zrdl17xjwia6ly9yl9662lwcd"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags `("--release" "--all-targets" "--"
+ "--skip=string::priv_string_tests::invalid_both"
+ "--skip=string::priv_string_tests::invalid_end"
+ "--skip=string::priv_string_tests::invalid_start")
+ #:cargo-inputs (("rust-const-panic" ,rust-const-panic-0.2)
+ ("rust-konst-kernel" ,rust-konst-kernel-0.3)
+ ("rust-konst-proc-macros" ,rust-konst-proc-macros-0.3)
+ ("rust-trybuild" ,rust-trybuild-1)
+ ("rust-typewit" ,rust-typewit-1))
+ #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8))))
+ (home-page "https://github.com/rodrimati1992/konst/")
+ (synopsis "Const std functions, compile-time comparison and parsing")
+ (description
+ "This package provides Const equivalents of std functions, compile-
+time comparison, and parsing.")
+ (license license:zlib)))
+
(define-public rust-konst-0.2
(package
+ (inherit rust-konst-0.3)
(name "rust-konst")
(version "0.2.19")
(source
@@ -36388,18 +36419,11 @@ (define-public rust-konst-0.2
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1x3lxxk9vjaiiaabngv7ki2bv9xi36gnqzjzi0s8qfs8wq9hw3rk"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-konst-macro-rules" ,rust-konst-macro-rules-0.2)
("rust-konst-proc-macros" ,rust-konst-proc-macros-0.2)
("rust-trybuild" ,rust-trybuild-1))
- #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8))))
- (home-page "https://github.com/rodrimati1992/konst/")
- (synopsis
- "Const equivalents of std functions, compile-time comparison, and parsing")
- (description
- "Const equivalents of std functions, compile-time comparison, and parsing.")
- (license license:zlib)))
+ #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8))))))
(define-public rust-konst-kernel-0.3
(package