Skip to content
New issue

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

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

Already on GitHub? # to your account

Refactor Into Libraries and Executable #8

Open
1 of 2 tasks
indiv0 opened this issue Feb 25, 2015 · 5 comments
Open
1 of 2 tasks

Refactor Into Libraries and Executable #8

indiv0 opened this issue Feb 25, 2015 · 5 comments

Comments

@indiv0
Copy link
Collaborator

indiv0 commented Feb 25, 2015

I think that it might be beneficial to remove the non-IMAP specific parts to their own libraries to reduce code clutter and complexity.

Specifically, we should move the LMTP portion to it's own project, and possibly start an SMTP project (who's up for a full-Rust mail stack :D)?

Additionally, the common library stuff necessary for all parts the stack probably needs to be moved out (e.g. Message module and parsing, as it's relevant to all portions (I think..)).


  • MIME subcrate
  • Auth subcrate
  • LMTP subcrate
@indiv0
Copy link
Collaborator Author

indiv0 commented Mar 10, 2015

So some libraries I think we can pull out:

  • lmtp (the entire ltmp server)
  • message (the RFC2822 message implementation)

@uiri
Copy link
Owner

uiri commented Mar 10, 2015 via email

@indiv0
Copy link
Collaborator Author

indiv0 commented Mar 10, 2015

@uiri on second thought, yeah, you're right. I don't think decoupling LMTP is really beneficial in this case.

@indiv0
Copy link
Collaborator Author

indiv0 commented Mar 10, 2015

@uiri for the MIME/RFC2822 message library, will it be a separate repo or a sub-crate in this project?

Also, any more ideas for things to refactor?

@indiv0
Copy link
Collaborator Author

indiv0 commented Mar 11, 2015

We could also do something with Auth and User, perhaps move them to an authentication module, as they're inherently independent of the rest of the code?

@uiri uiri self-assigned this May 22, 2017
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants