@@ -29414,30 +29414,6 @@ (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.2
- (package
- (name "rust-konst")
- (version "0.2.19")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "konst" version))
- (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)))
-
(define-public rust-human-format-1
(package
(name "rust-human-format")
@@ -33070,6 +33046,50 @@ (define-public rust-khronos-api-3
"The Khronos XML API Registry, exposed as byte string constants.")
(license license:asl2.0)))
+(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-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
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "konst" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1x3lxxk9vjaiiaabngv7ki2bv9xi36gnqzjzi0s8qfs8wq9hw3rk"))))
+ (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))))))
+
(define-public rust-konst-kernel-0.3
(package
(name "rust-konst-kernel")