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

Remove nightly features #66

Merged
merged 10 commits into from
Jul 10, 2023
Merged

Remove nightly features #66

merged 10 commits into from
Jul 10, 2023

Conversation

Thomasdezeeuw
Copy link
Owner

@Thomasdezeeuw Thomasdezeeuw commented May 3, 2023

Closes #63

TODO:

This adds a "nightly" feature which allows us to depend on nightly-only
features such as async_iter.

When this feature is not enable we no longer use the AsyncIterator trait
and instead expose a public poll_next function which holds the same
implementation and function signature. This allows A10 to be used on
stable Rust, but still support the AsyncIterator trait when the nightly
feature is enabled.
A nightly optimisation reduced the size of certain types. For now accept
both sizes.
@Thomasdezeeuw Thomasdezeeuw marked this pull request as ready for review July 10, 2023 10:54
@Thomasdezeeuw Thomasdezeeuw merged commit b706fb9 into main Jul 10, 2023
@Thomasdezeeuw Thomasdezeeuw deleted the rustc_stable branch July 10, 2023 10:55
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.

A10 on stable Rust
1 participant