No more worrying whether the build call on your builder will return Ok or not. Maybe you forgot to set a field? typesafe-builders solves this by using the Rust type-system to ensure correct usage.
Example
How does it work?
Const generic one-hot bitfields. What you get is similar to this:
// The build function is only available once all fields are set:
TODOS
- Code quality is horrible 🙈
- Add optional truly fields.