colin-kiegel / rust-derive-builder

derive builder implementation for rust structs
https://colin-kiegel.github.io/rust-derive-builder/
Apache License 2.0
1.32k stars 88 forks source link

Shrink derive_builder_core's public API #189

Closed TedDriggs closed 3 years ago

TedDriggs commented 3 years ago

The only crate to depend on derive_builder_core is derive_builder. While it's useful that derive_builder_core is able to export more than the derive function in the future, shrinking the API surface to be only the one function now means that adding builder features won't force semver bumps due to changes in the public-facing intermediate structs.

Because the structs are no longer public, doc-tests for those structs no longer compile. These are now ignored.