#[builder(build_method(vis="pub", name=build))] for customizing visibility and fn name of the final build method
(the default visibility is pub, and default build name is build)
0.10.0 - 2022-02-13
Added
#[builder(setter(strip_bool))] for making zero arguments setters for bool fields that just
set them to true (the default automatically becomes false)
Use unambiguous :: prefixed absolute paths in generated code.
0.9.0 - 2021-01-31
Added
Builder type implements Clone when all set fields support clone.
#[builder(setter(transform = ...))] attribute for running a transform on a
setter's argument to convert them to the field's type.
Fixed
Fix code generation for raw identifiers.
0.8.0 - 2020-12-06
Changed
Upgraded the Rust edition to 2018.
Added
#[field_defaults(...)] attribute for settings default attributes for all
the fields.
0.7.1 - 2020-11-20
Fixed
Fix lifetime bounds erroneously preserved in phantom generics.
0.7.0 - 2020-07-23
Added
Brought back default_code, because it needed to resolve conflict with other
custom derive proc-macro crates that try to parse [#builder(default = ...)]
attribute in order to decide if they are relevant to them - and fail because
the expect them to be simple literals.
0.6.0 - 2020-05-18
Added
Ability to use into and strip_option simultaneously for a field.
Changed
[BREAKING] Specifying skip twice in the same builder(setter(...)) is
no longer supported. Then again, if you were doing that you probably deserve
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on typed-builder to permit the latest version.
Changelog
Sourced from typed-builder's changelog.
... (truncated)
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)