@@ -21601,6 +21601,27 @@ (define-public rust-enumflags2-derive-0.6
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))))
+(define-public rust-enumn-0.1
+ (package
+ (name "rust-enumn")
+ (version "0.1.13")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "enumn" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0hnvrp440hwjfd4navbni2mhcjd63adxp8ryk6z3prw8d7yh1l3g"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-2))))
+ (home-page "https://github.com/dtolnay/enumn")
+ (synopsis "Convert number to enum")
+ (description "This package provides number to enum conversion.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-enumset-1
(package
(name "rust-enumset")