# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "former" version = "2.11.0" authors = [ "Kostiantyn Wandalen ", "Dmytro Kryvoruchko ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = """ A flexible implementation of the Builder pattern supporting nested builders and collection-specific subformers. """ homepage = "https://github.com/Wandalen/wTools/tree/master/module/core/former" documentation = "https://docs.rs/former" readme = "Readme.md" keywords = [ "fundamental", "general-purpose", "builder-pattern", ] categories = [ "algorithms", "development-tools", ] license = "MIT" repository = "https://github.com/Wandalen/wTools/tree/master/module/core/former" [package.metadata.docs.rs] all-features = false features = ["full"] [lib] name = "former" path = "src/lib.rs" [[example]] name = "former_collection_hashmap" path = "examples/former_collection_hashmap.rs" [[example]] name = "former_collection_hashset" path = "examples/former_collection_hashset.rs" [[example]] name = "former_collection_vector" path = "examples/former_collection_vector.rs" [[example]] name = "former_component_from" path = "examples/former_component_from.rs" [[example]] name = "former_custom_collection" path = "examples/former_custom_collection.rs" [[example]] name = "former_custom_defaults" path = "examples/former_custom_defaults.rs" [[example]] name = "former_custom_definition" path = "examples/former_custom_definition.rs" [[example]] name = "former_custom_mutator" path = "examples/former_custom_mutator.rs" [[example]] name = "former_custom_scalar_setter" path = "examples/former_custom_scalar_setter.rs" [[example]] name = "former_custom_setter" path = "examples/former_custom_setter.rs" [[example]] name = "former_custom_setter_overriden" path = "examples/former_custom_setter_overriden.rs" [[example]] name = "former_custom_subform_collection" path = "examples/former_custom_subform_collection.rs" [[example]] name = "former_custom_subform_entry" path = "examples/former_custom_subform_entry.rs" [[example]] name = "former_custom_subform_entry2" path = "examples/former_custom_subform_entry2.rs" [[example]] name = "former_custom_subform_scalar" path = "examples/former_custom_subform_scalar.rs" [[example]] name = "former_debug" path = "examples/former_debug.rs" [[example]] name = "former_many_fields" path = "examples/former_many_fields.rs" [[example]] name = "former_trivial" path = "examples/former_trivial.rs" [[example]] name = "former_trivial_expaned" path = "examples/former_trivial_expaned.rs" [[test]] name = "experimental" path = "tests/experimental.rs" [[test]] name = "smoke_test" path = "tests/smoke_test.rs" [[test]] name = "tests" path = "tests/tests.rs" [dependencies.former_meta] version = "~2.11.0" default-features = false [dependencies.former_types] version = "~2.12.0" default-features = false [dev-dependencies.collection_tools] version = "~0.15.0" features = ["collection_constructors"] default-features = false [features] default = [ "enabled", "derive_former", "derive_components", "derive_component_from", "derive_component_assign", "derive_components_assign", "derive_from_components", "types_former", "types_component_assign", ] derive_component_assign = [ "former_meta/derive_component_assign", "types_component_assign", ] derive_component_from = ["former_meta/derive_component_from"] derive_components = [ "former_meta/derive_components", "derive_component_assign", "derive_components_assign", "derive_component_from", "derive_from_components", ] derive_components_assign = [ "derive_component_assign", "former_meta/derive_components_assign", ] derive_former = [ "former_meta/derive_former", "types_former", ] derive_from_components = ["former_meta/derive_from_components"] enabled = [ "former_meta/enabled", "former_types/enabled", ] full = ["default"] no_std = [ "former_types/no_std", "collection_tools/no_std", ] types_component_assign = ["former_types/types_component_assign"] types_former = ["former_types/types_former"] use_alloc = [ "no_std", "former_types/use_alloc", "collection_tools/use_alloc", ] [lints.clippy] absolute_paths = "allow" inline_always = "allow" module_name_repetitions = "allow" pedantic = "warn" restriction = "warn" single_call_fn = "allow" std_instead_of_alloc = "warn" std_instead_of_core = "warn" undocumented_unsafe_blocks = "deny" [lints.rust] future_incompatible = "deny" missing_debug_implementations = "warn" missing_docs = "warn" rust_2018_idioms = "deny" unsafe-code = "warn"