Skip to content

refactor: Lifetimes for token types #120

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jun 20, 2023
Merged

Conversation

prestwich
Copy link
Member

Motivation

Prevent multiple copies of data in the data -> token -> encoding and decoding -> token -> data flows

Solution

Start introducing token lifetimes to allow tokens to borrow data from decoder or fro rust types

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@prestwich prestwich added the enhancement New feature or request label Jun 19, 2023
@prestwich prestwich self-assigned this Jun 19, 2023
@prestwich prestwich changed the title [WIP] refactor preview: Lifetimes for token types refactor: Lifetimes for token types Jun 19, 2023
@prestwich prestwich marked this pull request as ready for review June 19, 2023 21:51
@prestwich prestwich requested a review from DaniPopes as a code owner June 19, 2023 21:51
@prestwich prestwich mentioned this pull request Jun 20, 2023
3 tasks
@prestwich prestwich force-pushed the prestwich/token-lifetimes branch from 7eaffcb to 080e0d8 Compare June 20, 2023 15:45
@prestwich prestwich enabled auto-merge (squash) June 20, 2023 18:20
@prestwich prestwich merged commit d480d99 into main Jun 20, 2023
@DaniPopes DaniPopes deleted the prestwich/token-lifetimes branch June 20, 2023 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants