derive-builder requires `unwrap()` and does runtime checks. There's a few popular crates that use type state, e.g.: - https://lib.rs/crates/typed-builder - https://lib.rs/crates/bon I don't have experience with either, but I definitely don't like the pervasive requirement for `unwrap()` we have here.
derive-builder requires
unwrap()and does runtime checks. There's a few popular crates that use type state, e.g.:I don't have experience with either, but I definitely don't like the pervasive requirement for
unwrap()we have here.