-
-
Notifications
You must be signed in to change notification settings - Fork 220
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
Recently merged GAT RFC has some relevance to the API design #88
Comments
I'm not doing anything until I can actually play with it. If we need to release a 2.0, then so be it. |
Okay, I'll close this. Let's see when the time is ripe :) |
Sorry if I was curt earlier, I was just waking up. :-) To be clearer, GAT could have an impact here, but it will take a bit I think before I'd be ready to let it into the public API. In particular, one the key advantages will be the existence of a streaming iterator abstraction, which will need to exist somewhere, and it most certainly won't start off life in |
Generic associated types landed just a little over week ago: rust-lang/rfcs#1598 They are still far away from stabilisation, but once they stabilise, they allow expressing the streaming iterator pattern as a trait. This crate also supports parsing in a streaming iterator style, using
read_record
andread_byte_record
. Should some precautions be taken for later adding a trait-based streaming iterator API, or can the API added in a non-breaking way after 1.0?The text was updated successfully, but these errors were encountered: