[package] name = "derive_builder" version = "0.20.2" authors = [ "Colin Kiegel ", "Pascal Hertleif ", "Jan-Erik Rediger ", "Ted Driggs ", ] edition = "2018" description = "Rust macro to automatically implement the builder pattern for arbitrary structs." repository = "https://github.com/colin-kiegel/rust-derive-builder" documentation = "https://docs.rs/derive_builder/0.20.2" license = "MIT OR Apache-2.0" categories = ["development-tools", "rust-patterns"] keywords = ["derive", "macro", "builder", "setter", "struct"] readme = "README.md" [features] default = ["std"] std = ["derive_builder_macro/lib_has_std"] clippy = ["derive_builder_macro/clippy"] alloc = ["derive_builder_macro/alloc"] [dependencies] derive_builder_macro = { version = "=0.20.2", path = "../derive_builder_macro" } [dev-dependencies] rustversion = "1.0.4" serde = { version = "1", features = ["derive"] } serde_json = "1" [target.'cfg(compiletests)'.dev-dependencies] trybuild = "1.0.38" [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(compiletests)'] }