Crates.io | typestate-builder |
lib.rs | typestate-builder |
version | |
source | src |
created_at | 2024-09-25 20:30:37.554007 |
updated_at | 2024-10-30 01:40:27.941519 |
description | Derive-macro-based generator that combines `Typestate` and `Builder` patterns. |
homepage | |
repository | https://github.com/aalowlevel/typestate-builder |
max_upload_size | |
id | 1386638 |
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` |
size | 0 |
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.
TypestateBuilder
is dual-licensed under the MIT and Apache 2.0 licenses. See the LICENSE-MIT and LICENSE-APACHE files for details.