- Added
Deref<Target = T>
,DerefMut
,AsRef<T>
,AsMut<T>
,Borrow<T>
,BorrowMut<T>
implementations forLazy<T, Eval>
. - Added
unwrap()
method, which consumesLazy<T, Eval>
and extracts the evaluatedT
value. - Deprecated
value_ref()
andvalue_mut()
methods in favour of dereference operator*
,as_ref()
andas_mut()
methods. - Updated tests and documentation to reflect changes for 0.2.0 release.
- Added
CHANGELOG.md
.
- Moved unit-tests and
Lazy
struct implementation to separate files fromlib.rs
.
- Updated documentation.
- Added Cargo metadata (repository, keywords, categories, badges) to
Cargo.toml
as well as badges toREADME
.
- Added
Lazy<T, Eval>
struct, implementing lazily initialized values. - Added
README.md
andREADME.tpl
(for cargo readme) as well as description and license toCargo.toml
.