- 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 evaluatedTvalue. - 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
Lazystruct implementation to separate files fromlib.rs.
- Updated documentation.
- Added Cargo metadata (repository, keywords, categories, badges) to
Cargo.tomlas well as badges toREADME.
- Added
Lazy<T, Eval>struct, implementing lazily initialized values. - Added
README.mdandREADME.tpl(for cargo readme) as well as description and license toCargo.toml.