rust-lazy-static
Macro for declaring lazily evaluated statics in Rust
This package provides a macro for declaring lazily evaluated statics in Rust. Using this macro, it is possible to have static
s that require code to be executed at runtime in order to be initialized. This includes anything requiring heap allocations, like vectors or hash maps, as well as anything that requires non-const function calls to be computed.
- Versions: 1.5.0 · 0.2.11 · 0.1.16
- Website: https://github.com/rust-lang-nursery/lazy-static.rs
- Licenses: ASL 2.0 · Expat
- Package source: gnu/packages/crates-io.scm
- Builds: See build status
- Issues: See known issues
Installation
Install the latest version of rust-lazy-static
as follows:
guix install rust-lazy-static
Or install a particular version:
guix install rust-lazy-static@0.1.16
You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell
documentation for more information.
Badge code
You can use the following badge to inform users of rust-lazy-static about the latest version available in Guix.
Example HTML:
<a href='https://packages.guix.gnu.org/packages/rust-lazy-static'><img src='https://packages.guix.gnu.org/packages/rust-lazy-static/badges/latest-version.svg' alt='Version in GNU Guix'></a>
Example Markdown:
[](https://packages.guix.gnu.org/packages/rust-lazy-static)
Example Org:
[[https://packages.guix.gnu.org/packages/rust-lazy-static][https://packages.guix.gnu.org/packages/rust-lazy-static/badges/latest-version.svg]]