/builder_derive

A simple gaurded builder pattern generator

Primary LanguageRustMIT LicenseMIT

builder-derive

builder-derive provides two main macros, the builder and consumer macro, this crate mainly exists as a support crate for disarmv7 but could be used outside of that. For most cases there exist better alternatives such as derive_builder but that one requires unwraps which, in a builder should not be needed as the type system can gaurantee safe construction.

License

This repository is licensed under the MIT license and any contributions shall be licensed under the same license unless explicitly stated otherwise.