This crate provides the TypestateBuilder derive macro for generating a
typestate-pattern builder for structs.
Typestate Pattern
The typestate pattern helps ensure that a struct is initialized in steps, enforcing that certain fields must be set before others. This prevents the creation of incomplete structs and provides compile-time safety for field initialization.
Example usage:
let person = builder
.name
.age
.email
.build;