Skip to content
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

Add full support for generics #11

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

sosthene-nitrokey
Copy link
Contributor

@sosthene-nitrokey sosthene-nitrokey commented Nov 27, 2023

This PR adds support for const generics and generic types, in addition to the current support for lifetime generics.

In testing the PR with serde-test, this also showed the underlying bug for #2 (the Token::Some failed to de-serialize), so this PR includes a fix.

Fix #9 and #2

This patch adds tests based on `serde_test`. These tests helped showcase
the bug that leads to trussed-dev#2
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.

Full generics support
1 participant