- Fixed a missing comma in parse struct
- Updated generated builder to take in required parameters in the constructor
- Parameters without a default no longer use
= None
when they are specified - Default values are now specified using
default_value
instead ofSome(default_value)
- Replace the
try!
macro with the?
operator
- Updated source code to adhere to Rustfmt defaults.
- Return
Result<T, &'static str>
from thebuild()
method instead ofResult<T, String>
- Return
Result<T, String>
from thebuild()
method - Return
Err(...)
when a parameter is not passed and there is no default value - Return
Err(...)
when an assertion fails
- Updated documentation
- Added automated generation of documentation to
gh-pages
, published at azriel.im/builder_macro - Added automated coverage report at coveralls.io
- Use rust_build in travis build
- Initial implementation which supports generating consuming and non-consuming builder variants
- Meta attributes are copied to generated struct