-
Notifications
You must be signed in to change notification settings - Fork 85
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
Re-export imap-proto #216
base: main
Are you sure you want to change the base?
Re-export imap-proto #216
Conversation
So, this is a tough call — on the one hand, I'd like to disconnect |
We already re-export a few I would be curious to see the original problem and understand what exactly is not working or it too difficult. I think this problem happened because we do not re-export |
And yes, problems started with
|
@urkle Unfortunately that doesn't solve the problem. Our API stability would still be tied to that of the |
Currently you are re-exporting some pieces (in unsolicited_response). Another option is to look at separating from using imap-proto and using your own parser that you can maintain in lock-step with this crate. As it was rather cumbersome and annoying having to update the two crates just to get ACL support working. (and that that whole feature is now dependent on 2 different maintainers releasing updates) |
I don't think we actually need our own parser. Instead, the trick is to just wrap all the output types in newtype wrappers that we control. It's not pretty, and more than a little annoying, but the alternative of being tied to |
Hello,
While trying to parse and put
envelope
data into a database I had problems reachingimap-proto
types. Re-exportingimap-proto
fixed this problem, while addingimap-proto
to my project resulted in type conflicts.This change is