Skip to content

Update edition to 2021 & specify optional dependency pathway unambiguously#35

Open
xacrimon wants to merge 3 commits into
djc:mainfrom
xacrimon:joel/rollup-misc
Open

Update edition to 2021 & specify optional dependency pathway unambiguously#35
xacrimon wants to merge 3 commits into
djc:mainfrom
xacrimon:joel/rollup-misc

Conversation

@xacrimon

@xacrimon xacrimon commented Apr 26, 2025

Copy link
Copy Markdown
Contributor

Couple of small "maintenance" things:

  • Update edition to 2021, no issues observed
  • Use the dep:crate syntax to specify the dependency on serde by the serde_impl feature
  • Remove two cases of what seems like do-nothing pub visibilities
  • As a little side-quest, removes #[inline] attributes on serialize and visit_seq in the ser/de implementations. These can already be inlined even without LTO cross-crate because they are generic. There is also little reason to explicitly hint these to encourage additional inlining without a reason grounded in data due to their nature.

@xacrimon xacrimon changed the title Update edition to 2021 and feature tags Update edition to 2021 & specify optional dependency pathway unambiogiously Apr 26, 2025
@xacrimon xacrimon changed the title Update edition to 2021 & specify optional dependency pathway unambiogiously Update edition to 2021 & specify optional dependency pathway unambiguously Apr 26, 2025
@xacrimon xacrimon marked this pull request as ready for review April 26, 2025 03:29

@djc djc left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, want to rebase?

@xacrimon

Copy link
Copy Markdown
Contributor Author

Yeah will do in a moment

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.

3 participants