gnu: Add rust-const-fn-0.4.

* gnu/packages/crates-io.scm (rust-const-fn-0.4): New variable.
This commit is contained in:
Arun Isaac 2020-09-16 19:45:33 +05:30
parent 5457e76963
commit 1739de9a10
No known key found for this signature in database
GPG key ID: 2E25EE8B61802BB3

View file

@ -3812,6 +3812,25 @@ (define-public rust-console-log-0.1
the browser's console.")
(license (list license:expat license:asl2.0))))
(define-public rust-const-fn-0.4
(package
(name "rust-const-fn")
(version "0.4.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "const-fn" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1wnhzyrhfcaawnzi172k98cfawwi5zwqql7pg0nz2qlccm6dz46f"))))
(build-system cargo-build-system)
(home-page "https://github.com/taiki-e/const_fn")
(synopsis "Generate const functions with conditional compilations")
(description "This package provides an attribute for easy generation of
const functions with conditional compilations.")
(license (list license:asl2.0 license:expat))))
(define-public rust-constant-time-eq-0.1
(package
(name "rust-constant-time-eq")