Skip to content

feat: Move rename_all behind a new display_rename_all feature - #562

Open
larseggert wants to merge 1 commit into
JelteF:masterfrom
larseggert:drop-convert-case
Open

feat: Move rename_all behind a new display_rename_all feature#562
larseggert wants to merge 1 commit into
JelteF:masterfrom
larseggert:drop-convert-case

Conversation

@larseggert

Copy link
Copy Markdown
Contributor

Related to #538

Synopsis

display pulls convert_case, hence unicode-segmentation, which some consumers
cannot vendor. It is only needed for the optional #[display(rename_all = "...")]
attribute.

Solution

Move rename_all behind a new display_rename_all feature, enabled by full.

Checklist

  • Documentation is updated (if required)
  • Tests are added/updated (if required)
  • CHANGELOG entry is added (if required)

`display` pulls `convert_case`, hence `unicode-segmentation`, which some consumers
cannot vendor. It is only needed for the optional `#[display(rename_all = "...")]`
attribute.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant