Skip to content

Add v3-preview module gathering a few breaking changes#105

Merged
ia0 merged 1 commit intomainfrom
v3-preview
May 5, 2024
Merged

Add v3-preview module gathering a few breaking changes#105
ia0 merged 1 commit intomainfrom
v3-preview

Conversation

@ia0
Copy link
Owner

@ia0 ia0 commented May 5, 2024

This new module addresses the following breaking changes of #72:

  • static instead of const for pre-defined encodings
  • Private Encoding implementation with unsafe constructor
  • Use MaybeUninit internally and expose _uninit functions
  • Use static dispatch instead of dynamic dispatch (fixing Encoding::encode_mut is very code-size heavy  #97)

This new module addresses the following breaking changes of #72:
- `static` instead of `const` for pre-defined encodings
- Private `Encoding` implementation with `unsafe` constructor
- Use `MaybeUninit` internally and expose `_uninit` functions
- Use static dispatch instead of dynamic dispatch (fixing #97)
@ia0 ia0 added this to the v3.0.0 milestone May 5, 2024
@ia0 ia0 merged commit 2591b46 into main May 5, 2024
@ia0 ia0 deleted the v3-preview branch May 5, 2024 14:46
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