Crates.io | tokio-imap |
lib.rs | tokio-imap |
version | 0.5.0 |
source | src |
created_at | 2017-06-10 19:55:16.035147 |
updated_at | 2020-01-03 21:16:03.369255 |
description | Tokio-based IMAP protocol (client, for now) implementation |
homepage | https://github.com/djc/tokio-imap |
repository | https://github.com/djc/tokio-imap |
max_upload_size | |
id | 18456 |
size | 49,916 |
All feedback welcome. Feel free to file bugs, requests for documentation and any other feedback to the issue tracker or tweet me.
tokio-imap and imap-proto were created by and are maintained by Dirkjan Ochtman. If you are in a position to support ongoing maintenance and further development or use it in a for-profit context, please consider supporting my open source work on Patreon.
A Tokio stack-based, fully asynchronous IMAP library, with strong focus on following the relevant specs, mainly IMAP4rev1, but with limited support for the Conditional STORE extension. The type system is used to help enforce correctness where possible. So far, there is only client code and lots of infrastructure that supposedly could be shared -- no server yet. (If you want a tokio-based server, look at IMAPServer.)
Have a look at the mailsync crate for example usage.
imap-proto is a low-level IMAP protocol support crate, using the type system to provide a safe API. It was extracted from tokio-imap into a separate crate so that different protocol implementations can share it as common infrastructure (as proposed by rust-imap contributors). The code tries to closely follow the IMAP4rev1 RFC, plus extensions.
Protocol support is implemented in three parts: