typestate-builder

Crates.iotypestate-builder
lib.rstypestate-builder
version
sourcesrc
created_at2024-09-25 20:30:37.554007
updated_at2024-10-30 01:40:27.941519
descriptionDerive-macro-based generator that combines `Typestate` and `Builder` patterns.
homepage
repositoryhttps://github.com/aalowlevel/typestate-builder
max_upload_size
id1386638
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Andy Allison (aalowlevel)

documentation

README

typestate-builder

TypestateBuilder is a Rust procedural macro that enables the creation of builder patterns using the typestate design pattern. This macro ensures that your structs are built in a way that enforces compile-time safety, ensuring that required fields are initialized before the struct is created.

For more informatiion, read the document.

License

TypestateBuilder is dual-licensed under the MIT and Apache 2.0 licenses. See the LICENSE-MIT and LICENSE-APACHE files for details.

Commit count: 146

cargo fmt