[dependencies.proc-macro2]
version = "1.0"
[dependencies.quote]
version = "1.0"
[dependencies.syn]
features = ["full", "extra-traits"]
version = "2.0"
[dev-dependencies.proptest]
version = "1.4"
[dev-dependencies.serde]
features = ["derive"]
version = "1.0"
[dev-dependencies.trybuild]
version = "1.0"
[[example]]
name = "api_test"
path = "examples/api_test.rs"
[[example]]
name = "basic_usage"
path = "examples/basic_usage.rs"
[[example]]
name = "converter_demo"
path = "examples/converter_demo.rs"
[[example]]
name = "custom_defaults"
path = "examples/custom_defaults.rs"
[[example]]
name = "generics"
path = "examples/generics.rs"
[[example]]
name = "impl_into_demo"
path = "examples/impl_into_demo.rs"
[[example]]
name = "option_ergonomics"
path = "examples/option_ergonomics.rs"
[[example]]
name = "optional_only"
path = "examples/optional_only.rs"
[features]
default = []
ui-tests = []
[lib]
name = "type_state_builder"
path = "src/lib.rs"
proc-macro = true
[package]
authors = ["Arthur Welf (welf)"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["development-tools", "rust-patterns"]
description = "Type-state builder pattern derive macro with compile-time safety and enhanced ergonomics."
documentation = "https://docs.rs/type-state-builder"
edition = "2021"
homepage = "https://github.com/welf/type-state-builder"
keywords = ["builder", "type-state", "macro", "procedural", "derive"]
license = "MIT OR Apache-2.0"
name = "type-state-builder"
readme = "README.md"
repository = "https://github.com/welf/type-state-builder"
rust-version = "1.70.0"
version = "0.5.0"
[[test]]
name = "associated_type_test"
path = "tests/associated_type_test.rs"
[[test]]
name = "basic_functionality"
path = "tests/basic_functionality.rs"
[[test]]
name = "complex_generics_integration"
path = "tests/complex_generics_integration.rs"
[[test]]
name = "comprehensive_edge_cases"
path = "tests/comprehensive_edge_cases.rs"
[[test]]
name = "const_builder_test"
path = "tests/const_builder_test.rs"
[[test]]
name = "converter_comprehensive"
path = "tests/converter_comprehensive.rs"
[[test]]
name = "converter_generics_bounds"
path = "tests/converter_generics_bounds.rs"
[[test]]
name = "custom_setter_functions"
path = "tests/custom_setter_functions.rs"
[[test]]
name = "debug_const_test"
path = "tests/debug_const_test.rs"
[[test]]
name = "debug_field_name"
path = "tests/debug_field_name.rs"
[[test]]
name = "debug_generic_associated_types"
path = "tests/debug_generic_associated_types.rs"
[[test]]
name = "debug_minimal_generic"
path = "tests/debug_minimal_generic.rs"
[[test]]
name = "debug_raw_identifier"
path = "tests/debug_raw_identifier.rs"
[[test]]
name = "debug_struct_without_derive"
path = "tests/debug_struct_without_derive.rs"
[[test]]
name = "doctest_debug"
path = "tests/doctest_debug.rs"
[[test]]
name = "error_conditions_and_boundaries"
path = "tests/error_conditions_and_boundaries.rs"
[[test]]
name = "final_verification"
path = "tests/final_verification.rs"
[[test]]
name = "generic_bounds_test"
path = "tests/generic_bounds_test.rs"
[[test]]
name = "generic_parameter_tests"
path = "tests/generic_parameter_tests.rs"
[[test]]
name = "impl_into_integration"
path = "tests/impl_into_integration.rs"
[[test]]
name = "minimal_const_test"
path = "tests/minimal_const_test.rs"
[[test]]
name = "minimal_test"
path = "tests/minimal_test.rs"
[[test]]
name = "no_derive_generic_test"
path = "tests/no_derive_generic_test.rs"
[[test]]
name = "phantom_data_comprehensive"
path = "tests/phantom_data_comprehensive.rs"
[[test]]
name = "progressive_assoc_test"
path = "tests/progressive_assoc_test.rs"
[[test]]
name = "real_world_scenarios"
path = "tests/real_world_scenarios.rs"
[[test]]
name = "setter_prefix_integration"
path = "tests/setter_prefix_integration.rs"
[[test]]
name = "simple_custom_setter"
path = "tests/simple_custom_setter.rs"
[[test]]
name = "simple_generic_fix"
path = "tests/simple_generic_fix.rs"
[[test]]
name = "standalone_generic_test"
path = "tests/standalone_generic_test.rs"
[[test]]
name = "test_basic_generics_refactored"
path = "tests/test_basic_generics_refactored.rs"
[[test]]
name = "test_clean_options_no_generics"
path = "tests/test_clean_options_no_generics.rs"
[[test]]
name = "test_concrete_builder"
path = "tests/test_concrete_builder.rs"
[[test]]
name = "test_custom_build_method"
path = "tests/test_custom_build_method.rs"
[[test]]
name = "test_elided_lifetimes"
path = "tests/test_elided_lifetimes.rs"
[[test]]
name = "test_fix_verification"
path = "tests/test_fix_verification.rs"
[[test]]
name = "test_mixed_options"
path = "tests/test_mixed_options.rs"
[[test]]
name = "test_multiple_required"
path = "tests/test_multiple_required.rs"
[[test]]
name = "test_no_generics_simple"
path = "tests/test_no_generics_simple.rs"
[[test]]
name = "test_phantom_data_conflicts"
path = "tests/test_phantom_data_conflicts.rs"
[[test]]
name = "test_phantom_data_simple"
path = "tests/test_phantom_data_simple.rs"
[[test]]
name = "test_raw_identifiers"
path = "tests/test_raw_identifiers.rs"
[[test]]
name = "test_simple_generic"
path = "tests/test_simple_generic.rs"
[[test]]
name = "test_simple_generic_concrete"
path = "tests/test_simple_generic_concrete.rs"
[[test]]
name = "test_simple_lifetime_concrete"
path = "tests/test_simple_lifetime_concrete.rs"
[[test]]
name = "test_simple_no_generics"
path = "tests/test_simple_no_generics.rs"
[[test]]
name = "type_name_improvement"
path = "tests/type_name_improvement.rs"
[[test]]
name = "ui_tests"
path = "tests/ui_tests.rs"
[[test]]
name = "valid_attribute_combinations"
path = "tests/valid_attribute_combinations.rs"
[[test]]
name = "validation_demo"
path = "tests/validation_demo.rs"
[[test]]
name = "validation_integration"
path = "tests/validation_integration.rs"
[[test]]
name = "visibility_inheritance"
path = "tests/visibility_inheritance.rs"
[[test]]
name = "visibility_integration_test"
path = "tests/visibility_integration_test.rs"
[[test]]
name = "where_clause_test"
path = "tests/where_clause_test.rs"
[[test]]
name = "working_test"
path = "tests/working_test.rs"