# 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 = "2018" name = "derive_builder" version = "0.20.2" authors = [ "Colin Kiegel ", "Pascal Hertleif ", "Jan-Erik Rediger ", "Ted Driggs ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Rust macro to automatically implement the builder pattern for arbitrary structs." documentation = "https://docs.rs/derive_builder/0.20.2" readme = "README.md" keywords = [ "derive", "macro", "builder", "setter", "struct", ] categories = [ "development-tools", "rust-patterns", ] license = "MIT OR Apache-2.0" repository = "https://github.com/colin-kiegel/rust-derive-builder" [lib] name = "derive_builder" path = "src/lib.rs" [[example]] name = "channel" path = "examples/channel.rs" [[example]] name = "custom_constructor" path = "examples/custom_constructor.rs" [[example]] name = "custom_defaults" path = "examples/custom_defaults.rs" [[example]] name = "custom_error" path = "examples/custom_error.rs" [[example]] name = "custom_error_generic" path = "examples/custom_error_generic.rs" [[example]] name = "deny_missing_docs" path = "examples/deny_missing_docs.rs" [[example]] name = "doc_example" path = "examples/doc_example.rs" [[example]] name = "readme_example" path = "examples/readme_example.rs" [[example]] name = "validation" path = "examples/validation.rs" [[test]] name = "bounds_generation" path = "tests/bounds_generation.rs" [[test]] name = "build_fn" path = "tests/build_fn.rs" [[test]] name = "builder_field_custom" path = "tests/builder_field_custom.rs" [[test]] name = "builder_name" path = "tests/builder_name.rs" [[test]] name = "compiletests" path = "tests/compiletests.rs" [[test]] name = "custom_constructor" path = "tests/custom_constructor.rs" [[test]] name = "custom_default" path = "tests/custom_default.rs" [[test]] name = "derive_trait" path = "tests/derive_trait.rs" [[test]] name = "forward_allow_attr" path = "tests/forward_allow_attr.rs" [[test]] name = "forward_serde_attrs" path = "tests/forward_serde_attrs.rs" [[test]] name = "generic_structs" path = "tests/generic_structs.rs" [[test]] name = "generic_with_default" path = "tests/generic_with_default.rs" [[test]] name = "lifetime" path = "tests/lifetime.rs" [[test]] name = "setter_custom" path = "tests/setter_custom.rs" [[test]] name = "setter_extend" path = "tests/setter_extend.rs" [[test]] name = "setter_into" path = "tests/setter_into.rs" [[test]] name = "setter_name" path = "tests/setter_name.rs" [[test]] name = "setter_pattern" path = "tests/setter_pattern.rs" [[test]] name = "setter_prefix" path = "tests/setter_prefix.rs" [[test]] name = "setter_strip_option" path = "tests/setter_strip_option.rs" [[test]] name = "setter_visibility" path = "tests/setter_visibility.rs" [[test]] name = "skip-setter" path = "tests/skip-setter.rs" [[test]] name = "try_setter" path = "tests/try_setter.rs" [[test]] name = "validation" path = "tests/validation.rs" [dependencies.derive_builder_macro] version = "=0.20.2" [dev-dependencies.rustversion] version = "1.0.4" [dev-dependencies.serde] version = "1" features = ["derive"] [dev-dependencies.serde_json] version = "1" [features] alloc = ["derive_builder_macro/alloc"] clippy = ["derive_builder_macro/clippy"] default = ["std"] std = ["derive_builder_macro/lib_has_std"] [target."cfg(compiletests)".dev-dependencies.trybuild] version = "1.0.38" [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(compiletests)"]